Posted: Mon Sep 16, 2013 11:11 pm Post subject: Getting the static addr from a pointer scanner result
I need some help with this one guys, I got the correct pointers for my game (meaning I can close the game and reopen it and use that address/pointers to guarantee be able to edit the value)
But I was trying to add it to a trainer in C# but here's the problem.
The hex converter needs an address but this is my address:
"Cube.exe"+0036B1C8
(Pointers: 16c, 39c)
and I tried just putting 0036B1C8 as the address in C# with the pointers but alas I don't get the desired results. How do I get the static address from the address with "Cube.exe" in it? Do I need to do another "See what accesses this pointer" search or what? I'm baffled as of right now
EDIT:
Also in CE adding the addr 0036B1C8 (pointers:16c, 39c) also returns the wrong number. I really need to find how to access the true static address _________________
Fine! I'll go build my own lunar lander, with blackjack and hookers. In fact, forget the lunar lander and the blackjack. Ahh, screw the whole thing!
Thank you very much! I just used the code Krähne gave as an example and added a add function and threw it into a little mini app so I can always easily get the base address plus whatever value I needed to be added to it to get the correct address.
EDIT:
Just derped, realized that the base address of the program changes with each launch so I added to my code to get the base address of the program if it exists then add it to what I need it to then convert it to a hex string
EDIT:EDIT:
What if it cheat engine points to a dll? Would I still be able to just get the base address of the process then add as usual? _________________
Fine! I'll go build my own lunar lander, with blackjack and hookers. In fact, forget the lunar lander and the blackjack. Ahh, screw the whole thing!
Joined: 12 Dec 2012 Posts: 340 Location: Somewhere....
Posted: Tue Sep 17, 2013 4:51 am Post subject:
ThatBenderGuy wrote:
What if it cheat engine points to a dll? Would I still be able to just get the base address of the process then add as usual?
Yes, but this time you need the base of that DLL (and NOT the .exe file), either use LoadLibraryA function with the dll name, or GetModuleHandleA (if the DLL is already loaded in process), the returned value is the DLL's base.
Another way is to use CreateToolhelp32Snapshot, with Module32First and Module32Next to search for the dll in the same process.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum