Page 1 of 1

PK death

Posted: Mon Apr 27, 2009 1:34 am
by CrazyGuy
If you die due to pk death the bot just hangs after you die. Any way to add the check to see if you are dead outside of combat?

Re: PK death

Posted: Mon Apr 27, 2009 10:36 am
by Rajinn
CrazyGuy wrote:If you die due to pk death the bot just hangs after you die. Any way to add the check to see if you are dead outside of combat?
i dont experience this issue...

Re: PK death

Posted: Mon Apr 27, 2009 2:08 pm
by CrazyGuy
Odd, maybe ill have to go over my settings again.

Re: PK death

Posted: Tue May 26, 2009 3:03 pm
by aasi888
I'm also having the same issue.

Re: PK death

Posted: Tue May 26, 2009 10:23 pm
by Administrator
Go to classes/player.lua, line 595. You'll see this line of code near there:

Code: Select all

	CPawn.update(self); -- run base function
Directly under that, add this:

Code: Select all

	printf("Alive Check: %d\n", memoryReadByte(getProc(), self.Address + charAlive_offset));
Now, the next time this happens, report what the "Alive Check" is reported to be.