Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. //================================================================================
  2. // BR_MotionBlur.
  3. //================================================================================
  4.  
  5. class BR_MotionBlur extends UICommonAPI;
  6.  
  7. var 2644edkith_xdark 2931edkith_xdark;
  8. struct 2644edkith_xdark
  9. {
  10. var string 2928edkith_xdark;
  11. var int 2929edkith_xdark;
  12. var array<string> 2930edkith_xdark;
  13. };
  14.  
  15. const 2926edkith_xdark= "LicenseeKey.ini";
  16. const 2925edkith_xdark= rawcustomer;
  17. const 2924edkith_xdark= userid;
  18.  
  19. function OnLoad ()
  20. {
  21. local 2644edkith_xdark 2932edkith_xdark;
  22.  
  23. 2931edkith_xdark = 2932edkith_xdark;
  24. 582edkith_xdark();
  25. }
  26.  
  27. function 582edkith_xdark ()
  28. {
  29. local string 2934edkith_xdark;
  30. local int 7545edkith_xdark;
  31.  
  32. GetINIString("LicenseeService","LicenseeOwner",2934edkith_xdark,"LicenseeKey.ini");
  33. 2931edkith_xdark.2928edkith_xdark = 2934edkith_xdark;
  34. GetINIInt("LicenseeService","CharName_Count",7545edkith_xdark,"LicenseeKey.ini");
  35. 2931edkith_xdark.2929edkith_xdark = 7545edkith_xdark;
  36. 7545edkith_xdark = 0;
  37. 7545edkith_xdark = 0;
  38. if ( 7545edkith_xdark < 2931edkith_xdark.2929edkith_xdark )
  39. {
  40. GetINIString("LicenseeService","CharNameID_" $ string(7545edkith_xdark),2934edkith_xdark,"LicenseeKey.ini");
  41. 2931edkith_xdark.2930edkith_xdark[7545edkith_xdark] = 2934edkith_xdark;
  42. 7545edkith_xdark++;
  43. goto JL00A7;
  44. }
  45. }
  46.  
  47. function OnRegisterEvent ()
  48. {
  49. RegisterEvent(15301);
  50. }
  51.  
  52. function OnEvent (int 2830edkith_xdark, string 2935edkith_xdark)
  53. {
  54. switch (2830edkith_xdark)
  55. {
  56. case 15301:
  57. 1105edkith_xdark(2935edkith_xdark);
  58. break;
  59. default:
  60. break;
  61. }
  62. }
  63.  
  64. function 1105edkith_xdark (string 2935edkith_xdark)
  65. {
  66. local string 7234edkith_xdark;
  67. local string 5933edkith_xdark;
  68. local string 2918edkith_xdark;
  69. local int 2937edkith_xdark;
  70.  
  71. 582edkith_xdark();
  72. if ( !GetINIString("LicenseeService","LicenseeOwner",5933edkith_xdark,"LicenseeKey.ini") )
  73. {
  74. 580edkith_xdark("no_file");
  75. }
  76. ParseString(2935edkith_xdark,"Type",7234edkith_xdark);
  77. switch (7234edkith_xdark)
  78. {
  79. case "startGame":
  80. break;
  81. case "enterGame":
  82. ParseInt(2935edkith_xdark,"SelectedCharacterID",2937edkith_xdark);
  83. ParseString(2935edkith_xdark,"SelectedCharacterName",2918edkith_xdark);
  84. if ( 581edkith_xdark(2918edkith_xdark) )
  85. {
  86. StartGame(2937edkith_xdark);
  87. } else {
  88. 580edkith_xdark("no_licensed_name",2918edkith_xdark);
  89. }
  90. break;
  91. case "charSelected":
  92. ParseString(2935edkith_xdark,"SelectedCharacterName",2918edkith_xdark);
  93. if ( !581edkith_xdark(2918edkith_xdark) )
  94. {
  95. 580edkith_xdark("no_licensed_name",2918edkith_xdark);
  96. }
  97. break;
  98. case "inGame":
  99. ParseString(2935edkith_xdark,"SelectedCharacterName",2918edkith_xdark);
  100. if ( !581edkith_xdark(2918edkith_xdark) )
  101. {
  102. SetUIState("LoadingState");
  103. ExecQuit();
  104. RequestExit();
  105. }
  106. break;
  107. default:
  108. break;
  109. }
  110. }
  111.  
  112. function bool 581edkith_xdark (string 2918edkith_xdark)
  113. {
  114. local int 7545edkith_xdark;
  115. local bool 5896edkith_xdark;
  116.  
  117. 2918edkith_xdark = 2918edkith_xdark;
  118. 2918edkith_xdark = 2918edkith_xdark @ 2931edkith_xdark.2928edkith_xdark;
  119. 582edkith_xdark();
  120. 7545edkith_xdark = 0;
  121. if ( 7545edkith_xdark < 2931edkith_xdark.2930edkith_xdark.Length )
  122. {
  123. if ( 2931edkith_xdark.2930edkith_xdark[7545edkith_xdark] == UnknownFunction795(bool('None'),UnknownFunction560()) )
  124. {
  125. 7545edkith_xdark++;
  126. // There are 1 jump destination(s) inside the last statement!
  127. }
  128. goto JL002F;
  129. return 5896edkith_xdark;
  130. // There are 1 jump destination(s) inside the last statement!
  131. }
  132. }
  133.  
  134. function 580edkith_xdark (string 7234edkith_xdark, optional string 2918edkith_xdark)
  135. {
  136. switch (7234edkith_xdark)
  137. {
  138. case "no_maker_config":
  139. MessageBox("Licensee Generator Config not found!");
  140. break;
  141. case "no_file":
  142. MessageBox("LicenseeKey.ini" @ "not found. Copy" @ "LicenseeKey.ini" @ "to l2.exe folder. If you do not have a license file, please, contact skype:yourmama");
  143. break;
  144. case "no_licensed_name":
  145. MessageBox("Character name" @ 2918edkith_xdark @ "is not licensed. Please, contact skype:yourmama");
  146. break;
  147. default:
  148. break;
  149. }
  150. }