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 crashes when values are changed outside game's scope

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

Joined: 04 Aug 2012
Posts: 17
Location: E.T.A.-Hoffmann-Str. 54, 82418 Seehausen am Staffelsee

PostPosted: Wed Aug 15, 2012 4:02 am    Post subject: Game crashes when values are changed outside game's scope Reply with quote

I am using c# and MemoryAPI.cs to access values in Memory. Changing values out of the actual game, when you are browsing menus, causes the game to crash.

How do you write the trainer to only be activated when the game is actually running?

Attached is health over time running the app(all values between -200 and +200. Would you use that?



ges.jpg
 Description:
 Filesize:  108.94 KB
 Viewed:  3991 Time(s)

ges.jpg


Back to top
View user's profile Send private message AIM Address MSN Messenger
Studio80
Advanced Cheater
Reputation: 2

Joined: 12 Sep 2012
Posts: 83

PostPosted: Fri Sep 14, 2012 10:41 am    Post subject: Reply with quote

You need to analyze the code live. What I mean is, you need to debug your code and see what actually is happening when you enable the option. This is how I debug my trainers:

1. Run game.
2. Open game in CE.
3. Go to the memory viewer and go to the address that runs you code.
4. Enable the option and see if its getting changed like you have coded.

I hope you get the idea of what I'm trying to explain to you, I have used this method many times when my code injections failed. At some point you'll notice you have written a wrong OP code or something like that. Give it a try!
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