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 


Best times to use each AA template? Pros and cons of each?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Autem
Expert Cheater
Reputation: 1

Joined: 30 Jan 2023
Posts: 155

PostPosted: Mon Apr 24, 2023 9:57 am    Post subject: Best times to use each AA template? Pros and cons of each? Reply with quote

Can someone give me a rundown or a link to an explanation of when/why each of the various AA templates might be used?

So far I've noticed that if I know a game is going to get updates in the future, it's a good idea to use AOB injection or Full Injection because then the updated game still usually has the same or very similar AOBs.

But is one of those BETTER than the other? My guess is Full Injection is better since it's going straight to an address and not needing to do an AOB scan? Is that correct?

When would be a preferred time to use some of the other options, such as Code Injection, etc...? When I've used code injection it seems to be the smoothest running (not sure if just my imagination) but then is less likely to keep working on an updated game like an AOB scan would.

Thanks to anyone who can help me get a solid grasp of when/why for each of the items in the AA Templates.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4709

PostPosted: Mon Apr 24, 2023 11:16 am    Post subject: Reply with quote

"AOB Injection" is the most commonly used template. It's useful if the injection point isn't in a module (e.g. JIT-compiled code), and even if it is in a module, it's likely to still work even if the game gets updated. The only bad thing is that it takes time to perform the AOB scan.

"Full Injection" should be the next most commonly used. Only use it if the code is in a module (e.g. game.exe+1234). It will enable immediately as it doesn't have to do any aobscan, but it might break on a game update.

"Code Injection" should be rarely used. It's pretty much the "full injection" template but without any safety guards: if the game updates, this will silently stop working at best and crash the game at worst. Maybe it could be useful for quick code injections during testing / development that don't get disabled.

The others aren't really used. "API hook" just looks like a weird "code injection" template. "code relocation" just copies some code into allocated memory. "call CE Lua function" is mostly replaced by {$luacode}. "cheat table framework code" is already included in the "AOB Injection" and "Full Injection" templates by default.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Autem
Expert Cheater
Reputation: 1

Joined: 30 Jan 2023
Posts: 155

PostPosted: Mon Apr 24, 2023 11:22 am    Post subject: Reply with quote

Ok that's awesome, most of mine are AOB or Full so thank you for confirming they're pretty good bets. Glad I don't need to change a bunch of scripts now. :D
Back to top
View user's profile Send private message
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