Valhalla Legends Forums Archive | Visual Basic Programming | ***ReadProcessMemory, Dynamic Memory.

AuthorMessageTime
phvckmeh
Alright so lets make this simple. Ive created a program that will read a certain byte from a certain program. The problem is, everytime this program opens, the adress where i find that value changes. How do i ReadProccessMemory a dynamic value?
August 20, 2004, 7:50 AM
Adron
[quote author=phvckmeh link=board=31;threadid=8257;start=0#msg76393 date=1092988244]
Alright so lets make this simple. Ive created a program that will read a certain byte from a certain program. The problem is, everytime this program opens, the adress where i find that value changes. How do i ReadProccessMemory a dynamic value?
[/quote]

You find out where the game keeps track of where the value is and ReadProcessMemory that first.
August 20, 2004, 4:37 PM
phvckmeh
Alright, i used Tsearch to find the value, lets say the adress was
0412412

would i then search for that value? because i did and i got nothing
August 20, 2004, 6:04 PM
Adron
[quote author=phvckmeh link=board=31;threadid=8257;start=0#msg76420 date=1093025084]
Alright, i used Tsearch to find the value, lets say the adress was
0412412

would i then search for that value? because i did and i got nothing
[/quote]

The most productive way would probably be to set an access breakpoint on it, find out where it's used from and then reverse-engineer that code. You could also just search for "random" offsets from that address (particularly nice round ones such as 412410).
August 20, 2004, 11:04 PM

Search