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