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 simple AoB replace trainer.

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

Joined: 01 Dec 2014
Posts: 6

PostPosted: Mon Dec 08, 2014 6:26 am    Post subject: Cheat Engine simple AoB replace trainer. Reply with quote

Hello Cheat Engine forum.

I need to make a trainer which is able to automatically scan and replace AoB codes that I would integrate. I have made a trainer which allocates the address (initial Aob) and then replaces it. Unfortunately the address is not constant unlike the AoB. So I need a trainer generator or some sort of tutorial. I have the codes with its respective replace codes. I would like it to be customizable (add my image etc.).

I know I should be using this/similar function:

{'1. Break No Guideline Rooms',
[[LuaCall(Aobswap("27 61 c1 4f 47 47","26 61 c1 4f 47 47"))]],
[[Enable Guideline in No Line Rooms]]},

Any help, kindly appreciated - BBH. Smile
Note: Dealing with Miniclip's .swf
Back to top
View user's profile Send private message
DaSpamer
Grandmaster Cheater Supreme
Reputation: 52

Joined: 13 Sep 2011
Posts: 1578

PostPosted: Mon Dec 08, 2014 2:17 pm    Post subject: Reply with quote

that's the easy trainer generator format I've made for the hacks.... just use it instead.
_________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy! Very Happy

http://forum.cheatengine.org/viewtopic.php?t=564919
Back to top
View user's profile Send private message
BilliardBully Miniclip
How do I cheat?
Reputation: 0

Joined: 01 Dec 2014
Posts: 6

PostPosted: Tue Dec 09, 2014 6:19 am    Post subject: Reply with quote

Thanks Boss, that's some fine work Very Happy

Where do I paste my search and replace AoB codes?
Must I substitute it where is says:

function Aobswap(search, change)

I would like to scan and replace multiple AoBs.
Back to top
View user's profile Send private message
DaSpamer
Grandmaster Cheater Supreme
Reputation: 52

Joined: 13 Sep 2011
Posts: 1578

PostPosted: Tue Dec 09, 2014 4:29 pm    Post subject: Reply with quote

Either assign it in parts or just add the
Code:
 luacall(Aobswap("in","out"))

in several lines

So it'd be for example like this
Code:
 luacall(Aobswap("ff 01 00","00 00 02"))
luacall(Aobswap("ff 02 00","00 00 02"))
luacall(Aobswap("ff 03 00","00 00 02"))
luacall(Aobswap("ff 04 00","00 00 02"))

_________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy! Very Happy

http://forum.cheatengine.org/viewtopic.php?t=564919
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Tue Dec 09, 2014 4:51 pm    Post subject: Reply with quote

The {$lua} sections can also be used to have multipe lines
Code:

{$lua}
Aobswap("ff 01 00","00 00 02")
Aobswap("ff 02 00","00 00 02")
Aobswap("ff 03 00","00 00 02")
Aobswap("ff 04 00","00 00 02")
{$asm}

_________________
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
panraven
Grandmaster Cheater
Reputation: 55

Joined: 01 Oct 2008
Posts: 942

PostPosted: Tue Dec 09, 2014 6:27 pm    Post subject: Reply with quote

Multiple Aobswaps in a single cheat entry at DaSpamer's easy trainer format may cause inconsistent activation result (success/fail). For example, if 1st 2 aob can be found but not the last 2, the first 2 aob will be patched by aobswap, but the activation result will be return as fail.

May be Aobswap should be extend to something like that:

Aobswap(search1, change1, search2, change2, search3, change3), so that
change will be made only when all search1, search2 and search3 can be found, and return a success result.
Back to top
View user's profile Send private message
DaSpamer
Grandmaster Cheater Supreme
Reputation: 52

Joined: 13 Sep 2011
Posts: 1578

PostPosted: Wed Dec 10, 2014 11:04 am    Post subject: Reply with quote

panraven wrote:
Multiple Aobswaps in a single cheat entry at DaSpamer's easy trainer format may cause inconsistent activation result (success/fail). For example, if 1st 2 aob can be found but not the last 2, the first 2 aob will be patched by aobswap, but the activation result will be return as fail.

May be Aobswap should be extend to something like that:

Aobswap(search1, change1, search2, change2, search3, change3), so that
change will be made only when all search1, search2 and search3 can be found, and return a success result.

Yes I know that, it's an old script.
I've improved it by verifying each and each hack... I parse now trainers using <tags>.

_________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy! Very Happy

http://forum.cheatengine.org/viewtopic.php?t=564919
Back to top
View user's profile Send private message
panraven
Grandmaster Cheater
Reputation: 55

Joined: 01 Oct 2008
Posts: 942

PostPosted: Sun Dec 14, 2014 12:24 pm    Post subject: Reply with quote

DaSpamer wrote:
panraven wrote:
..snip...

Yes I know that, it's an old script.
I've improved it by verifying each and each hack... I parse now trainers using <tags>.


Is the improved script available for download?
thank you~
Back to top
View user's profile Send private message
DaSpamer
Grandmaster Cheater Supreme
Reputation: 52

Joined: 13 Sep 2011
Posts: 1578

PostPosted: Sun Dec 14, 2014 3:54 pm    Post subject: Reply with quote

panraven wrote:
DaSpamer wrote:
panraven wrote:
..snip...

Yes I know that, it's an old script.
I've improved it by verifying each and each hack... I parse now trainers using <tags>.


Is the improved script available for download?
thank you~

No, those are private.

_________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy! Very Happy

http://forum.cheatengine.org/viewtopic.php?t=564919
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Sun Dec 14, 2014 4:40 pm    Post subject: Reply with quote

just an fyi,
if the aob is unique you're better of using auto assembler's aobscan:
Code:
 
aobscan(_aobresult1,aa bb cc dd ee ff 00)
_aobresult1:
db 90 90 50 60 ee ff 01

aobscan(_aobresult2,44 55 66 77 ce)
_aobresult2:
db 44 55 f3 90 ce

this is because the auto assembler will group aobscans and finds all results in one pass instead of doing a full scan for every aob
It also ends the scan when all results have been found

_________________
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