Need Help With AoB
-migrated-
Need Help With AoB Posted on: 03/30/2011 3:17am
Quote Post
Hello I'm having a problem I need help on how i can change the regular AoB to the hacked AoB so i can find and use a hack i tryd flasm but the game file is to big and has to many folders so i need a different way, i can find the Aob code but i don't know how i can change it, all help is appreciated, THANKS.
Re: Need Help With AoB Posted on: 03/30/2011 7:05am
Quote Post
cum here
I'll post this one more time.

also just sayimg I'm typing this on my phone and it'll take long.

Do you just want to use them (the AoBs other people find) or do you want to learn how to find them?

If you just want to use them then use Cheat Engine and attach it to the right process (if you need help on which process, read my signature. After you have attached to a process, change the search value type to Array of Bytes. Now enter the unchanged AoB and click First Scan. After that if you get an address, click the red arrow button at the bottom right corner of the address box. Now in the bottom most box are where you can change the addresses. Click your unchanged address and press enter on the keyboard at where it says value or you could right click thr address and click change value tgen paste in the hacked AoB.

If you need more help read the hacking FAQ which is here or continue reading.

AoB guide
Another AoB guide

Edit: Err, why the giant spoilers? Urls exist for a reason. ~Zirak



Re: Need Help With AoB Posted on: 03/30/2011 10:46am
Quote Post
( ͡° ͜ʖ ͡°)
Quote from: "*Black~Out*"
i don't know how i can change it
memorise the opcodes and what they mean



Flash .sol locations
Chrome: \AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\WritableRoot\#SharedObjects\
Normal: \AppData\Roaming\Macromedia\Flash Player\#SharedObjects

Re: Need Help With AoB Posted on: 03/30/2011 12:29pm
Quote Post
Blahblah your really good so is that what you do then lol I was wishing there was an easer way but if I do want to know them and the meaning of them were do I go to learn the all this stuff
Re: Need Help With AoB Posted on: 03/30/2011 2:32pm
Quote Post
( ͡° ͜ʖ ͡°)
Quote from: "*Black~Out*"
Blahblah your really good
what



Flash .sol locations
Chrome: \AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\WritableRoot\#SharedObjects\
Normal: \AppData\Roaming\Macromedia\Flash Player\#SharedObjects

Re: Need Help With AoB Posted on: 03/30/2011 4:12pm
Quote Post
Quote from: "*Black~Out*"
Blahblah your really good so is that what you do then lol I was wishing there was an easer way but if I do want to know them and the meaning of them were do I go to learn the all this stuff

The search bar is your friend. (broken image removed)
Re: Need Help With AoB Posted on: 03/30/2011 5:13pm
Quote Post
Are you pretty good at finding them and knowing what they do and were do I go to to figure out what the codes do and what they mean did you figure it out on konghacks? Thanks
Re: Need Help With AoB Posted on: 03/30/2011 6:14pm
Quote Post
All you really need is Cheat Engine, SoThink 5.6 (or any other Flash decompiler, whichever floats your boat) and some common sense. The rest (like 'what's the opcode for add') is just using cheat sheets.

Like, let's say that you want to make a speed-increased hack (just throwing random things here.) You can't find speed or any possible variation of it in the source code, but you know there's a shop ingame that sells a speed boost. So you try and find the shop and look at the code related to purchasing items. There's usually a direct mention of the variable you're looking for (slightly off-topic, I see sometimes things like this:
Code: [Select]
player.addStat(clickedButton.attribute, clickedButton.value); //or stuff like that
and in these cases I search within the player variable (which is most likely a reference to a class.))
Re: Need Help With AoB Posted on: 03/30/2011 9:21pm
Quote Post
Ok thanks for tip but ah if I find for example an AoB code that is for ammo and I want to make the ammo to unlimited how do I fiqure out what to change the AoB to? Thanks.
Re: Need Help With AoB Posted on: 03/30/2011 9:35pm
Quote Post
"Unlimited" is a strong word.
I'd say look for when shooting occurs. It'd look something like:
Code: [Select]
this.ammo--;
//or
--this.ammo;
//or
this.ammo -= 1;
//or
this.ammo = this.ammo - 1;

Which would look something like this:
Code: [Select]
//66 a0 02
_as3_getproperty ammo
//c1
_as3_decrement_i
//68 a0 02
_as3_setproperty ammo

//or

//66 a0 02
_as3_getproperty ammo
//93
_as3_decrement
//68 a0 02
_as3_setproperty ammo

In this case, the -1 is the decrement operator. We have two options:
    1. NOP the decrement
    2. Make the decrement (decrease) an increment (increase)

The first option will make the AoB look like:
66 a0 02 c1 68 a0 02 =>
66 a0 02 02 68 a0 02

The second option:
66 a0 02 c1 68 a0 02 =>
66 a0 02 c0 68 a0 02

How did I know what 02 and what c0 are? I used cheat sheets; and after using them for some time, I knew them by heart.

AS2 Cheat Sheet (you need to use the search to get to the relevent parts)
AS3 Cheat Sheet

Let's say that you saw the "kill" operation in an AS3 file, just search the cheat sheet for kill. Saw the opcode b0? Search for 0xb0 (0x indicates that the following value is a Hex value.)

Enjoy, and don't forget to read the beginner tutorials. Maybe it's because I'm biased (for some reason...) but some of them (if not, dare I say, all of them) are good.
Re: Need Help With AoB Posted on: 03/31/2011 12:59am
Quote Post
Wow man thanks this I think will help me alot that's the kindove response I was hopping for thanks.
Re: Need Help With AoB Posted on: 04/04/2011 1:37pm
Quote Post
add karma if you really like it. make the world a happy place.