the rose Newbie cheater Reputation: 0
Joined: 28 Mar 2012 Posts: 19
|
Posted: Wed Mar 20, 2013 8:48 am Post subject: memory scan options |
|
|
for:
d0 30 >>> 20 20
I use the following code:
***
function replaceAOB()
r=AOBScan("d0 30")
if (r~=nil) then
c=strings_getCount(r)
if (c>0) then
resultlist3=nil
resultlist3={}
for i=0,c-1 do
a=strings_getString(r,i);
resultlist3[i+1]={}
resultlist3[i+1][1]=a
resultlist3[i+1][2]=readBytes(a, 10, true)
for j=0,1 do
writeBytes(tonumber("0x"..a)+j, 20)
end
end
else
print("No results");
end
else
print("Scan error")
end
end
****
it is changing all file aobs ...
I would just change the aobs, who are in that block of memory:
start: 00000B75
stop: 00000DD0
How do?
thanks....
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Wed Mar 20, 2013 5:32 pm Post subject: |
|
|
easiest way without learning how to us the memscan_ class is in the for loop check if tonumber("0x"..a) is within 0xb75 and 0xdd0 and if so, write, else skip
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|