View previous topic :: View next topic |
Author |
Message |
engineer_professor Newbie cheater Reputation: 0
Joined: 31 Jan 2013 Posts: 10
|
Posted: Mon Mar 04, 2013 8:52 am Post subject: How to STOP my script? |
|
|
There seems to be no way to stop a lua script such as the one below.
Any idea how to stop this from running? I can't see any command input or something to send object_destroy(t1)
I have this script:
Code: | function writeif255(sender)
if readInteger("00001121")~=255 then
writeInteger("00001121", readInteger("00001773" ))
end
end
t=createTimer(nil, true)
timer_onTimer(t, writeif255)
timer_setInterval(t, 100) --check every 100 milliseconds
-- object_destroy(t1) |
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25289 Location: The netherlands
|
Posted: Mon Mar 04, 2013 10:53 am Post subject: |
|
|
At any time you can call object_destroy(t) as long as t has not been redefined
_________________
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 |
|
|
engineer_professor Newbie cheater Reputation: 0
Joined: 31 Jan 2013 Posts: 10
|
Posted: Sun Mar 10, 2013 3:11 pm Post subject: |
|
|
But where to type? I cannot see any box that will accept the command.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25289 Location: The netherlands
|
Posted: Sun Mar 10, 2013 3:32 pm Post subject: |
|
|
In the lua engine window
ctrl+alt+shift+l
or memoryview->tools->lua engine
Or you could create a form with a button and in there an onclick event with that code
_________________
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 |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sun Mar 10, 2013 5:30 pm Post subject: Re: How to STOP my script? |
|
|
Code: | function writeif255(sender)
print('test')
end
t=createTimer(nil, false)
timer_onTimer(t, writeif255)
timer_setInterval(t, 100)
createHotkey(function () timer_setEnabled(t,true) end, VK_F3)
createHotkey(function () timer_setEnabled(t,false) end, VK_F4) |
F3 - enable
F4 - disable
_________________
|
|
Back to top |
|
|
satanrules666 Advanced Cheater Reputation: 0
Joined: 31 Oct 2010 Posts: 70 Location: New Zealand
|
Posted: Thu Sep 01, 2016 11:27 am Post subject: |
|
|
OP
There is a workaround that I just used before.
Open cheat table
Lua pops up being annoying
file - generate generic trainer lua script from table
There is already a trainer form defined. should pop up click OK
Design Userinterface Manually
select the timer in the componets list and press delete
I just did this before
_________________
|
|
Back to top |
|
|
|