does anyone knows the best way finding hero id

04/06/2010 05:45 gmfdp#1
Well, ... what its best way to find the player id that is used in some skill functions?

thanks :)
04/06/2010 06:08 DarkMessiah#2
Quote:
Originally Posted by gmfdp View Post
Well, ... what its best way to find the player id that is used in some skill functions?

thanks :)
for your character or the target?

for your character:
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:
You could get this from the [Only registered and activated users can see links. Click Here To Register...]
for target character:
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...]
04/06/2010 15:14 gmfdp#3
wow :)
i'll try out this things :D

ty deserves a thanks haha

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++.
04/06/2010 15:49 DarkMessiah#4
Quote:
Originally Posted by gmfdp View Post
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++.
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 :/
04/06/2010 16:12 gmfdp#5
i'll check it out then
ty :)
04/06/2010 19:27 SaM.ThE.MaN#6
could ya give me the source for sir hooks v 0.1 ,i mean the link
04/06/2010 21:34 DarkMessiah#7
Quote:
Originally Posted by SaM.ThE.MaN View Post
could ya give me the source for sir hooks v 0.1 ,i mean the link
no because if i link to other sites while trying to help people, some douchebag will report me as "spamming advertisements" and i will receive an infraction.
04/07/2010 09:13 SaM.ThE.MaN#8
oh k sorry,
which forum , codexplosion?(If it is tell me and ill just go look 4 it)
04/07/2010 12:30 Warlax#9
Quote:
Originally Posted by SaM.ThE.MaN View Post
oh k sorry,
which forum , codexplosion?(If it is tell me and ill just go look 4 it)
yea its codex, but think u need non leecher status now to see it, altho im not sure