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.