Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Cheat Engine Script Help !?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
yassinediaby
How do I cheat?
Reputation: 0

Joined: 23 Jan 2015
Posts: 3
Location: morocco

PostPosted: Fri Jan 23, 2015 6:46 pm    Post subject: Cheat Engine Script Help !? Reply with quote

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


Code:
[ENABLE]
Aobscan(_place,code)
label(place)
registersymbol(place)

_place:
place:
db code2

[DISABLE]
place:

db code



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.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25792
Location: The netherlands

PostPosted: Fri Jan 23, 2015 9:32 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message MSN Messenger
yassinediaby
How do I cheat?
Reputation: 0

Joined: 23 Jan 2015
Posts: 3
Location: morocco

PostPosted: Fri Jan 23, 2015 10:20 pm    Post subject: Reply with quote

i didnt understand please tell me were i put the code i m searching for and the code to change to
Sad
Back to top
View user's profile Send private message
yassinediaby
How do I cheat?
Reputation: 0

Joined: 23 Jan 2015
Posts: 3
Location: morocco

PostPosted: Sat Jan 24, 2015 8:46 pm    Post subject: Reply with quote

someone please give me the code i should put thanks
Back to top
View user's profile Send private message
sreeragh2009
Cheater
Reputation: 0

Joined: 21 Oct 2014
Posts: 33
Location: UNKNOWN

PostPosted: Sun Jan 25, 2015 12:52 am    Post subject: Reply with quote

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. Very Happy

_________________
PROFESSIONAL "LEARNER"
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25792
Location: The netherlands

PostPosted: Sun Jan 25, 2015 7:05 am    Post subject: Reply with quote

put the code you're searching in aobscan and put the code to change in "--do stuff with address"
_________________
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
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites