Quote:
Originally Posted by hantuman
hi there,
if i start the bot, and stop it.. next i go somewhere teleporting.. and when i back to my hunting location and start the bot.. it just finding target.. like no monster around me..
please help if anyone can solve this issue.. thx
|
I don't really like looking at ProphetBot code because the way it's coded hurts my eyes lol. Especially with the crappy AutoIt IDE it's just a pain in the arse to analyse.
However... It sounds to me like possibly a lower level pointer is not being resolved for every read. For example, sometimes when you teleport, big chunks of local game memory get changed, so inevitably some pointers end up pointing somewhere else.
Say for example you have an offset chain of:
[[[[[[[baseCall]+0x1C]+0x18]+0x8]+0x468]+0x0C]0xB0]
and you try to save some processing time by reading a value at
[[[baseCall]+0x1C]+0x18]0x08] which, lets say for arguments sake gives an address of 0x1C1205F4 - If you then use that value for all successive reads but just append the last few offsets, when the game moves stuff around, that pointer might change to something like 0x24ABCDE0, thus breaking the offset chain and pointing you at some random value.
We all know the PW client devours RAM like a bitch and on occasion I've witnessed it alter some fairly low level addresses.
When you read values, ideally you should always iterate directly from the static base address every time.
Yeah, it doesn't look very efficient but it's the most reliable way to go.