Page 1 of 1

Bot not targeting mobs that it should be

Posted: Tue May 29, 2012 10:15 am
by Hedon
With the latest patch I've noticed that the target selection is very fickle. I've noticed the bot skip over several targets that it shouldn't have- and didn't before this latest patch. Did something change in the table where the object list is? Some of the objects were invisible at times to the bot when I was doing dumps of CObjectList to sample what was around me. I saw one other recent comment about someone who wasn't able to target the boss in his waypoint as well.

Re: Bot not targeting mobs that it should be

Posted: Tue May 29, 2012 10:29 am
by rock5
I'm not aware of any change. If you can see the object then it should be in the object table. I don't see how it can't be.

Wait a sec. I seem to remember something funny happened with the address "staticTableSize". That's the size of the object table in memory. Yep I remembered correctly. Whereas most of the other addresses changed by 0x10, that address only changed by 4. At the time I tested it and it seemed to work but it's possible it's the wrong address and if it returns the wrong number it means it will read the wrong number of objects. That might be why objects are missing.

I'll look into it.

Re: Bot not targeting mobs that it should be

Posted: Tue May 29, 2012 12:17 pm
by Hedon
After more debugging it appears I was wrong. I needed to adjust my minimum level in the profile... :oops:

Re: Bot not targeting mobs that it should be

Posted: Tue May 29, 2012 12:35 pm
by rock5
No problem. At least you figured it out yourself. Well done.