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 


Replacing multiple AOB result in a CE Trainer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Sun Apr 26, 2015 1:06 am    Post subject: Replacing multiple AOB result in a CE Trainer Reply with quote

I have an AOB hack code says like this "ab d2 96 12".
While the AOB code scan in CE, its give 25 results and I changed all of scan results to "ab d1 96 11".
When I am playing the game after change AOB values, hack running well.

I tried put AOB hack code to a trainer with use script like this :

Code:

function Btn_HackClick(sender)
  return autoAssemble[[aobscan(myaob2,ab d2 96 12)
      myaob2:
        db ab d1 96 11]]
end


But when i clicked the hack button, that hack not work.
Does someone can help to fix the problem ?

Thank you
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sun Apr 26, 2015 11:42 am    Post subject: Reply with quote

"its give 25 results"


Clicking HackClick will change only the first occurrence (first from 25)
Clicking HackClick again will change only the first occurrence (first from 24)
Clicking HackClick again will change only the first occurrence (first from 23)
and so on.


try this code:
Code:
function Btn_HackClick(sender)
  repeat
  until
  not autoAssemble[[aobscan(aob,ab d2 96 12)
  aob:
  db ab d1 96 11]]
end

_________________
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 Lua Scripting 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