HelpFlash Game Hack Question

Posts 1–4 of 4 · Page 1 of 1
Flash Game Hack Question
Hello guys.
well im new in this games hacks world, i was watching i nice video teaching make hack for last stand 2 and i try and works but i was trying in another game named Earn to Die 2012 and i try put infinite money but when i click in the button nothing happens just mute the game sound.

well in the last stand to i did i button name .45 Pistol Damage and put in the button this code:

swf = because i put in the shockwave field the name swf.Movie = "the adress"

Call swf.SetVariable("_root.pistol.damage", 70)
Call swf.SetVariable("_root.pistol.headShotDamage", 100)
Call swf.SetVariable("_root.pistol.magazineCapacity", 999999)

ok this works all good but in the another game i tryed and didnt work,well this is the code of the file where i found the Start Money.

Code:
package EarnToDie_2.Progress
{
    import EarnToDie_2.*;
    import __AS3__.vec.*;

    public class ClassicModeData extends ModeData
    {
        var m_carsData:Vector.<CarData>;
        var m_money:int;
        var m_currentLevel:int;
        var m_currentCar:int;

        public function ClassicModeData()
        {
            ;
            _loc_3 = this;
            false.m_carsData = new Vector.<CarData>;
            return;
        }// end function

        override public function Reset() : void
        {
            ;
            _loc_2++;
            _loc_3++;
            var _loc_2:* = null % (null is (null - 1));
            super.Reset();
            var _loc_1:* = 0;
            while (_loc_1 < GameUtils.GetTotalCarsCount())
            {
                
                this.m_carsData.push(new CarData());
                _loc_1++;
            }
            ;
            _loc_2 = _loc_2;
            _loc_3++;
            _loc_2--;
            this.m_currentLevel = Constants.FIRST_LEVEL;
            this.m_currentCar = 0;
            this.m_money = 25;   // I put like this in the  button code Call swf.SetVariable("_root.this.m_money", 9999999)  this "_root"  is normal put or not? 
            var _loc_3:* = 0;
            ;
            _loc_2++;
            var _loc_4:* = this.m_carsData;
            for each (_loc_2 in _loc_4)
            {
                
                _loc_2.Reset();
            }
            this.m_carsData[0].m_carOwned = true;
            return;
        }// end function

        override public function Serialize(param1:Object, param2:Boolean) : void
        {
            ;
            (~this - 1).Serialize(this, param1, "m_carsData", param2);
            ;
            Logic.Serialize(this, param1, "m_money", param2);
            Logic.Serialize(this, param1, "m_currentLevel", param2);
            Logic.Serialize(this, param1, "m_currentCar", param2);
            super.Serialize(param1, param2);
            return;
        }// end function

        public function GetMoney() : int
        {
            return this.m_money;
        }// end function

        public function GetCurrentLevel() : int
        {
            return this.m_currentLevel;
        }// end function

        public function GetCurrentCar() : int
        {
            return this.m_currentCar;
        }// end function

        public function GetCarData(param1:int) : CarData
        {
            ;
            with (param1)
            {
                return (null - !(-(null is this))).m_carsData[param1];
        }// end function

    }
}
I want know onething too like matters if the file where have the money value is in a folder?

because i used the sothink swf decompiler and have the folder Progress and there have the ClassicModeData is the code i post.
Thanks for help.
"ok this works all good but in the another game i tryed and didnt work" - post the code please. the Button_Click()

Code:
swt.SetVariable("_root.m_    <---") // 

edit: you did.

swf.SetVariable("_root.this.m_money", 9999999)
"I want know onething too like matters if the file where have the money value is in a folder?" - huh? No. Once the game is loaded into the Shockwave object, all the values are stored in ram - the decompiled project has nothing to do with the actual game. Unless you re-compiled it and that's the copy you're loading up?

I think you need help on how to "refer to m_money" via shockwave? Like, what is it's "full name" ??

_root is 'normal', but the developer could change it if desired (to make hacking a little harder maybe)
I need put:

Call swf.SetVariable(_root.m_", 999999) ?

Where can i find the Button_Click() ?
no. you need to figure out the variable name is it _root.m_money or _xxx.m_money, or ? idk without looking at the game. Sry not too good at flash.
Call swf.SetVariable(_root.m_money, 999999) looks right, but idk the variable's name sorry.
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?