Lua function is:
Code:
local myValue
local function checkAddress()
if not myValue then
local pattern = string.char(
0xD9, 0x44, 0x24, 0xFF,
0xF3, 0x0F, 0x10, 0x05, 0xFF, 0xFF, 0xFF, 0xFF,
0xDC, 0x0D, 0xFF, 0xFF, 0xFF, 0xFF,
0xF3, 0x0F, 0x11, 0x4C, 0x24, 0xFF)
local mask = "***?xxxx????xx????xxxxx?"
local offset = 8
local startloc = 0x450000
local found = findPatternInProcess(getProc(), pattern, mask, startloc, 0xA0000);
if( found == 0 ) then
error("Unable to find wall hack address. Pattern needs updating.", 0);
end
myValue = memoryReadUInt(getProc(), found + offset);
end
end
for it. But I'm unable to convert.






