lua tics instead of a timer.
Posted: Wed Jul 20, 2022 2:29 am
Hey all I was just wondering if it was possible in scripting lua to use tics instead of a timer. Thank you in advance.
Community Cheat Tables of Cheat Engine
https://fearlessrevolution.com/
Code: Select all
local tickCount = getTickCount()
Code: Select all
healthTimer = createTimer()
healthTimer.Interval = 1000
Code: Select all
os.clock()
os.difftime()
Code: Select all
if qpccallerRegistered ~= true then
qpccallerRegistered = autoAssemble([[
alloc(qpccaller, 1024)
registersymbol(qpccaller)
qpccaller:
sub rsp,30
lea rcx,[rsp+28]
mov [rcx],0
call QueryPerformanceCounter
mov rax,[rsp+28]
add rsp,30
ret
]],
true)
end
return executeCodeLocal("qpccaller")