bingo88 How do I cheat? Reputation: 0
Joined: 23 Aug 2018 Posts: 9
|
Posted: Tue Sep 25, 2018 2:45 am Post subject: Help aobscanregion |
|
|
Help how can use aobscanregion?
how can change me scrypt use aobscanregion?
this me scrypt..
function CEButton1Click(sender)
local scan = '00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F';
local replace = '00 00 DE 42';
local replace_table = {}; -- writeBytes function requires either a table with hex values or parameters with hex values... this converts the string above to a table.
for byte in string.gfind(replace, "[^%s]+") do
table.insert(replace_table, tonumber('0x'..byte));
end
local data = AOBScan(scan);
if (data) then
local count = data.getCount();
for i=0, count-1 do
local address = data.getString(i);
writeBytes(address, replace_table);
end
end
end
thx... |
|