how to find offsets perfect world?

03/17/2011 09:58 Aduhn32#1
I had been doing a lot of looking for offsets, with cheat engine but it was only for '4-byte 'as the nominal HP and MP and I am not able to' text '.

at that time I'm trying to find offsets for the target name. I select 'Find out what writes this address', and I found one source, but it has nothing to offset it. like this:

006f737f - 66 89 18 - mov [eax],bx

I am not familiar with it.
please let me know how to find offsets for 'text', because I will make a perfect world bot.
thanks!
03/17/2011 10:47 Sᴡoosh#2
There is no target name. You need to get target ID, and loop through mob struct until you found the ID your looking for. Then get Name through offset + 0 redirector. This will point ya to unicode stting (careful, 2 bytes).
03/17/2011 10:59 Aduhn32#3
Quote:
Originally Posted by 2981611 View Post
There is no target name. You need to get target ID, and loop through mob struct until you found the ID your looking for. Then get Name through offset + 0 redirector. This will point ya to unicode stting (careful, 2 bytes).
I've got the offset of the target (this 'A18') and I use to get the ID target, but I'm not familiar with the 'loop'.
what is a loop?
03/17/2011 11:12 Interest07#4
A loop is a repeated series of actions, usually differing slightly each iteration.

In this example you 'loop' through the list of mobs as in:

for(int i = 0; i < listSize; i++)
{
if(mob[i].id == idYoureLookingFor)
{
msgbox(mob[i].name);
}
}

}

Meaning you start at i = 0, you look at the mob in position 0 in the mob list
You check whether his id is the one youre looking for
if it is, you do something with his name
then you increase i by 1
look at the mob at position 1 of the list
etc etc.