Best Club Penguin Bots
Hello, you are not logged in. You may log in or register.
Latest topics
» Anybody else come to this forum for the memories?
Tue Aug 29, 2017 11:47 am by sudhi578

» This forum died
Thu Mar 30, 2017 11:10 pm by _Skate_

» Introduce yourselves!
Fri Jan 23, 2015 7:21 pm by Gizmo92883

» Ozzy's Bot Script
Mon May 13, 2013 8:31 am by Pig

» Goodbye BCPB Forums.
Tue Sep 18, 2012 6:37 pm by 43nînjâ17

» Follow bot script (100% Credit to Cp-Cheater )
Sun Sep 16, 2012 4:55 pm by Dentonbrooks

» Xat Main Owner Hacker
Fri Aug 17, 2012 2:32 am by 43nînjâ17

» xat message big
Sat Aug 11, 2012 12:32 am by 43nînjâ17

» CPPS GLICH "Auto Talker"
Sat Aug 11, 2012 12:25 am by 43nînjâ17

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Club Penguin Events
Advertisement

Php Formation Script * 2011 Working Square.

View previous topic View next topic Go down

Php Formation Script * 2011 Working Square.

Post  Clndestne121 on Wed Sep 21, 2011 8:16 pm

Code:
<?php
$pclkey = 'betas';
require_once("Pickle.php");
/*
*
* This script
*
* This script was made with the Penguin Client Library, found at http://www.penguinclientsystem.com/
* You will need 8 accounts :-)
*
* @author test
* @version 0.0.2
*/
// Script configuration
// Enter the target ID, most likely your ID
$intTarget = 000000000;
// Enter the account information
$arrUsernames[1] = 'penguin';
$arrPasswords[1] = 'password';
$arrUsernames[2] = 'penguin';
$arrPasswords[2] = 'password';
$arrUsernames[3] = 'penguin';
$arrPasswords[3] = 'password';
$arrUsernames[4] = 'penguin';
$arrPasswords[4] = 'password';
$arrUsernames[5] = 'penguin';
$arrPasswords[5] = 'password';
$arrUsernames[6] = 'penguin';
$arrPasswords[6] = 'password';
$arrUsernames[7] = 'penguin';
$arrPasswords[7] = 'password';
$arrUsernames[8] = 'penguin';
$arrPasswords[8] = 'password';



$strServer = 'Slushy';
// Please, do not edit below this line
// Loop to login the accounts
for($i = 1; $i <= 8; $i++) {
  $p[$i] = new Pickle;
  $intLogin = $p[$i]->connect($arrUsernames[$i], $arrPasswords[$i], $strServer);
  if($intLogin != -1) {
          die($intLogin);
        }
  $p[$i]->joinRoom(800);
  echo $arrUsernames[$i], '  is at the dock!\n';
  sleep(1);
}
echo 'We now have 8 accounts online at the dock...\n';
echo 'Now detecting ingame input of  ', $intTarget, '...\n';
// Loop for input detection
while(true) {
  $rawPack = $p[1]->readRawPacket();
  if (stripos($rawPack, "xt%sp%". $p[1]->intRoomID . "%" . $intTarget)) {
              $x = $p[1]->stribet($rawPack, "%xt%sp%" . $p[1]->intRoomID . "%" . $intTarget . "%", "%");
              $y = $p[1]->stribet($rawPack, "%xt%sp%" . $p[1]->intRoomID . "%" . $intTarget . "%" . $x . "%", "%");
      // The first "P"
          $p[1]->sendPosition($x+45, $y+0);
          $p[2]->sendPosition($x-45, $y+0);
          $p[3]->sendPosition($x+45, $y+45);
          $p[4]->sendPosition($x+45, $y-45);
          $p[5]->sendPosition($x+0, $y+45);
          $p[6]->sendPosition($x+0, $y-45);
          $p[7]->sendPosition($x-45, $y-45);
          $p[8]->sendPosition($x-45, $y+45);
  } elseif (stripos($rawPack, "xt%sf%" . $p[1]->intRoomID . "%" . $intTarget)) {
            $id = $p[1]->stribet($rawPack, "%xt%sf%" . $p[1]->intRoomID . "%" . $intTarget . "%", "%");
      for($i = 1; $i <= 8; $i++) {
              $p[$i]->sendFrame($id);
      }
        } elseif (stripos($rawPack, "xt%sa%" . $p[1]->intRoomID . "%" . $intTarget)) {
            $id = $p[1]->stribet($rawPack, "%xt%sa%" . $p[1]->intRoomID . "%" . $intTarget . "%", "%");
      for($i = 1; $i <= 8; $i++) {
              $p[$i]->sendAction($id);
      }
        }  elseif (stripos($rawPack, "xt%sm%" . $p[1]->intRoomID . "%" . $intTarget)){
            $message = $p[1]->stribet($rawPack, "%xt%sm%" . $p[1]->intRoomID . "%" . $intTarget . "%", "%");
      for($i = 1; $i <= 8; $i++) {
              $p[$i]->sendMessage($message);
      }
  } elseif (stripos($rawPack, "xt%sb%" . $p[1]->intRoomID . "%" . $intTarget)) {
            $x = $p[1]->stribet($rawPack, "%xt%sb%" . $p[1]->intRoomID . "%" . $intTarget . "%", "%");
            $y = $p[1]->stribet($rawPack, "%xt%sb%" . $p[1]->intRoomID . "%" . $intTarget . "%". $x . "%", "%");
      for($i = 1; $i <= 8; $i++) {
              $p[$i]->snowBall($x, $y);
      }
  } elseif (stripos($rawPack, "xt%bf%" . $p[1]->intRoomID . "%")) {
            $intRoom = $p[1]->stribet($rawPack, "%xt%bf%" . $p[1]->intRoomID . "%", "%");
      for($i = 1; $i <= 8; $i++) {
                $p[$i]->joinRoom($intRoom);
      }
  } elseif (stripos($rawPack, "xt%se%". $p[1]->intRoomID . "%" . $intTarget)) {
            $id = $p[1]->stribet($rawPack, "%xt%se%" . $p[1]->intRoomID . "%" . $intTarget . "%", "%");
      for($i = 1; $i <= 8; $i++) {
              $p[$i]->sendEmote($id);
      }
  }
}
?>


