Results 1 to 14 of 14
  1. #1
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh

    i ahve some code...lol

    and idk what i can do with it (if i can do anything with it)

    its frm a game called nitto legends, and from what it looks like, it actually is a connect to server file which would mean i should be able to do things with an edited file that i cant do with others

    here is the actionscript, edit it to your full hearts content and make it as destructive as possible to the game, the game has nothing but speed hax and bots in it......

    Code:
    // Action script...
    
    // [Action in Frame 1]
    function loginCB(stat, d, at, am)
    {
        classes.Frame._MC.showSupportButton(true);
        switch (stat)
        {
            case 0:
            {
                _root.displayAlert("warning", "Incorrect Login", "Sorry, your login was incorrect. Please try again.");
                classes.Frame._MC.loginGroup.gotoAndPlay(1);
                break;
            } 
            case -1:
            {
                _root.displayAlert("warning", "Duplicate Login", "You are already logged in. Please close any instances of the game that you have previously opened.");
                classes.Frame._MC.loginGroup.gotoAndPlay(1);
                break;
            } 
            case -2:
            {
                var _loc2 = new XML();
                _loc2.ignoreWhite = true;
                _loc2.parseXML(d);
                _root.displayAlert("warning", "Access Denied", "This account has been banned until: " + _loc2.firstChild.attributes.d + "\r\rReason for ban: \r" + _loc2.firstChild.attributes.r);
                classes.Frame._MC.loginGroup.gotoAndPlay(1);
                break;
            } 
            case -3:
            {
                _root.displayAlert("warning", "Server Maintenance", "Sorry, the server is under maintenance. Please check back soon.");
                classes.Frame._MC.loginGroup.gotoAndPlay(1);
                break;
            } 
            case -4:
            {
                _root.displayAlert("warning", "Server Maintenance", "Sorry, the database server is under maintenance. Please check back soon.");
                classes.Frame._MC.loginGroup.gotoAndPlay(1);
                break;
            } 
            case -5:
            {
                var _loc5 = new XML();
                _loc5.ignoreWhite = true;
                _loc5.parseXML(d);
                if (_loc5.firstChild.attributes.au == "1")
                {
                    classes.Control.dialogContainer("dialogNewInstallerContent");
                }
                else
                {
                    _root.displayAlert("warning", "Update Required", "You are running an old version of the game that can no longer connect to the server. Please download the latest version from www.nittolegends.com");
                    classes.Frame._MC.loginGroup.gotoAndPlay(1);
                } // end else if
                break;
            } 
            case -6:
            {
                _root._root.displayAlert("warning", "Too Many Attempts", "Login failed because you have made too many attempts.  Please wait a while and then try again.");
                classes.Frame._MC.loginGroup.gotoAndPlay(1);
                break;
            } 
            case -7:
            case -8:
            {
                _root.abc.closeMe();
                _root.attachMovie("dialogContainer", "abc", _root.getNextHighestDepth(), {contentName: "dialogActivateAccountContent"});
                break;
            } 
            case -9:
            {
                _root.abc.closeMe();
                _root.attachMovie("dialogContainer", "abc", _root.getNextHighestDepth(), {contentName: "dialogTermsContent", askAgree: true});
                break;
            } 
            case -11:
            case -12:
            {
                _loc2 = new XML();
                _loc2.ignoreWhite = true;
                _loc2.parseXML(d);
                _root.displayAlert("warning", "Computer Banned", "This computer has been banned until: " + _loc2.firstChild.attributes.d + "\r\rReason for ban: \r" + _loc2.firstChild.attributes.r);
                classes.Frame._MC.loginGroup.gotoAndPlay(1);
                break;
            } 
            case -13:
            {
                _root.displayAlert("warning", "Traffic Block", "There are too many racers currently logged in. Please try again later.\r\rYou can bypass the traffic block if you have a membership. See www.NittoLegends.com for details.");
                classes.Frame._MC.loginGroup.gotoAndPlay(1);
                break;
            } 
            case -14:
            {
                _root.displayAlert("warning", "Facebook Error", "Error Connecting to Facebook.\r\rPlease try again later.");
                classes.Frame._MC.loginGroup.gotoAndStop(1);
                break;
            } 
            case -14:
            {
                _root.displayAlert("warning", "Facebook Error", "Error Connecting to Facebook.\r\rPlease try again later.");
                classes.Frame._MC.loginGroup.gotoAndStop(1);
                break;
            } 
            case -16:
            {
                _root.displayAlert("warning", "Account Already Linked", "This account is already linked to another facebook account.");
                classes.Frame._MC.loginGroup.gotoAndStop("facebookLink");
                break;
            } 
            case -99:
            {
                var _loc3 = new XML();
                _loc3.ignoreWhite = true;
                _loc3.parseXML(d);
                _root.displayAlert("warning", "Error", _loc3.firstChild.attributes.m);
                classes.Frame._MC.loginGroup.gotoAndStop(1);
                break;
            } 
        } // End of switch
    } // End of the function
    function votePoll(******ID, questionID, answerID)
    {
        classes.Frame.serverLights(true);
        var _loc1 = new LoadVars();
        _loc1.sid = ******ID;
        _loc1.sqid = questionID;
        _loc1.said = answerID;
        getURL("lingo: executeCall \"completepollquestion\", \"" + _loc1.toString() + "\"", "");
    } // End of the function
    function votePollCB(s)
    {
        _root.introHolders.votePollCB_Intro(s);
    } // End of the function
    function genericWebCB(command, s, d)
    {
        classes.Frame.serverLights(false);
        switch (command)
        {
            case "completepollquestion":
            {
                _root.introHolder.votePollCB_Intro(s);
                break;
            } 
        } // End of switch
    } // End of the function

    commando: You're probably the best non-coder coder I know LOL


  2. #2
    Nathan's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    In a magical place
    Posts
    6,113
    Reputation
    394
    Thanks
    363
    So you leeched this?

  3. #3
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh
    So, I reverse engineered an actual game that had a bunch of protection and Shit on it lol

    I had to
    1.) Find the swf image (there are 3 in the exe)
    2.) Inflate them (mark adler's zip compression was in use for protection)
    3 cnvert to fla

    I did my part lol every1 said it was impossible

  4. #4
    Nathan's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    In a magical place
    Posts
    6,113
    Reputation
    394
    Thanks
    363
    Quote Originally Posted by supercarz1991 View Post
    So, I reverse engineered an actual game that had a bunch of protection and Shit on it lol

    I had to
    1.) Find the swf image (there are 3 in the exe)
    2.) Inflate them (mark adler's zip compression was in use for protection)
    3 cnvert to fla

    I did my part lol every1 said it was impossible
    Well okay.
    But why was it a .exe flashgame?

  5. #5
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh
    Because they are obsessed with security. This version of the game is v2, V1 was hacked all to hell and back...I don't wanna do that, when I get home from work ill install adobe flash and see if I can get around bans

    Cuz what I can tell
    1.) Work around bans might be doable
    2.) Duplicate login can be bypassed
    3.) If we can figure out how, we could probably add money to accounts

  6. #6
    MOEFOEWZ's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    50
    Reputation
    10
    Thanks
    1
    Hmmm, Interesting

  7. #7
    BodyByVTAK's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    United States
    Posts
    144
    Reputation
    -48
    Thanks
    49
    My Mood
    Inspired
    Why are you so obsessed with "hacking" this game?

    And you're totally missing something here...
    Last edited by BodyByVTAK; 06-11-2011 at 08:37 PM.

  8. #8
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh
    what am i missing? i know i can convert to FLA and mess with it

    but idc, i just wanted to see if i could do it

    commando: You're probably the best non-coder coder I know LOL


  9. #9
    BodyByVTAK's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    United States
    Posts
    144
    Reputation
    -48
    Thanks
    49
    My Mood
    Inspired
    I'm not going to tell you what you're missing.

    You have fun trying to figure out your next step though...

  10. #10
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh
    i know i'm missing some stuff, that stuff is in the physical EXE file, for which idc to try to get

    i totally could get it cuz its in plane text within it how it worked...they used zlib, but idc enough to go further cuz i have no intention of ruining the game

    commando: You're probably the best non-coder coder I know LOL


  11. #11
    Remorse's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Follow the yellow brick road
    Posts
    2,286
    Reputation
    33
    Thanks
    184
    My Mood
    Psychedelic
    Quote Originally Posted by BodyByVTAK View Post
    I'm not going to tell you what you're missing.

    You have fun trying to figure out your next step though...
    Not nice
    Time to start cycling through old sigs.
    [IMG]https://i381.photobucke*****m/albums/oo259/darkstar9540/5infection.png[/IMG]
    __________________________________________________

    Well that is that and this is this,
    You tell me what you want and I'll tell you what you get,
    You get away from me.
    You get away from me
    .
    Modest Mouse
    Ocean Breathes Salty
    Float On
    __________________________________________________

  12. #12
    BodyByVTAK's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    United States
    Posts
    144
    Reputation
    -48
    Thanks
    49
    My Mood
    Inspired
    Let me get this straight. Your overall goal is to convert the EXE to an SWF, convert the SWF to FLA so you can edit the GUI, and convert the FLA into AS, so you can make a race bot?

    Are you shitting me? Just lrn2program.

  13. #13
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,285
    Reputation
    435
    Thanks
    3,715
    My Mood
    Doh
    no thats not the goal

    the goal is to just show em that they need better protection of the game files and that they are indeed extractable

    there are 3 swf files in the nitto legends exe, and if i had the fla's, and did edit, why wouldn't i just completely edit the game to the point that i click a button in game, and it just completes a tourney instantly?

    commando: You're probably the best non-coder coder I know LOL


  14. #14
    BodyByVTAK's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    United States
    Posts
    144
    Reputation
    -48
    Thanks
    49
    My Mood
    Inspired
    Quote Originally Posted by supercarz1991 View Post
    no thats not the goal

    the goal is to just show em that they need better protection of the game files and that they are indeed extractable

    there are 3 swf files in the nitto legends exe, and if i had the fla's, and did edit, why wouldn't i just completely edit the game to the point that i click a button in game, and it just completes a tourney instantly?
    Then do it already. Apparently you think you can just look at people's source and automatically know what to do.