i ahve some code...lol

Posts 114 of 14 · Page 1 of 1
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
So you leeched this?
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
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?
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
Hmmm, Interesting
Why are you so obsessed with "hacking" this game?

And you're totally missing something here...
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
I'm not going to tell you what you're missing.

You have fun trying to figure out your next step though...
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
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
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.
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?
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.
Posts 114 of 14 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?