Additional Info
|
Hi, im a bit confused about AoB hacking. This is a continuation of this topic: viewtopic.php?f=11&t=4073 Code: [Select] function tambahPrada1() Code: [Select] //9d 02 00 09 00 My questions:1) What does NOP mean? Number of Parameters? 2) How do you figure out what to change? Or what to change it to? Thanks, any help will be greatly appreciated |
Additional Info
|
NOP stands for "No Operation", It basically tells the computer 'move along, nothing to see here.'
I bet this gets me banned, since ive been warned once already, but here goes...with as little condescension as possible Figuring out what to change and what to change it to requires insight. there is truly no majik answer. the best way to gain insight though is to not even look at the code. just look at the game and think. for instance if you wanted to make a no reload hack for a game: what does the game do? when gun is fired, ammo count goes down by one. when the ammo is zero i cant shoot any more. what is the desired behavior? the gun shouldnt need to be reloaded what are some things I can do achieve this behavior? make the ammo count rise, make the ammo count not change, allow negative ammo now look at the code and see which way is best for you. you could nop this block, which says if ammo is 0 dont fire Code: [Select] if (currentWeapon.ammoInLoad == 0) but personally, I think the better solution is to modify this block, so that when you fire ammo doesnt decreaseCode: [Select] var _loc_7:* = currentWeapon; once you have good insight (of both action script and how the game is working), you will no longer need things like sothink. happy hacking. I use this AoB tool to make all the AoBs I post. Try the online version if you dont feel like downloading it. |
Additional Info
|
eh, sorry I didn't put enough detail in my question.
What I meant by: Quote 2) How do you figure out what to change? Or what to change it to?Is in regards to the OP code: for example, to get max money: 9d 02 00 09 00 96 04 00 08 3b 08 3c 1c 1d => 02 02 02 02 02 96 04 00 08 3b 08 3c 1c 1d how do you determine that the ones in bold should be changed and how do you determine what they should be changed to? Also, I see a lot of bytes being changed to "02" (not just here but in many situations) does it mean something important? I have seen this explained in one tutorial but that tutorial was limited to a single example and these arrays come in different sizes. |
Level: 1
ADR Info
Additional Info
|
02 = nop, at least as far as I know...
|
Additional Info
|
ok well briefly,
02 means NOP. the bytes changed in your code removed the if statement, so when that section runs, no matter what, puntaPrada will be assigned the value of maxPrada. as far has how you know which ones to change, Quote from: "kolonelkadat" just look at the game and think.I really cant describe it any easier than that. but here is a link to some help I gave another member a while back, Its a different game but the idea is the same. it deals mostly with AoB length and touches on using NOPs viewtopic.php?f=27&t=3445&p=36514#p36495 theres a couple of pages of back and forth between me and lithergy, I suggest reading all of it. I may also do a as2 tutorial but i doubt it. I use this AoB tool to make all the AoBs I post. Try the online version if you dont feel like downloading it. |
Additional Info
|
is you NOP something like 24 05 to 02 02 then it doesn't exist.
Flash .sol locations |
Additional Info
|
oh wow this is beginning to make a lot more sense Quote from: "temp_man" 9d 02 00 09 00 96 04 00 08 3b 08 3c 1c 1d =>Ok so this is basically controlling the on/off switch. After determining that I dont want to call #583 I will switch everything to 02. This seems like the basic level AoB. Ill worry about the other commands after I get comfortable with this. Thanks ^^ Last question: how do I give karma? I have received a lot of help around the forum and I haven't been able to give karma. |
Additional Info
|
You need to have a post count > 10, if I'm not wrong
|
Additional Info
|
awesome, questions answered thread can be closed now ^^
EDIT: Sweet, now I can! |