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 To Stop Error Messages From Popping Up?

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

Joined: 16 Aug 2012
Posts: 4

PostPosted: Thu Aug 16, 2012 7:04 am    Post subject: How To Stop Error Messages From Popping Up? Reply with quote

Hey guys,

New to Cheat Engine, so pardon me if the solution is obvious. I couldn't find anything in the settings.

Basically, my problem is that I'm running a cheat. In this instance it's making all energy in Deus Ex regenerate. So the problem is that whenever the script is not working, I receive an error message. Which keeps updating every 3 seconds or so. The nature of the error messages is that it is automatically selected, rather than staying in the background. So when I try to go back in the game, it simply jumps back to show me the error message, again and again. Since this cheat only works in-game, it gives me an error when I load a previous game, switch locations and a few other occasions as well. Naturally this error would go away once the loading is complete, and I can simply continue the game. But with it popping up each time, I have to close the entire process, let the game load and then go back to start it up again.

It's rather annoying, and this would easily be fixed if I could stop my computer from jumping to the error message. Is there any way to keep the error messages in the background and not prioritize them?

Thanks.
Back to top
View user's profile Send private message
NoThankYou
How do I cheat?
Reputation: 0

Joined: 16 Aug 2012
Posts: 4

PostPosted: Mon Aug 20, 2012 3:31 pm    Post subject: Reply with quote

Anyone? I just need to know how to stop the error messages from taking control and pulling me out of the game. Basically it automatically alt-tabs me to the error while I'd rather continue playing, as there's nothing wrong with the game itself.
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Mon Aug 20, 2012 3:33 pm    Post subject: Reply with quote

What the error says?
Back to top
View user's profile Send private message Visit poster's website
NoThankYou
How do I cheat?
Reputation: 0

Joined: 16 Aug 2012
Posts: 4

PostPosted: Wed Aug 22, 2012 7:10 am    Post subject: Reply with quote

The error says: Error:[string "local batteries = 3;..."]:10: attempt to perform arithmetic on local 'energy' (a nil value)

But it's not about the error, the error is supposed to be there. As the cheat is not supposed to work during loading screens, so it gives an error saying it's not working. That is fine with me. My problem is that receiving an error makes you automatically alt-tab to the error which is every 1 second until I close down the cheat. I want to deprive Cheat Engine from having the power to change windows and take me out of a running game to point out the error to me.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Aug 22, 2012 7:32 am    Post subject: Reply with quote

easiest method is to add at line 10 a "if energy~=nil then..." statement so that the code only runs when energy has been defined

Alternatively, hook the window focus api in ce and change it so it doesn't set focus anymore.

I do recommend the first solution though

_________________
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 -> Cheat Engine 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