Posted: Fri Jan 23, 2015 6:46 pm Post subject: Cheat Engine Script Help !?
anyway i am very new to cheat engine scripting
i need help about this auto assemble script
when i do it , it search for the AoB code and change only first result
while i need to change all the results or a number of them
plz help me i will not understand only if u explain good
i dont understand how all this work i just searched in youtube and found this useful
so please explain to me how i make this script change all the results instead of one
and how to change a number of results
hope u understand what i said
and sorry for my english.
Joined: 09 May 2003 Posts: 25791 Location: The netherlands
Posted: Fri Jan 23, 2015 9:32 pm Post subject:
you'll have to use the Lua version of AOBScan which will return all addresses
Code:
r=AOBScan("11 22 33 44 55")
if (r~=nil) then
local i
for i=0, r.count-1 do
local address=tonumber("0x"..r[i])
--do stuff with address
end
r.destroy()
end
_________________
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
try to increase the number of bytes in the array of bytes. Maybe at one point you will get only one address you need to change. I generally dont use AoB ; an easier way is to search nearby bytes ---> what accesses this address and for some byte you can get a continuously accessed code, and try to make script using that code (check whether the code is accessing the same nearby byte with exact offset, every time you restart the program)
I know i am not very good in explaining but still you can try this method. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum