View previous topic :: View next topic |
Author |
Message |
!BEWARE! !BEWARE! Deletes post on answer Reputation: 0
Joined: 26 Jun 2013 Posts: 56 Location: !BEWARE!
|
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Mon Dec 19, 2022 7:37 am Post subject: |
|
|
Maybe set delayBetweenActivate in hotkeys? so it won't toggle when holded
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
!BEWARE! !BEWARE! Deletes post on answer Reputation: 0
Joined: 26 Jun 2013 Posts: 56 Location: !BEWARE!
|
Posted: Wed Dec 21, 2022 1:33 pm Post subject: |
|
|
Sometimes its stuck. Still working but cant disable it by numeric_8
Frouk wrote: | Maybe set delayBetweenActivate in hotkeys? so it won't toggle when holded |
If you can implement it into script, sure.
_________________
!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE! |
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Thu Dec 22, 2022 1:16 pm Post subject: |
|
|
!BEWARE! wrote: | Sometimes its stuck. Still working but cant disable it by numeric_8
Frouk wrote: | Maybe set delayBetweenActivate in hotkeys? so it won't toggle when holded |
If you can implement it into script, sure. | '
can you write that script that was?
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
!BEWARE! !BEWARE! Deletes post on answer Reputation: 0
Joined: 26 Jun 2013 Posts: 56 Location: !BEWARE!
|
Posted: Thu Dec 22, 2022 2:26 pm Post subject: |
|
|
This one:
Code: | if cycleTimer then cycleTimer.Destroy() cycleTimer=nil end
cycleTimer=createTimer() cycleTimer.Interval=500 cycleTimer.Enabled=false
myAddress = "0x701527F8" --your address! ?
function checkValue9()
myValue = math.floor(readFloat(myAddress))
if myValue == 31 then
writeFloat(myAddress,60)
--else
--print(math.floor(readFloat(myAddress)))
end
end
function checkValue7()
myValue = math.floor(readFloat(myAddress))
if myValue == 1 then
writeFloat(myAddress,60)
--else
--print(math.floor(readFloat(myAddress)))
end
end
if ExitKey7 then ExitKey7.Destroy() ExitKey7=nil end
if ExitKey8 then ExitKey8.Destroy() ExitKey8=nil end
if ExitKey9 then ExitKey9.Destroy() ExitKey9=nil end
ExitKey7 = createHotkey((function()
sleep(500)
cycleTimer.Enabled=false
cycleTimer.OnTimer = checkValue7
cycleTimer.Enabled=true
end),VK_PRIOR)
ExitKey9 = createHotkey((function()
sleep(500)
cycleTimer.Enabled=false
cycleTimer.OnTimer = checkValue9
cycleTimer.Enabled=true
end),VK_END)
ExitKey8 = createHotkey((function()
sleep(500)
cycleTimer.Enabled=false
end),VK_NEXT) |
_________________
!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE! |
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Fri Dec 23, 2022 1:48 am Post subject: |
|
|
!BEWARE! wrote: | This one:
Code: | if cycleTimer then cycleTimer.Destroy() cycleTimer=nil end
cycleTimer=createTimer() cycleTimer.Interval=500 cycleTimer.Enabled=false
myAddress = "0x701527F8" --your address! ?
function checkValue9()
myValue = math.floor(readFloat(myAddress))
if myValue == 31 then
writeFloat(myAddress,60)
--else
--print(math.floor(readFloat(myAddress)))
end
end
function checkValue7()
myValue = math.floor(readFloat(myAddress))
if myValue == 1 then
writeFloat(myAddress,60)
--else
--print(math.floor(readFloat(myAddress)))
end
end
if ExitKey7 then ExitKey7.Destroy() ExitKey7=nil end
if ExitKey8 then ExitKey8.Destroy() ExitKey8=nil end
if ExitKey9 then ExitKey9.Destroy() ExitKey9=nil end
ExitKey7 = createHotkey((function()
sleep(500)
cycleTimer.Enabled=false
cycleTimer.OnTimer = checkValue7
cycleTimer.Enabled=true
end),VK_PRIOR)
ExitKey9 = createHotkey((function()
sleep(500)
cycleTimer.Enabled=false
cycleTimer.OnTimer = checkValue9
cycleTimer.Enabled=true
end),VK_END)
ExitKey8 = createHotkey((function()
sleep(500)
cycleTimer.Enabled=false
end),VK_NEXT) |
|
Code: | if cycleTimer then cycleTimer.Destroy() cycleTimer=nil end
cycleTimer=createTimer() cycleTimer.Interval=500 cycleTimer.Enabled=false
myAddress = "0x701527F8" --your address! ?
function checkValue9()
myValue = math.floor(readFloat(myAddress))
if myValue == 31 then
writeFloat(myAddress,60)
--else
--print(math.floor(readFloat(myAddress)))
end
end
function checkValue7()
myValue = math.floor(readFloat(myAddress))
if myValue == 1 then
writeFloat(myAddress,60)
--else
--print(math.floor(readFloat(myAddress)))
end
end
if ExitKey7 then ExitKey7.Destroy() ExitKey7=nil end
if ExitKey8 then ExitKey8.Destroy() ExitKey8=nil end
if ExitKey9 then ExitKey9.Destroy() ExitKey9=nil end
ExitKey7 = createHotkey((function()
-- sleep(500)
cycleTimer.Enabled=false
cycleTimer.OnTimer = checkValue7
cycleTimer.Enabled=true
end),VK_PRIOR)
ExitKey9 = createHotkey((function()
-- sleep(500) -- it will freeze UI of Cheat Engine
cycleTimer.Enabled=false
cycleTimer.OnTimer = checkValue9
cycleTimer.Enabled=true
end),VK_END)
ExitKey8 = createHotkey((function()
-- sleep(500)
cycleTimer.Enabled=false
end),VK_NEXT)
ExitKey7.delayBetweenActivate = 99999
ExitKey9.delayBetweenActivate = 99999
ExitKey8.delayBetweenActivate = 99999 |
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 31
Joined: 16 Feb 2017 Posts: 1234
|
Posted: Fri Dec 23, 2022 11:52 am Post subject: |
|
|
Add a test to it. Replace with existing code 8.
Code: | ExitKey8 = createHotkey((function()
-- sleep(500)
cycleTimer.Enabled=false
if cycleTimer.Enabled==false then
print("tiner stopped!")
else
print("The timer is still running.")
end
end),VK_NEXT) |
_________________
|
|
Back to top |
|
|
!BEWARE! !BEWARE! Deletes post on answer Reputation: 0
Joined: 26 Jun 2013 Posts: 56 Location: !BEWARE!
|
Posted: Fri Dec 23, 2022 12:30 pm Post subject: |
|
|
@Frouk Thanks
@AylinCE I don't wanna messages, CE working in background
_________________
!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE!!BEWARE! |
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 31
Joined: 16 Feb 2017 Posts: 1234
|
Posted: Fri Dec 23, 2022 1:42 pm Post subject: |
|
|
!BEWARE! wrote: |
@AylinCE I don't wanna messages, CE working in background |
This is open-ended information.
If CE is turned off, it will not run in the background.
If the trainer is not closed correctly, the CE remains open in the background.
Edit the trainer name in the code below and add the code to your script;
Code: | yourTrainerName.OnClose=function()
closeCE()
return cafree
end | .
or kill created controls on exit;
Code: | function allKill()
if cycleTimer then cycleTimer.Destroy() cycleTimer=nil end
if ExitKey7 then ExitKey7.Destroy() ExitKey7=nil end
if ExitKey8 then ExitKey8.Destroy() ExitKey8=nil end
if ExitKey9 then ExitKey9.Destroy() ExitKey9=nil end
end
-- use
allKill() |
_________________
|
|
Back to top |
|
|
|