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 crash when activating a script

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

Joined: 02 Aug 2016
Posts: 80

PostPosted: Fri Dec 01, 2017 7:39 pm    Post subject: Game crash when activating a script Reply with quote

When activating any one of my scripts that inject/alter regularly run game code, this particular game tends to crash. I attached ollydbg and the exception is "illegal opcode", and it occurred on a nop that was created by the CE script.

what can I do to avoid this? It hasn't proved to be a problem in any other games I've worked with. It seems that CE edits the game's code while the CPU is executing it. I tried to use affinity to prevent that from happening, but all that achieved was lagging the game.

_________________
Er, hi
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Fri Dec 01, 2017 8:31 pm    Post subject: Reply with quote

that happened to me while ago, just same exact thing but without crashing.

and i did find from olly its illegal opcode, also from ce itself when i jump to my script its totally different from what i scripted.

so sometime CE acts like a d*ck but what i usually do when this happen is:

- delete the script thats causing this issue.
- open a new ce window, and copy the other working scripts to that new window and save them AS a different name.
- delete old CT
- fully shutdown my pc (with switching power off, dont ask me why i just do it this way when i want to restart)
- when you reboot again just open the game and ce REmake/create that script and everything should be fine.

note that sometimes it automatically works after spamming space-bar on the script, but still that doesnt make sense to me even the things i do copy-paste the scripts reboot blahblahblah .. all this doesnt make sense to me.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
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 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