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 


Pointer with Module Name

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Shishka
How do I cheat?
Reputation: 0

Joined: 18 Aug 2012
Posts: 4

PostPosted: Tue Oct 01, 2013 3:04 pm    Post subject: Pointer with Module Name Reply with quote

Ok so I have a game with a multi level pointer.

So far this is what I have:

15388020 + C
1674F090 + F0
"Thegame.exe" + 10854AC

I know ""Thegame.exe" + 10854AC" is the start of the class I want to pull data from because when I reverse other things it comes back to that just with different C and F0 offsets.

However I am having a really hard time, trying to figure out what in the world the address of "Thegame.exe" is. Because in order to get that info with game restarts, I need to be able to find out what that is.

Any advice would be awesome, thanks guys

Edit:

DWORD Address = (DWORD) GetModuleHandle("theGame.exe");

thats what I am currently doing, however it returns a different addy than CE.

Edit:

[Solved]

I had thought the Base Addy of the program was static but ti turns out it was not, after I correctly printed it out as hex and compared it in CE everything checked out.
Back to top
View user's profile Send private message
steebchen
How do I cheat?
Reputation: 0

Joined: 06 Dec 2013
Posts: 5

PostPosted: Fri Dec 06, 2013 6:18 pm    Post subject: Reply with quote

Do you just have the line

DWORD Address = (DWORD) GetModuleHandle("theGame.exe");

?
I have an error with visual basic..
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Dec 08, 2013 1:12 pm    Post subject: Reply with quote

steebchen wrote:
Do you just have the line

DWORD Address = (DWORD) GetModuleHandle("theGame.exe");

?
I have an error with visual basic..


You are getting errors because that is not Visual Basic code. This is C++.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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