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 


Non-dynamic(green) address changes? [C++]

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

Joined: 25 Jun 2012
Posts: 10

PostPosted: Mon Jun 25, 2012 11:15 am    Post subject: Non-dynamic(green) address changes? [C++] Reply with quote

Hello I have been making a CS:S bunnyhoping external program for over a day now, I've failed many times, but after some experimentation I got it working, and it works great. Anyway, I got the address of which specifies if your character is onground or not, it's a green address, shouldn't change right?(That's what I think) Anyway, restarted the game - doesn't work, go to cheat engine, select hl2.exe again, and the address changes.

Okay, so by that time I try to see what pointers access the address. So, I add the addresses manually with all the offsets and stuff, and the value of those is "??". And here I am now, stuck again

In the code I use

Code:

DWORD onGroundBaseValue = 0x574925A4; //changes
ReadProcessMemory(hProcessHandle,(LPCVOID)onGroundBaseValue, &onGroundValue, sizeof(onGroundBaseValue),0);


Any ideas on how to make it work without finding out the address each time? Thanks.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Jun 25, 2012 1:19 pm    Post subject: Reply with quote

Use the modulename+offset method to get the base address, not tbe hexadecimal only method
_________________
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
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