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 


Creating a trainer uses string not AOBS

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

Joined: 13 Jun 2015
Posts: 1

PostPosted: Sat Jun 13, 2015 7:54 am    Post subject: Creating a trainer uses string not AOBS Reply with quote

Hi all i am pretty new to creating trainers i know how to replace a aob in code
ex

Aobscan(_fpx,63 09 12 93 00 00 62 09 62 0c 66 86 0)

_fpx:
db 63 09 12 93 00 00 62 09 62 0c 66 c0 02


Was wondering how to replace a string instead of a aob..
Back to top
View user's profile Send private message
Alamer99
Expert Cheater
Reputation: 1

Joined: 04 Jan 2015
Posts: 136

PostPosted: Sat Jun 13, 2015 8:55 am    Post subject: Reply with quote

i used to convert string to aob and then do normal aobscan for it

lets say you want to scan for "Hello" and Replace It With "World" so

Code:
aobscan(StringScan,48 65 6C 6C 6F) //Hello in Hex

StringScan:
db 57 6F 72 6C 64 //World in Hex
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Jun 13, 2015 9:48 am    Post subject: Reply with quote

Tip: Simply set Value Type to String and enter the string you want to replace.
Then change the Value Type to Array of byte and it will convert that string to the AOB you need.
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 42

Joined: 09 Nov 2005
Posts: 2672

PostPosted: Sat Jun 13, 2015 12:03 pm    Post subject: Reply with quote

String is a combination of characters, a character has a hex value. Know the hex value for the string you want to search and the value of string you want to replace it with. That's it.

You know how to use AOB, have you ever bothered to understand what an aob really is ?. It is array of bytes, that array of bytes can be byte, word, dword, float, double, string. Saying "i know how to replace aob but how to replace a string instead of aob" is funny. Thats like saying i know how to replace characters but how do you replace strings....lol

So how do you know the hex value of a string ? Mem-Viewer. Add a random address into cheat list and store it as string(text), browse that in hex viewer bottom window and notice the bytes. Or you can use any online tool

http://string-functions.com/string-hex.aspx

That is your aob.

EDIT: I converted the aob you posted to string
c “b b f†

^Does that make sense...no but is it a string...yes. Got it ?

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
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 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