Help with AoB
Hi, im a bit confused about AoB hacking. This is a continuation of this topic: viewtopic.php?f=11&t=4073
I just didn't want to litter my questions in the wrong place.
I read through several tutorials and the more i looked though them the more confused I got. For example this tutorial /viewtopic.php?f=30&t=2104 kept changing the game so following along was difficult and by the time we got to step 3, things didn't match up. Or this tutorial http] thats a bit out of date and methods such as flasm arn't useful anymore (at least thats what the other tutorials said).
I have downloaded sothink and this new bundle [url=http://forum.kongregatehack.com/viewtopic.php?f=11&t=4056]/viewtopic.php?f=11&t=4056.
Im gonna go through all of the steps and I would be extremely appreciative if you correct me along the way.
Also Im hacking from armorgames (that seems to make a difference). If there is a better place then im all ears. Also Im gonna be trying this on Age of Defense 3 (link: http://armorgames.com/play/10475/age-of-defense-3)
1) download the .swf (I used download helper add-on for firefox)
2) drag and drop the .swf into sothink
3) under action scripts, select p-code
4) under resources at the right go to age-of-defense-3-10475 >> Action (200) >> MainMovie
5) Find the code to change
function tambahPrada1()
{
if (cekPause == false)
{
punyaPrada = punyaPrada + Math.ceil(3 + pilihVillage / 10);
if (punyaPrada >= maxPrada)
{
punyaPrada = maxPrada;
} // end if
punyaPrada = Math.ceil(punyaPrada);
} // end if
} // End of the function
MainTimeline lines 1999-2010
//9d 02 00 09 00My questions:
_if true goto #583
//96 04 00 08 3b 08 3c
_push "punyaPrada" "maxPrada"
//1c
_getVariable
//1d
_setVariable
#11838-#11845
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