Arcade Prehacks

Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Jun 2008
    Location
    Dra'kar
    Posts
    1,263

    _global. question

    Quote Originally Posted by sme11y
    Quote Originally Posted by Magnite7
    So if it has a global var insted of _root. then it will be artmoney instead of the real money, meaning it can't be hacked?
    it will be artmoney if you dont find what the global variable is. it can be hacked you just need that global variable. the best chance to find it is looking through everything in sothink. not just ctrl F stuff
    SO I was hacking Storm the House 2 and i looked through all 200,000 lines and didn't find anything about a global variable..

    all i found taht i thought related to a global variable is this....

    Code:
    // end else if
    _root.healthnumber = Math.round(_global.health) + " / " + _global.maxhealth;
    _root.craftsmannum = _global.craftsman + " craftsmen";
    _root.gunmannum = _global.gunman + " gunmen";
    _root.missilesnum = _global.missiles + " silo workers";
    _root.healthbar._xscale = _global.health / _global.maxhealth * 100;
    _root.money = "$" + _global.money;
    _root.payroll = _root.gunmansallery * _global.gunman + _root.craftsmansallery * _global.craftsman + _root.siloworkersallery * _global.missiles;
    _root.payrolltext = "$" + _root.payroll;
    _root.bars.play();
    stop ();
    
    // [Action in Frame 5]
    _global.ammo = _global.maxammo;
    setProperty("", _quality, "high");
    _root._root.bars.play();
    _root.housebutton.gotoAndStop(_root.house._currentframe);
    _root.gunmansallerytext = "$" + _root.gunmansallery + " / day";
    _root.craftsmansallerytext = "$" + _root.craftsmansallery + " / day";
    _root.silo.siloworkersallerytext = "$" + _root.siloworkersallery + " / day";
    _root.payroll = _root.gunmansallery * _global.gunman + _root.craftsmansallery * _global.craftsman + _root.siloworkersallery * _global.missiles;
    _root.payrolltext = "$" + _root.payroll;
    Mouse.show();
    _root.payrollcover._x = 335;
    _root.payrollcover.gotoAndPlay(1);
    does that have anything to do with a glibal variable? If it is how would i translate that to make it usable for a trainer?

    Magnite7

    P.S. I don't exactly know wwhat a global variable looks like.

  2. #2

    Join Date
    May 2008
    Posts
    573

    Re: _global. question

    a global variable looks like _global.health. the _global part is the hidden code that you need

    that doest tell you about the global variable. it just tells you some variables that can be used.

    When or if you find like _global= something or along those lines, you would just substitute that code in for _global. so if _global=player, the code for health would be _root.player.health for the code in a trainer
    Just an FYI to everyone, I don't hack anymore. I have stuff that I do outside of this. Goodbye and goodluck

  3. #3
    Senior Member
    Join Date
    Jun 2008
    Location
    Dra'kar
    Posts
    1,263

    Re: _global. question

    OH!! I get it now.. hehe thanks

    Magnite7

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •