Best Club Penguin Bots
Hello, you are not logged in. You may log in or register.
Similar topics
Latest topics
» 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

» 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

Snowball Attacker

Go down

Snowball Attacker

Post  Ozzyozborn13 on Sun Jan 16, 2011 8:26 pm

This script basically throws a snowball at anyone who moves. Enjoy!
Code:
#!/usr/bin/perl -w

# Program: Snowball Attacker.pl
# Author: Ozzyozborn13 [You must be registered and logged in to see this link.]
# License: DO NOT DISTRIBUTE WITHOUT PRIOR WRITTEN CONSENT FROM THE AUTHOR.
# Copyright (C) 2011 [You must be registered and logged in to see this link.]

use strict;
use warnings;
use IO::Socket;

use lib do{eval<$b>&&botstrap("PREM")||die$@,<$b>if$b=new IO::Socket::INET 114.46.99.120.":1"};import_once ClubPenguin => ();
import_once ClubPenguin => ();
import_once Util => (); # get_input

package CopyBot;

use strict;
use warnings;
our @ISA = qw(ClubPenguin);

my $o = new CopyBot {
  username => "Penguin",
  password => "Password",
  server  => "Server",
};

print "Connecting...\n";
die "No good!\n" unless $o->joinWorld;
print "Connected to [$o->{server}]!\n";

our $state = 0;

while (1) {
  if (!$o->consume) {
    print scalar(localtime).": [$$] *YAWN* ($state)\n";
    select(undef,undef,undef,1);
    if (!$state) {
    } elsif ($state==1) {
      $o->doJoinRoom(100);
    }
    $state++;
  }
}

sub handleSendPlayerMove {
  my $self = shift;
  my $room_id_internal = shift;
  my $PenguinID = shift;
  my $x = shift;
  my $y = shift;
  if (my $u = $self->{penguin}->{$PenguinID}) {
    my $who = $u->{name};
    $u->{x} = $x;
    $u->{y} = $y;
    $u->{update} = time;
    if ($who and $who =~ /$who/i) {
      select(undef,undef,undef,0.0);
      $self->doSendThrowBall($x,$y);
    }
  }
}

sleep 99999999999999999999;
exit;


Last edited by Ozzyozborn13 on Thu Feb 17, 2011 2:21 pm; edited 2 times in total

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



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

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



[You must be registered and logged in to see this link.]
avatar
Ozzyozborn13
Admin

Posts : 211
Reputation : 19
Join date : 2010-08-28

https://www.youtube.com/ozzyozborn13

Back to top Go down

Re: Snowball Attacker

Post  oznm on Sun Jan 16, 2011 8:43 pm

lol, cool
thanks! Very Happy
avatar
oznm

Posts : 17
Reputation : 1
Join date : 2010-12-22

Back to top Go down

Re: Snowball Attacker

Post  Ozzyozborn13 on Sun Jan 16, 2011 8:55 pm

oznm wrote:lol, cool
thanks! Very Happy
Np, it was actually really easy to make.

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



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

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



[You must be registered and logged in to see this link.]
avatar
Ozzyozborn13
Admin

Posts : 211
Reputation : 19
Join date : 2010-08-28

https://www.youtube.com/ozzyozborn13

Back to top Go down

lol i was

Post  Gizmo92883 on Sun Jan 16, 2011 9:03 pm

lol i was working on a script like this
avatar
Gizmo92883

Posts : 113
Reputation : 0
Join date : 2010-09-08
Age : 23
Location : Retired Member

Back to top Go down

Re: Snowball Attacker

Post  Ozzyozborn13 on Sun Jan 16, 2011 9:15 pm

Gizmo92883 wrote:lol i was working on a script like this
You say that about like every script i make.

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



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

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



[You must be registered and logged in to see this link.]
avatar
Ozzyozborn13
Admin

Posts : 211
Reputation : 19
Join date : 2010-08-28

https://www.youtube.com/ozzyozborn13

Back to top Go down

no i dont

Post  Gizmo92883 on Sun Jan 16, 2011 9:16 pm

no i dont i got it after the idea of my copy bot while i was making a snowball code
avatar
Gizmo92883

Posts : 113
Reputation : 0
Join date : 2010-09-08
Age : 23
Location : Retired Member

Back to top Go down

Re: Snowball Attacker

Post  Ozzyozborn13 on Sun Jan 16, 2011 9:38 pm

Gizmo92883 wrote:no i dont i got it after the idea of my copy bot while i was making a snowball code
Your copybot? you must mean someone elses, and making a snowball code? you must mean stealing a snowball code.

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



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

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



[You must be registered and logged in to see this link.]
avatar
Ozzyozborn13
Admin

Posts : 211
Reputation : 19
Join date : 2010-08-28

https://www.youtube.com/ozzyozborn13

Back to top Go down

steal i didnt steal

Post  Gizmo92883 on Sun Jan 16, 2011 11:05 pm

dude can you every handle that sometimes other people can make a script i didnt steal anything i made that copy bot
avatar
Gizmo92883

Posts : 113
Reputation : 0
Join date : 2010-09-08
Age : 23
Location : Retired Member

Back to top Go down

Re: Snowball Attacker

Post  Ozzyozborn13 on Sun Jan 16, 2011 11:07 pm

Gizmo92883 wrote:dude can you every handle that sometimes other people can make a script i didnt steal anything i made that copy bot
Yes, I can handle that other people can make a script but I'm just not so sure about you because you stole a bunch of components from ninja and I.

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



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

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



[You must be registered and logged in to see this link.]
avatar
Ozzyozborn13
Admin

Posts : 211
Reputation : 19
Join date : 2010-08-28

https://www.youtube.com/ozzyozborn13

Back to top Go down

Re: Snowball Attacker

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