Code:
AoB = AOBScan("72 ?? ?? ?? ?? 12 ?? 28 ?? ?? ?? ?? 25 26 72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 7D ?? ?? ?? ?? 02 72 ?? ?? ?? ?? 12")
if (AoB and AoB.getCount()==3) then
AoB2 = AOBScan("2E ?? 02 1F ?? 7D ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 7B ?? ?? ?? ?? 72 ?? ?? ?? ?? 02 7C ?? ?? ?? ?? 28 ?? ?? ?? ?? 72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 25")
if (AoB2 and AoB2.getCount()==3) then
print("NOreload OK")
writeBytes(tonumber(AoB[0],16), 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x00)
writeBytes(tonumber(AoB[1],16), 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x00)
writeBytes(tonumber(AoB[2],16), 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x00)
writeBytes(tonumber(AoB2[0],16), 0x2B)
writeBytes(tonumber(AoB2[1],16), 0x2B)
writeBytes(tonumber(AoB2[2],16), 0x2B)
AoB2.Destroy()
AoB2 = nil
else
print("NOreload ERROR")
end
AoB.Destroy()
AoB = nil
else
print("NOreload ERROR")
end