View previous topic :: View next topic |
Author |
Message |
NoThankYou How do I cheat?
Reputation: 0
Joined: 16 Aug 2012 Posts: 4
|
Posted: Thu Aug 16, 2012 7:04 am Post subject: How To Stop Error Messages From Popping Up? |
|
|
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 |
|
 |
NoThankYou How do I cheat?
Reputation: 0
Joined: 16 Aug 2012 Posts: 4
|
Posted: Mon Aug 20, 2012 3:31 pm Post subject: |
|
|
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 |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Mon Aug 20, 2012 3:33 pm Post subject: |
|
|
What the error says?
|
|
Back to top |
|
 |
NoThankYou How do I cheat?
Reputation: 0
Joined: 16 Aug 2012 Posts: 4
|
Posted: Wed Aug 22, 2012 7:10 am Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Wed Aug 22, 2012 7:32 am Post subject: |
|
|
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 |
|
 |
|