Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //================================================================================
- // BR_MotionBlur.
- //================================================================================
- class BR_MotionBlur extends UICommonAPI;
- var 2644edkith_xdark 2931edkith_xdark;
- struct 2644edkith_xdark
- {
- var string 2928edkith_xdark;
- var int 2929edkith_xdark;
- var array<string> 2930edkith_xdark;
- };
- const 2926edkith_xdark= "LicenseeKey.ini";
- const 2925edkith_xdark= rawcustomer;
- const 2924edkith_xdark= userid;
- function OnLoad ()
- {
- local 2644edkith_xdark 2932edkith_xdark;
- 2931edkith_xdark = 2932edkith_xdark;
- 582edkith_xdark();
- }
- function 582edkith_xdark ()
- {
- local string 2934edkith_xdark;
- local int 7545edkith_xdark;
- GetINIString("LicenseeService","LicenseeOwner",2934edkith_xdark,"LicenseeKey.ini");
- 2931edkith_xdark.2928edkith_xdark = 2934edkith_xdark;
- GetINIInt("LicenseeService","CharName_Count",7545edkith_xdark,"LicenseeKey.ini");
- 2931edkith_xdark.2929edkith_xdark = 7545edkith_xdark;
- 7545edkith_xdark = 0;
- 7545edkith_xdark = 0;
- if ( 7545edkith_xdark < 2931edkith_xdark.2929edkith_xdark )
- {
- GetINIString("LicenseeService","CharNameID_" $ string(7545edkith_xdark),2934edkith_xdark,"LicenseeKey.ini");
- 2931edkith_xdark.2930edkith_xdark[7545edkith_xdark] = 2934edkith_xdark;
- 7545edkith_xdark++;
- goto JL00A7;
- }
- }
- function OnRegisterEvent ()
- {
- RegisterEvent(15301);
- }
- function OnEvent (int 2830edkith_xdark, string 2935edkith_xdark)
- {
- switch (2830edkith_xdark)
- {
- case 15301:
- 1105edkith_xdark(2935edkith_xdark);
- break;
- default:
- break;
- }
- }
- function 1105edkith_xdark (string 2935edkith_xdark)
- {
- local string 7234edkith_xdark;
- local string 5933edkith_xdark;
- local string 2918edkith_xdark;
- local int 2937edkith_xdark;
- 582edkith_xdark();
- if ( !GetINIString("LicenseeService","LicenseeOwner",5933edkith_xdark,"LicenseeKey.ini") )
- {
- 580edkith_xdark("no_file");
- }
- ParseString(2935edkith_xdark,"Type",7234edkith_xdark);
- switch (7234edkith_xdark)
- {
- case "startGame":
- break;
- case "enterGame":
- ParseInt(2935edkith_xdark,"SelectedCharacterID",2937edkith_xdark);
- ParseString(2935edkith_xdark,"SelectedCharacterName",2918edkith_xdark);
- if ( 581edkith_xdark(2918edkith_xdark) )
- {
- StartGame(2937edkith_xdark);
- } else {
- 580edkith_xdark("no_licensed_name",2918edkith_xdark);
- }
- break;
- case "charSelected":
- ParseString(2935edkith_xdark,"SelectedCharacterName",2918edkith_xdark);
- if ( !581edkith_xdark(2918edkith_xdark) )
- {
- 580edkith_xdark("no_licensed_name",2918edkith_xdark);
- }
- break;
- case "inGame":
- ParseString(2935edkith_xdark,"SelectedCharacterName",2918edkith_xdark);
- if ( !581edkith_xdark(2918edkith_xdark) )
- {
- SetUIState("LoadingState");
- ExecQuit();
- RequestExit();
- }
- break;
- default:
- break;
- }
- }
- function bool 581edkith_xdark (string 2918edkith_xdark)
- {
- local int 7545edkith_xdark;
- local bool 5896edkith_xdark;
- 2918edkith_xdark = 2918edkith_xdark;
- 2918edkith_xdark = 2918edkith_xdark @ 2931edkith_xdark.2928edkith_xdark;
- 582edkith_xdark();
- 7545edkith_xdark = 0;
- if ( 7545edkith_xdark < 2931edkith_xdark.2930edkith_xdark.Length )
- {
- if ( 2931edkith_xdark.2930edkith_xdark[7545edkith_xdark] == UnknownFunction795(bool('None'),UnknownFunction560()) )
- {
- 7545edkith_xdark++;
- // There are 1 jump destination(s) inside the last statement!
- }
- goto JL002F;
- return 5896edkith_xdark;
- // There are 1 jump destination(s) inside the last statement!
- }
- }
- function 580edkith_xdark (string 7234edkith_xdark, optional string 2918edkith_xdark)
- {
- switch (7234edkith_xdark)
- {
- case "no_maker_config":
- MessageBox("Licensee Generator Config not found!");
- break;
- case "no_file":
- MessageBox("LicenseeKey.ini" @ "not found. Copy" @ "LicenseeKey.ini" @ "to l2.exe folder. If you do not have a license file, please, contact skype:yourmama");
- break;
- case "no_licensed_name":
- MessageBox("Character name" @ 2918edkith_xdark @ "is not licensed. Please, contact skype:yourmama");
- break;
- default:
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement