Best Club Penguin Bots
Hello, you are not logged in. You may log in or register.

Join the forum, it's quick and easy

Best Club Penguin Bots
Hello, you are not logged in. You may log in or register.
Best Club Penguin Bots
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Latest topics
» Add me on discord if you want to catch up!
Php Formation Script * 2011 Working Square. EmptyTue Feb 05, 2019 5:36 am by Gizmo92883

» Anybody else come to this forum for the memories?
Php Formation Script * 2011 Working Square. EmptyTue Jun 12, 2018 12:07 am by Cooldude21

» This forum died
Php Formation Script * 2011 Working Square. EmptyThu Mar 30, 2017 11:10 pm by _Skate_

» Introduce yourselves!
Php Formation Script * 2011 Working Square. EmptyFri Jan 23, 2015 7:21 pm by Gizmo92883

» Ozzy's Bot Script
Php Formation Script * 2011 Working Square. EmptyMon May 13, 2013 8:31 am by Pig

» Goodbye BCPB Forums.
Php Formation Script * 2011 Working Square. EmptyTue Sep 18, 2012 6:37 pm by 43nînjâ17

» Follow bot script (100% Credit to Cp-Cheater )
Php Formation Script * 2011 Working Square. EmptySun Sep 16, 2012 4:55 pm by Dentonbrooks

» Xat Main Owner Hacker
Php Formation Script * 2011 Working Square. EmptyFri Aug 17, 2012 2:32 am by 43nînjâ17

» xat message big
Php Formation Script * 2011 Working Square. EmptySat Aug 11, 2012 12:32 am by 43nînjâ17

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Club Penguin Events
Advertisement

Php Formation Script * 2011 Working Square.

4 posters

Go down

Php Formation Script * 2011 Working Square. Empty Php Formation Script * 2011 Working Square.

Post  Clndestne121 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
Clndestne121
Clndestne121

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

Back to top Go down

Php Formation Script * 2011 Working Square. Empty Re: Php Formation Script * 2011 Working Square.

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

Epic script, thanks.

Bolt Hugs

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

Back to top Go down

Php Formation Script * 2011 Working Square. Empty Your Welcome.

Post  Clndestne121 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.
Clndestne121
Clndestne121

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

Back to top Go down

Php Formation Script * 2011 Working Square. Empty Re: Php Formation Script * 2011 Working Square.

Post  Bolt Hugs 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

Bolt Hugs

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

Back to top Go down

Php Formation Script * 2011 Working Square. Empty Re: Php Formation Script * 2011 Working Square.

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

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

Bolt Hugs

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

Back to top Go down

Php Formation Script * 2011 Working Square. Empty Re: Php Formation Script * 2011 Working Square.

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

lol!

Bolt Hugs

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

Back to top Go down

Php Formation Script * 2011 Working Square. Empty Re: Php Formation Script * 2011 Working Square.

Post  wolfwv 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

Php Formation Script * 2011 Working Square. Empty How do you....

Post  Username123456 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

Php Formation Script * 2011 Working Square. Empty Re: Php Formation Script * 2011 Working Square.

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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