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 


Game region always changing but pointers staying the same

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
shakib187
Expert Cheater
Reputation: 0

Joined: 24 May 2007
Posts: 215

PostPosted: Sun Aug 25, 2013 5:35 pm    Post subject: Game region always changing but pointers staying the same Reply with quote

"Game.exe"+03A69F6C always the same and lead to the pointer but when I use search and go the address on the memory viewer(cltr+g and ctrl + C), its different on restart, could it be an invalid pointer?
Back to top
View user's profile Send private message
661089799107
Expert Cheater
Reputation: 3

Joined: 25 Jan 2009
Posts: 186

PostPosted: Sun Aug 25, 2013 5:49 pm    Post subject: Reply with quote

Not sure exactly what you mean. The address is the same, but the opcodes aren't? Is the page that the address is on executable?
Back to top
View user's profile Send private message
shakib187
Expert Cheater
Reputation: 0

Joined: 24 May 2007
Posts: 215

PostPosted: Sun Aug 25, 2013 6:16 pm    Post subject: Reply with quote

When you use a pointerscan, you get an address like "Game.exe"+03A69F6C , if you copy and paste that address in the memory viewer it takes you to the memory with opcodes, that address always changes on restart of comp or game if I just use "Game.exe"+03A69F6C it will take me to the correct memory but different from the previous address

How can I check if its on executable
Back to top
View user's profile Send private message
661089799107
Expert Cheater
Reputation: 3

Joined: 25 Jan 2009
Posts: 186

PostPosted: Sun Aug 25, 2013 6:19 pm    Post subject: Reply with quote

That is completely normal than. Modules aren't always loaded at the same address. Which is why you use the base address of the module, and than an offset.
Back to top
View user's profile Send private message
shakib187
Expert Cheater
Reputation: 0

Joined: 24 May 2007
Posts: 215

PostPosted: Sun Aug 25, 2013 6:38 pm    Post subject: Reply with quote

I'm a little confused here, I thought it would always be the same, so I cant use pointerscan then? and have to find the base address manually?

Better question if I cant use the address found in the module, how do I get that address to write on c++ because I cant use "Game.exe"+03A69F6C on writeprocessmemory/readprocessmemory

usually I can just the address on "Game.exe"+03A69F6C and it will always be the same no matter what
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25831
Location: The netherlands

PostPosted: Sun Aug 25, 2013 6:56 pm    Post subject: Reply with quote

Use toolhelp32snapshot and module32first/module32next to get the base address of game.exe
then add to that address 03a69f6c to get the address

then continue from there

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
shakib187
Expert Cheater
Reputation: 0

Joined: 24 May 2007
Posts: 215

PostPosted: Sun Aug 25, 2013 7:46 pm    Post subject: Reply with quote

Dark Byte saving my ass again, thanks bro
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