// ========================================================== // Legend's Save Login Information 'Hack' Instructions: // ========================================================== // Edit the two instances below that look like this. In total there are 3 spots if you include // this top example. You do not need to edit this top one, unless you want to. It does nothing however, // just enter your username and password into the bottom two. Make sure they are inside the quotes. //STRING username = // Your Username Here (Wrapped Tightly In Quotation Marks ie. No Spaces ("Lothgar")): //(Below this line) //"" //(Above this line) //; //STRING password = // Your Password Here (Wrapped Tightly In Quotation Marks ie. No Spaces ("324232")): //(Below this line) //"" //(Above this line) //; //===================================================================================== // Titleccreen.ooz // // Author: Jason Ely // //------------------------------------------------------------------------------------ // Yes, this is suppose to be here. I know the OOZ source code was released with the // version. It is ok. If you give it out or try to sell the source code to other game // companies, we'll have to release our Ninja Assassins and send them after you and // family!!! Muahahahahah! -Lothgar //------------------------------------------------------------------------------------ // // (c) 2006 Asylumsoft, LLC. //===================================================================================== #define true 1 #define false 0 //=================================================================== // // // //=================================================================== declare void OnCreate( CGump _kThis ) { STRING sAccount = _kThis.GetChildText( "account" ); CGump kPassword = _kThis.FindChild( "password" ); CGump kAccount = _kThis.FindChild( "account" ); //--------------------------------------------------------------- // If the account has any text in it, default focus on the // password box. //--------------------------------------------------------------- if( Len( sAccount ) ) kPassword.SetKeyFocus(); else kAccount.SetKeyFocus(); } //=================================================================== // // // //=================================================================== declare void OnClickedQuit( CGump _kThis ) { if( YesNoBox( "Quit?\n\nAre you sure you want to leave the game?" ) == 0 ) System.Done(); } //=================================================================== // // // //=================================================================== declare void OnConnect( CGump _kThis ) { STRING sAccount = _kThis.GetChildText( "account" ); STRING sPassword = _kThis.GetChildText( "password" ); System.SetConfigString( "Login", "name", sAccount ); _kThis.SwitchTo( "lo_connection" ); } //=================================================================== // // // //=================================================================== declare void OnChanged( CGump _kThis ) { STRING username = // Your Username Here (Wrapped Tightly In Quotation Marks ie. No Spaces ("Lothgar")): //(Below this line) "" //(Above this line) ; STRING password = // Your Password Here (Wrapped Tightly In Quotation Marks ie. No Spaces ("324232")): //(Below this line) "" //(Above this line) ; STRING sPassword = _kThis.GetChildText( "password" ); CGump kpassword = _kThis.FindChild( "password" ); STRING sAccount = _kThis.GetChildText( "account" ); CGump kConnect = _kThis.FindChild( "connect" ); if (sAccount == username) { kConnect.visible = true; System.SetConfigString( "Login", "name", sAccount ); System.SetConfigString( "Login", "password", sPassword ); } else { kConnect.visible = true; System.SetConfigString( "Login", "name", username ); System.SetConfigString( "Login", "password", password ); } } //=================================================================== // // // //=================================================================== declare void OnIdle( CGump _kThis ) { STRING username = // Your Username Here (Wrapped Tightly In Quotation Marks ie. No Spaces ("Lothgar")): //(Below this line) "" //(Above this line) ; STRING password = // Your Password Here (Wrapped Tightly In Quotation Marks ie. No Spaces ("324232")): //(Below this line) "" //(Above this line) ; STRING sPassword = _kThis.GetChildText( "password" ); CGump kpassword = _kThis.FindChild( "password" ); STRING sAccount = _kThis.GetChildText( "account" ); CGump kConnect = _kThis.FindChild( "connect" ); if (sAccount == username) { kConnect.visible = true; System.SetConfigString( "Login", "name", sAccount ); System.SetConfigString( "Login", "password", sPassword ); } else { kConnect.visible = true; System.SetConfigString( "Login", "name", username ); System.SetConfigString( "Login", "password", password ); } } //=================================================================== // // // //=================================================================== declare void OnTabPassword( CGump _kThis ) { CGump kAccount = _kThis.FindChild( "account" ); kAccount.SetKeyFocus(); } //=================================================================== // // // //=================================================================== declare void OnTabAccount( CGump _kThis ) { CGump kPassword = _kThis.FindChild( "password" ); kPassword.SetKeyFocus(); }