Well, ... what its best way to find the player id that is used in some skill functions?
thanks :)
thanks :)
for your character or the target?Quote:
Well, ... what its best way to find the player id that is used in some skill functions?
thanks :)
Memory Based:
Assuming you can find the hero base ptr, the offest from there to the character's unique id is 180 or 0xB4, so you would get it by reading [herobaseptr + 0xB4]
Packet Based:
for target character:You could get this from the [Only registered and activated users can see links. Click Here To Register...]
Memory Based:
Again, assuming you can find the mob list in memory, the offset is still the same. This being said, to access it you would read [rolebaseptr + 0xB4]
Packet Based:
For here, you can read the uid from the [Only registered and activated users can see links. Click Here To Register...]
you'll have to decrypt them which, unless you were reading the packets from when the client first logged on and got the key, is practically impossible. Better bet for that unless you want to code a full proxy is to go memory based. There's a couple of guides around, and also the sirhooks v0.1 source is public to look at. Only thing I can't get to work is the mob list :/ I kludged together a mostly working method, but it leaves some mobs out unfortunately :/Quote:
Oh, these packets that u mentioned... if i just read from a pack sniffer.. will i get all the information that i need ? or i have to decrypt it or something like that..
im trying to do something like a pool of all informations of characters into the screen, in c++.