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 


I need to stop this createTimer()

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Thu Oct 01, 2020 12:13 am    Post subject: Reply with quote

Why I am feel ever seen this post before?
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 37

Joined: 16 Feb 2017
Posts: 1528

PostPosted: Thu Oct 01, 2020 1:21 am    Post subject: Reply with quote

Again, you asked this question in the wrong section.
Please return to the topic in the link.
https://forum.cheatengine.org/viewtopic.php?t=615385
-----------------------------------------

Creating more than one "Timer" with the same name.
Use the example below;
Code:
--Timer 1
if AutoT1 then AutoT1.Destroy() end
AutoT1=createTimer()
AutoT1.Interval=350000
AutoT1.Enabled=false -- true

--Timer 2
if AutoT2 then AutoT2.Destroy() end
AutoT2=createTimer()
AutoT2.Interval=350000
AutoT2.Enabled=false -- true


Code:
AutoT1 = createTimer()
AutoT1.Interval = 350000
AutoT1.Enabled=true --or false

AutoT1.OnTimer = function()
VIP = ("[Conquer.exe+BEAFBC]+644")
writeInteger(VIP,0)
-- UDF1.CEToggleBox5.checked=false --If you use this; When the code is active, "Timer" will be closed automatically.
end

UDF1.CEToggleBox5.OnChange=function ()
if AutoT1.Enabled==true then
AutoT1.Enabled=false
showMessage("The timer has been stopped.")
-- UDF1.CEToggleBox5.caption="START"
else
AutoT1.Enabled=true
showMessage("The timer has been started.")
-- UDF1.CEToggleBox5.caption="STOP"
end
end


For questions, use the relevant section on the link;

https://forum.cheatengine.org/viewforum.php?f=126

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
EsmailGoda
Newbie cheater
Reputation: 0

Joined: 25 Sep 2020
Posts: 18

PostPosted: Fri Oct 02, 2020 6:44 pm    Post subject: Reply with quote

sorry
So, I'm new to the blog
And I don't understand some things Here
When I posted the previous topic
I have not received any notifications
So I thought it was deleted
And you published it again
Very sorry for that
But there is something wrong
I am not receiving any notifications
When someone responds To the comments Sad
Back to top
View user's profile Send private message Send e-mail
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