Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once('Pickle.php');
- $p = new Pickle();
- $BotName = "Ashley";
- $BotPass = "YouSillyGooseYouCantHaveMyPassword :D";
- $CPPSBot = "Trillion";
- define('LOGIN_SERVER', "184.22.251.146:6112");
- define('GAME_PORT', 6113);
- $p->connect($BotName, $BotPass, LOGIN_SERVER, GAME_PORT);
- echo "Welcome to the Live Feed Project CLI Version without SQL by Ashley\n\n";
- sleep(2);
- $p->joinRoom(100);
- $rooms = "100%110%111%120%121%130%200%220%221%230%300%310%320%330%400%410%411%800%801%802%803%804%805%806%807%808%809%810%420%421";
- $rooms = explode("%", $rooms);
- for ($i = 0; $i <= 29; $i++) {
- $p->joinRoom($rooms[$i]);
- $ourRoom = $globrooms[$rooms[$i]]['name'];
- echo "\nThere are ", sizeof($p->arrPlayers)-3," players in the $ourRoom\n";
- foreach($p->arrPlayers as $objPeng) {
- $user = $objPeng->getUsername();
- if ($user != NULL){
- if ($user != $BotName)
- if($user != $CPPSBot)
- echo $objPeng->getId(), ": $user\n";
- }
- unset($p->arrPlayers);
- }
- }
- print("\n>Done scanning rooms!\n");
- while(true) {}
- ?>
Add Comment
Please, Sign In to add comment