Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Getting the static addr from a pointer scanner result

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
ThatBenderGuy
Newbie cheater
Reputation: 0

Joined: 28 Aug 2013
Posts: 24

PostPosted: Mon Sep 16, 2013 11:11 pm    Post subject: Getting the static addr from a pointer scanner result Reply with quote

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!
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Mon Sep 16, 2013 11:37 pm    Post subject: Reply with quote

http://forum.cheatengine.org/viewtopic.php?t=537193
_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
ThatBenderGuy
Newbie cheater
Reputation: 0

Joined: 28 Aug 2013
Posts: 24

PostPosted: Mon Sep 16, 2013 11:56 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Tue Sep 17, 2013 4:51 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites