AbstractGameKeep - Reset Function (Patch)

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

AbstractGameKeep - Reset Function (Patch)

Postby Romain54 » Wed Jul 06, 2011 11:29 pm

Issue : AbstractGameKeep - Reset Function

Issue Author : Romain54
Issue Review : Horizon(hibernos)
Issue Fix: Horizon(hibernos)


Problem :
When we use /keep realm [id] , that's reload everything , but not the Lord .

Problem reviewed :
When we use Reset function directly, function not reload GuardLord NPCtemplate.
GuardLord NPCtemplate is only reloaded when he call StartRespawnTimer .

Comment :
Added a IsAlive check to prevent double TemplateNPC reload .
Attachments
KeepResetPatch.patch
(629 Bytes) Downloaded 24 times
Last edited by Romain54 on Sat Jul 09, 2011 7:47 pm, edited 1 time in total.
Image
Romain54
Contributor
 
Posts: 148
Joined: Sun Mar 13, 2011 2:01 am

Re: AbstractGameKeep - Reset Function (Patch)

Postby Etaew » Thu Jul 07, 2011 8:52 am

Ah an interesting solution to this problem, I never intended for the keep realm to be changed with that command, it may have been added after I wrote it. During development if I wanted to change the realm of the keep, I would /player realm myself to the appropriate realm and then /mob kill the lord.

But this seems fine, thanks.
Retired DOL Enthusiast | Blog
User avatar
Etaew
Inactive Staff Member
 
Posts: 7602
Joined: Mon Oct 13, 2003 5:04 pm
Website: http://etaew.net
Location: England

Re: AbstractGameKeep - Reset Function (Patch)

Postby geshi » Thu Jul 07, 2011 12:55 pm

Yeah, thanks Romain, this will help a lot when I do A/D event on Faith :mrgreen:
geshi
Contributor
 
Posts: 1826
Joined: Tue Oct 21, 2008 9:16 pm

Re: AbstractGameKeep - Reset Function (Patch)

Postby Graveen » Thu Jul 07, 2011 11:56 pm

Accepted, thank you, soon in SVN !
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: AbstractGameKeep - Reset Function (Patch)

Postby Graveen » Thu Jul 07, 2011 11:57 pm

Myrddin is registered on the portal ?
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: AbstractGameKeep - Reset Function (Patch)

Postby Horizon » Fri Jul 08, 2011 5:50 am

Myrddin is registered on the portal ?
Registered , not showed :)
For the moment :)
Myrddin - Developper Staff 14/88
Horizon
Contributor
 
Posts: 235
Joined: Fri Mar 25, 2011 7:22 am
Location: Somewhere in DolCore


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest