View previous topic :: View next topic |
Author |
Message |
chandest Newbie cheater Reputation: 0
Joined: 27 Feb 2013 Posts: 17
|
Posted: Thu Apr 25, 2013 3:09 am Post subject: Adjust CE's speedhack automatic |
|
|
Hi guys.
I'm in need of a script which will adjust the CE speedhack of a program every 10th minute or so.
Would somebody with knowledge to lua be able to hint me in the right direction?
Regards!
_________________
The king is dead. Long live the king! |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Thu Apr 25, 2013 3:20 am Post subject: |
|
|
use a timer and speedhack_setSpeed
This example sets a new speed every 10 minutes. First 2.0, then 3.0, 2.0, 1.0 and then 2.0 again
Code: |
speeds={}
speeds[0]=2.0
speeds[1]=3.0
speeds[2]=2.0
speeds[3]=1.0
speedselect=1
function setNewSpeed()
speedhack_setSpeed(speeds[speedselect])
speedselect=(speedselect+1) % 4
end
t=createTimer(nil)
timer_onTimer(t, setNewSpeed)
timer_setInterval(t, 10*60*1000) --10 minutes
timer_setEnabled(t, true);
|
_________________
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 |
|
|
chandest Newbie cheater Reputation: 0
Joined: 27 Feb 2013 Posts: 17
|
|
Back to top |
|
|
Remember How do I cheat? Reputation: 0
Joined: 03 Apr 2015 Posts: 4
|
Posted: Fri Apr 03, 2015 2:04 pm Post subject: speedhack |
|
|
if I want to set it on only 60 seconds without activating setNewSpeed that at x0 the process ends at 60sec and returns to x10
|
|
Back to top |
|
|
alanze Advanced Cheater Reputation: 3
Joined: 03 Oct 2012 Posts: 50
|
Posted: Mon Apr 06, 2015 7:43 am Post subject: Re: speedhack |
|
|
Remember wrote: | if I want to set it on only 60 seconds without activating setNewSpeed that at x0 the process ends at 60sec and returns to x10 |
This code will set the speed to 20, then after 1 minute will set to 1:
Code: |
function resetSpeed()
if (t) then
-- t.Enabled=false
t.Destroy()
t=nil
end
speedhack_setSpeed(1) -- set speed to 1
end
t=createTimer(nil, false)
t.onTimer=resetSpeed
t.Interval=60000 -- 1 minute
speedhack_setSpeed(20) -- set speed to 20
t.Enabled=true -- after 1 minute start "resetSpeed()"
|
|
|
Back to top |
|
|
Remember How do I cheat? Reputation: 0
Joined: 03 Apr 2015 Posts: 4
|
Posted: Mon Apr 13, 2015 5:07 pm Post subject: Re: speedhack |
|
|
Thanks alanze
|
|
Back to top |
|
|
grooup How do I cheat? Reputation: 0
Joined: 18 Apr 2015 Posts: 1
|
Posted: Sat Apr 18, 2015 6:52 am Post subject: |
|
|
Hi guys,
I have questions :
Is it possible to load / open another CT file use a button function in main trainer already made?.. Any examples ?
_________________
dolii |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sat Apr 18, 2015 7:33 am Post subject: |
|
|
Quote: |
loadTable(filename, merge OPTIONAL): Loads a .ct or .cetrainer. If merge is provided and set to true it will not clear the old table
|
_________________
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 |
|
|
|