View previous topic :: View next topic |
Author |
Message |
ThE.G33K How do I cheat? Reputation: 0
Joined: 13 Jun 2015 Posts: 1
|
Posted: Sat Jun 13, 2015 7:54 am Post subject: Creating a trainer uses string not AOBS |
|
|
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 |
|
|
Alamer99 Expert Cheater Reputation: 1
Joined: 04 Jan 2015 Posts: 136
|
Posted: Sat Jun 13, 2015 8:55 am Post subject: |
|
|
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 |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sat Jun 13, 2015 9:48 am Post subject: |
|
|
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 |
|
|
STN I post too much Reputation: 42
Joined: 09 Nov 2005 Posts: 2672
|
Posted: Sat Jun 13, 2015 12:03 pm Post subject: |
|
|
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 bf†
^Does that make sense...no but is it a string...yes. Got it ?
_________________
|
|
Back to top |
|
|
|