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 


Help stopping LUA Engine during an error within a timer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
pursuited357
Cheater
Reputation: 0

Joined: 23 Sep 2020
Posts: 26

PostPosted: Wed Sep 23, 2020 4:46 am    Post subject: Help stopping LUA Engine during an error within a timer Reply with quote

Every now and then I have a timer which of course is a continuous thing and if lets say the game closes, obviously CE LUA Engine will have a never ending error.

How can I stop that script and get back to editing my "Trainer"?

I know there are a few ways, but whats the most proficient?

Possibly see if its still attached to w/e and if not, kill the timer?

Not sure...
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Wed Sep 23, 2020 5:00 am    Post subject: Reply with quote

You can uncheck "show on print" in the view menu item.
Or better, avoid doing any action if there is no valid process

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Wed Sep 23, 2020 5:27 am    Post subject: Reply with quote

Or you can add this script at very top your script.

Code:
getLuaEngine().cbShowOnPrint.Checked=false
getLuaEngine().hide()

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
pursuited357
Cheater
Reputation: 0

Joined: 23 Sep 2020
Posts: 26

PostPosted: Wed Sep 23, 2020 6:16 am    Post subject: Reply with quote

Corroder wrote:
Or you can add this script at very top your script.

Code:
getLuaEngine().cbShowOnPrint.Checked=false
getLuaEngine().hide()


Thx a bunch!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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