[Help] Lua codes to Autoit

09/27/2012 18:04 sameddeger#1
Hi everyone,

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 = "xxx?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
I wanna convert to AutoIt function.
[Only registered and activated users can see links. Click Here To Register...] for it. But I'm unable to convert.
09/30/2012 02:21 MrSm!th#2
#moved