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 


How do I call some code i have the address for?

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

Joined: 28 Nov 2008
Posts: 4

PostPosted: Wed Dec 03, 2008 9:46 pm    Post subject: How do I call some code i have the address for? Reply with quote

Say I found the address for some code that updates some value how can I call this code within my C++ program. So say when I press a hotkey it will update the value.
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Wed Dec 03, 2008 10:17 pm    Post subject: Reply with quote

I'm assuming that this is in another module. (People tend to misuse words nowadays, you're never safe.)

You must be inside that module and then all you do is...

Code:
(push parameters if needed)
call Address

_________________
Back to top
View user's profile Send private message
AlbanainRetard
Master Cheater
Reputation: 0

Joined: 02 Nov 2008
Posts: 494
Location: Canada eh?

PostPosted: Wed Dec 03, 2008 10:18 pm    Post subject: Reply with quote

Trying not to spoon feed. But what the heck:

1. Make an address with char array like : char MyPoint[27] = "\x0\xy"
and so on make sure it is in a good place, hey even make a class for it.

2. Make an offest with the DWORD structure like : Dword MyOffset = 0x208C
So now we have the offset, pointer and then the value on wich to revert:
Dword TheOffset;

3. Now either have a bool or int value to show the status of the setting so:
bool TheStatus = false;

4. Now after bypassing the gamegaurd shiz, make the dword TheOffest to
it's current value like. Then have a function to check bool and Value and set
to the appropriate value.

5. Tada now remember kids hairy woman are smexy.

_________________
Back to top
View user's profile Send private message Send e-mail
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