Last edited by Clndestne121 on Fri Sep 23, 2011 8:18 pm; edited 3 times in total
avatar
Clndestne121

Posts : 115
Reputation : 3
Join date : 2011-01-29
Age : 19
Location : Quit.

Back to top Go down

Re: Php Formation Script * 2011 Working Square.

Post  Bolt Hugs on Wed Sep 21, 2011 8:22 pm

Epic script, thanks.

_________________
[You must be registered and logged in to see this image.]

Bolt Hugs

Posts : 117
Reputation : 3
Join date : 2011-06-25

Back to top Go down

Your Welcome.

Post  Clndestne121 on Wed Sep 21, 2011 8:25 pm

Bolt Hugs wrote:Epic script, thanks.
Your Welcome i Edited the script to hold 8 accounts in one Script By The Way The Formation is The Square Formation
Don't Forget To put your id and Penguins Usernames And Passes in.
avatar
Clndestne121

Posts : 115
Reputation : 3
Join date : 2011-01-29
Age : 19
Location : Quit.

Back to top Go down

Re: Php Formation Script * 2011 Working Square.

Post  Bolt Hugs on Wed Sep 21, 2011 8:27 pm

Yup, it's quicker to get 9 accounts, so thanks for cutting it down for us.
And how could I forget? bounce

_________________
[You must be registered and logged in to see this image.]

Bolt Hugs

Posts : 117
Reputation : 3
Join date : 2011-06-25

Back to top Go down

Re: Php Formation Script * 2011 Working Square.

Post  Bolt Hugs on Wed Sep 21, 2011 8:30 pm

I'm going to use this formation script now. Smile

_________________
[You must be registered and logged in to see this image.]

Bolt Hugs

Posts : 117
Reputation : 3
Join date : 2011-06-25

Back to top Go down

Re: Php Formation Script * 2011 Working Square.

Post  Bolt Hugs on Wed Sep 21, 2011 8:34 pm

lol!

_________________
[You must be registered and logged in to see this image.]

Bolt Hugs

Posts : 117
Reputation : 3
Join date : 2011-06-25

Back to top Go down

Re: Php Formation Script * 2011 Working Square.

Post  wolfwv on Wed Oct 19, 2011 8:08 pm

GAAH
I filled it out but when i open it with php,
A screen that looks like from perl pops up even though its php
than closes instantly
i've tried everything
how do i fix this?!

wolfwv

Posts : 3
Reputation : 0
Join date : 2011-08-17

Back to top Go down

How do you....

Post  Username123456 on Sun Nov 13, 2011 8:43 pm

How do you copy it?

Username123456

Posts : 17
Reputation : 0
Join date : 2011-11-11

Back to top Go down

Re: Php Formation Script * 2011 Working Square.

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum