Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.94 KB | None | 0 0
  1. [00:07:35] >> Zone 86 - Captured: 46.64% - Difficulty: 3
  2. [00:07:35] >> Top clans: SteamDB, steamuniverse, SteamCN, summersaliens, reddit
  3. 1 file(s) copied.
  4. SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
  5. syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
  6. --2018-06-23 00:08:34-- http://raw.githubusercontent.com/SteamDatabase/SalienCheat/master/cheat.php
  7. Распознаётся raw.githubusercontent.com... 151.101.36.133
  8. Устанавливается соединение с raw.githubusercontent.com|151.101.36.133|:80... сбой: Connection refused.
  9. Comparing files UPDATE\cheatnew.php and UPDATE\CHEATOLD.PHP
  10. Resync Failed. Files are too different.
  11. ***** UPDATE\cheatnew.php
  12. ***** UPDATE\CHEATOLD.PHP
  13. <?php
  14.  
  15. set_time_limit( 0 );
  16.  
  17. if( !file_exists( __DIR__ . '/cacert.pem' ) )
  18. {
  19. Msg( 'You forgot to download cacert.pem file' );
  20. exit( 1 );
  21. }
  22.  
  23. $EnvToken = getenv('TOKEN');
  24.  
  25. if( $argc === 2 )
  26. {
  27. $Token = $argv[ 1 ];
  28. }
  29. else if( is_string( $EnvToken ) )
  30. {
  31. // if the token was provided as an env var, use it
  32. $Token = $EnvToken;
  33. }
  34. else
  35. {
  36. // otherwise, read it from disk
  37. $Token = trim( file_get_contents( __DIR__ . '/token.txt' ) );
  38. $ParsedToken = json_decode( $Token, true );
  39.  
  40. if( is_string( $ParsedToken ) )
  41. {
  42. $Token = $ParsedToken;
  43. }
  44. else if( isset( $ParsedToken[ 'token' ] ) )
  45. {
  46. $Token = $ParsedToken[ 'token' ];
  47. }
  48.  
  49. unset( $ParsedToken );
  50. }
  51.  
  52. unset( $EnvToken );
  53.  
  54. if( strlen( $Token ) !== 32 )
  55. {
  56. Msg( 'Failed to find your token. Verify token.txt' );
  57. exit( 1 );
  58. }
  59.  
  60. Msg( '{green}This script will not work until you have joined our group:' );
  61. Msg( '{yellow}https://steamcommunity.com/groups/SteamDB', PHP_EOL . PHP_EOL );
  62.  
  63. $SkippedPlanets = [];
  64. $CurrentPlanetName = '??';
  65.  
  66. lol_using_goto_in_2018:
  67.  
  68. $LastRestart = time();
  69.  
  70. do
  71. {
  72. $CurrentPlanet = GetFirstAvailablePlanet( $SkippedPlanets );
  73. }
  74. while( !$CurrentPlanet && sleep( 5 ) === 0 );
  75.  
  76. // Leave current game before trying to switch planets (it will report InvalidState otherwise)
  77. LeaveCurrentGame( $Token, true );
  78.  
  79. SendPOST( 'ITerritoryControlMinigameService/JoinPlanet', 'id=' . $CurrentPlanet . '&access_token=' . $Token );
  80.  
  81. // Set the planet to what Steam thinks is the active one, even though we sent JoinPlanet request
  82. $CurrentPlanet = LeaveCurrentGame( $Token, false );
  83.  
  84. do
  85. {
  86. echo PHP_EOL;
  87.  
  88. // Check for a new planet every hour
  89. if( time() - $LastRestart > 3600 )
  90. {
  91. Msg( '{lightred}!! Idled this planet for one hour, restarting to check for new planets' );
  92.  
  93. goto lol_using_goto_in_2018;
  94. }
  95.  
  96. do
  97. {
  98. $Zone = GetFirstAvailableZone( $CurrentPlanet );
  99. }
  100. while( $Zone === null && sleep( 5 ) === 0 );
  101.  
  102. if( $Zone === false )
  103. {
  104. $SkippedPlanets[ $CurrentPlanet ] = true;
  105.  
  106. Msg( '{lightred}!! There are no zones to join in this planet, restarting...' );
  107.  
  108. goto lol_using_goto_in_2018;
  109. }
  110.  
  111. // Find a new planet if there are no hard zones left
  112. $HardZones = $Zone[ 'hard_zones' ];
  113. *****
  114.  
  115. SUCCESS: The process with PID 24568 (child process of PID 25540) has been terminated.
  116. SUCCESS: The process with PID 25592 (child process of PID 25540) has been terminated.
  117. SUCCESS: The process with PID 25320 (child process of PID 25540) has been terminated.
  118. SUCCESS: The process with PID 20140 (child process of PID 25540) has been terminated.
  119. SUCCESS: The process with PID 19788 (child process of PID 25540) has been terminated.
  120. SUCCESS: The process with PID 22524 (child process of PID 25540) has been terminated.
  121. 1 file(s) copied.
  122. 1 file(s) copied.
  123. SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
  124. syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
  125. --2018-06-23 00:08:36-- http://raw.githubusercontent.com/SteamDatabase/SalienCheat/master/cheat.php
  126. Распознаётся raw.githubusercontent.com... 151.101.36.133
  127. Устанавливается соединение с raw.githubusercontent.com|151.101.36.133|:80... соединение установлено.
  128. Запрос HTTP послан, ожидается ответ... 301 Moved Permanently
  129. Адрес: https://raw.githubusercontent.com/SteamDatabase/SalienCheat/master/cheat.php [переход]
  130. --2018-06-23 00:08:38-- https://raw.githubusercontent.com/SteamDatabase/SalienCheat/master/cheat.php
  131. Устанавливается соединение с raw.githubusercontent.com|151.101.36.133|:443... сбой: Connection refused.
  132. Распознаётся raw.githubusercontent.com... 151.101.36.133
  133. Устанавливается соединение с raw.githubusercontent.com|151.101.36.133|:443... сбой: Connection refused.
  134. Comparing files UPDATE\cheatnew.php and UPDATE\CHEATOLD.PHP
  135. FC: no differences encountered
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement