Page 1 of 1

Auto restarting bot after error?

Posted: Tue Dec 07, 2010 1:32 pm
by ezgitaran
Hello,
Is it possible to restart bot after an error like "Error reading memory in CPawn:update()" ?
Also, I would like to pick up my tombstone after death. I searched for tombstone ID's but couldn't found the answer, might anyone have that info? =)

And little bit contribution; auto resurrection seems to be working anywhere except DoD (easy) ;) Bot calls function pauseOnDeath() if you die in DoD. I modified pauseOnDeath() function and added RoMScript("BrithRevive();"); under <onDeath> section to workaround for this problem, just wanted to share.

Thanks in advance, and sorry for my bad english :>

Re: Auto restarting bot after error?

Posted: Tue Dec 07, 2010 6:24 pm
by rock5
I don't know much about the onDeath code but it looks like it pauses if if failed to resurrect.

It's supposed to try "UseSelfRevive() and "BrithRevive()" then pause if they fail. I'm not sure why it then works in pauseAfterDeath.