Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [00:07:35] >> Zone 86 - Captured: 46.64% - Difficulty: 3
- [00:07:35] >> Top clans: SteamDB, steamuniverse, SteamCN, summersaliens, reddit
- 1 file(s) copied.
- SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
- syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
- --2018-06-23 00:08:34-- http://raw.githubusercontent.com/SteamDatabase/SalienCheat/master/cheat.php
- Распознаётся raw.githubusercontent.com... 151.101.36.133
- Устанавливается соединение с raw.githubusercontent.com|151.101.36.133|:80... сбой: Connection refused.
- Comparing files UPDATE\cheatnew.php and UPDATE\CHEATOLD.PHP
- Resync Failed. Files are too different.
- ***** UPDATE\cheatnew.php
- ***** UPDATE\CHEATOLD.PHP
- <?php
- set_time_limit( 0 );
- if( !file_exists( __DIR__ . '/cacert.pem' ) )
- {
- Msg( 'You forgot to download cacert.pem file' );
- exit( 1 );
- }
- $EnvToken = getenv('TOKEN');
- if( $argc === 2 )
- {
- $Token = $argv[ 1 ];
- }
- else if( is_string( $EnvToken ) )
- {
- // if the token was provided as an env var, use it
- $Token = $EnvToken;
- }
- else
- {
- // otherwise, read it from disk
- $Token = trim( file_get_contents( __DIR__ . '/token.txt' ) );
- $ParsedToken = json_decode( $Token, true );
- if( is_string( $ParsedToken ) )
- {
- $Token = $ParsedToken;
- }
- else if( isset( $ParsedToken[ 'token' ] ) )
- {
- $Token = $ParsedToken[ 'token' ];
- }
- unset( $ParsedToken );
- }
- unset( $EnvToken );
- if( strlen( $Token ) !== 32 )
- {
- Msg( 'Failed to find your token. Verify token.txt' );
- exit( 1 );
- }
- Msg( '{green}This script will not work until you have joined our group:' );
- Msg( '{yellow}https://steamcommunity.com/groups/SteamDB', PHP_EOL . PHP_EOL );
- $SkippedPlanets = [];
- $CurrentPlanetName = '??';
- lol_using_goto_in_2018:
- $LastRestart = time();
- do
- {
- $CurrentPlanet = GetFirstAvailablePlanet( $SkippedPlanets );
- }
- while( !$CurrentPlanet && sleep( 5 ) === 0 );
- // Leave current game before trying to switch planets (it will report InvalidState otherwise)
- LeaveCurrentGame( $Token, true );
- SendPOST( 'ITerritoryControlMinigameService/JoinPlanet', 'id=' . $CurrentPlanet . '&access_token=' . $Token );
- // Set the planet to what Steam thinks is the active one, even though we sent JoinPlanet request
- $CurrentPlanet = LeaveCurrentGame( $Token, false );
- do
- {
- echo PHP_EOL;
- // Check for a new planet every hour
- if( time() - $LastRestart > 3600 )
- {
- Msg( '{lightred}!! Idled this planet for one hour, restarting to check for new planets' );
- goto lol_using_goto_in_2018;
- }
- do
- {
- $Zone = GetFirstAvailableZone( $CurrentPlanet );
- }
- while( $Zone === null && sleep( 5 ) === 0 );
- if( $Zone === false )
- {
- $SkippedPlanets[ $CurrentPlanet ] = true;
- Msg( '{lightred}!! There are no zones to join in this planet, restarting...' );
- goto lol_using_goto_in_2018;
- }
- // Find a new planet if there are no hard zones left
- $HardZones = $Zone[ 'hard_zones' ];
- *****
- SUCCESS: The process with PID 24568 (child process of PID 25540) has been terminated.
- SUCCESS: The process with PID 25592 (child process of PID 25540) has been terminated.
- SUCCESS: The process with PID 25320 (child process of PID 25540) has been terminated.
- SUCCESS: The process with PID 20140 (child process of PID 25540) has been terminated.
- SUCCESS: The process with PID 19788 (child process of PID 25540) has been terminated.
- SUCCESS: The process with PID 22524 (child process of PID 25540) has been terminated.
- 1 file(s) copied.
- 1 file(s) copied.
- SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
- syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
- --2018-06-23 00:08:36-- http://raw.githubusercontent.com/SteamDatabase/SalienCheat/master/cheat.php
- Распознаётся raw.githubusercontent.com... 151.101.36.133
- Устанавливается соединение с raw.githubusercontent.com|151.101.36.133|:80... соединение установлено.
- Запрос HTTP послан, ожидается ответ... 301 Moved Permanently
- Адрес: https://raw.githubusercontent.com/SteamDatabase/SalienCheat/master/cheat.php [переход]
- --2018-06-23 00:08:38-- https://raw.githubusercontent.com/SteamDatabase/SalienCheat/master/cheat.php
- Устанавливается соединение с raw.githubusercontent.com|151.101.36.133|:443... сбой: Connection refused.
- Распознаётся raw.githubusercontent.com... 151.101.36.133
- Устанавливается соединение с raw.githubusercontent.com|151.101.36.133|:443... сбой: Connection refused.
- Comparing files UPDATE\cheatnew.php and UPDATE\CHEATOLD.PHP
- FC: no differences encountered
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement