theboy181 Advanced Cheater
Reputation: 0
Joined: 26 Jan 2018 Posts: 93
|
Posted: Fri May 01, 2020 7:07 pm Post subject: making a script that will autmatically set a value |
|
|
I want to be able to inject a value after I attach to a process but I cant seem to tell what I am doing wrong.
| Code: | [ENABLE]
{$lua}
local timer = createTimer(getMainForm())
timer.Interval = 100
timer.OnTimer = function(timer)
writeInteger('[[_base]+82090A0F]+2090A0FF04', 1 )
writeInteger('[[_base]+82090A0F]+2090A0FF24', 2 )
if DoneState == true then
timer.destroy()
end
end
[DISABLE]
{$lua}[code][/code] |
as a test I want to set these two values at these two pointers but I am getting a vague error when I do so.
|
|