Valhalla Legends Forums Archive | General Programming | Getting player names and IP from Warcraft 3's Memory.

AuthorMessageTime
kinz
Using OllyDBG or ArtMoney i can search Warcraft 3's memory for a known IP or username, i see its stored in some sort of structure which includes id, username, ip and port.

How do i search for it without knowing anyone's IP or username, there has to be some sort of reference or something?
February 29, 2008, 1:05 PM
iago
Find it once with a known username, set a breakpoint when it's read (or written), that'll give you a starting point.

Hope I helped! :)
February 29, 2008, 2:41 PM
BreW
kinz: the username seems to be statically stored.
[code]
.text:190299B7                push    10h
.text:190299B9                push    offset byte_19044C78
.text:190299BE                lea    ecx, [ebp+var_10]
.text:190299C1                push    ecx
.text:190299C2                call    SStrNCpy
[/code]
Hmmmm... looks like your answer is 19044C78!
February 29, 2008, 8:23 PM
kinz
Ah thanks guys, looks like i have more to learn with the debugging. Ill try to see how you got to that bit of coding brew.
March 1, 2008, 12:40 AM
kinz
I take back my post
March 1, 2008, 7:00 AM

Search