Similar topics
Latest topics
Club Penguin Events
Advertisement
Php Formation Script * 2011 Working Square.
4 posters
Page 1 of 1
Php Formation Script * 2011 Working Square.
- 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- Posts : 115
Reputation : 3
Join date : 2011-01-29
Age : 25
Location : Quit.
Re: Php Formation Script * 2011 Working Square.
Epic script, thanks.
Bolt Hugs- Posts : 117
Reputation : 3
Join date : 2011-06-25
Your Welcome.
Your Welcome i Edited the script to hold 8 accounts in one Script By The Way The Formation is The Square FormationBolt Hugs wrote:Epic script, thanks.
Don't Forget To put your id and Penguins Usernames And Passes in.
Clndestne121- Posts : 115
Reputation : 3
Join date : 2011-01-29
Age : 25
Location : Quit.
Re: Php Formation Script * 2011 Working Square.
Yup, it's quicker to get 9 accounts, so thanks for cutting it down for us.
And how could I forget?
And how could I forget?
Bolt Hugs- Posts : 117
Reputation : 3
Join date : 2011-06-25
Re: Php Formation Script * 2011 Working Square.
I'm going to use this formation script now.
Bolt Hugs- Posts : 117
Reputation : 3
Join date : 2011-06-25
Bolt Hugs- Posts : 117
Reputation : 3
Join date : 2011-06-25
Re: Php Formation Script * 2011 Working Square.
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?!
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
Similar topics
» New bot maker not php not perl created by me "All of my trainers are dead and i will not be fixing them"
» (This is not my script) i just made the formation (Bot Army)
» Php Money Maker * Working 2011
» (This is not my script) i just made the formation (Bot Army)
» Php Money Maker * Working 2011
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Tue Feb 05, 2019 5:36 am by Gizmo92883
» Anybody else come to this forum for the memories?
Tue Jun 12, 2018 12:07 am by Cooldude21
» 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