Need a variable or function for a rainbow formation bots

Having trouble running a script? Are you unable to install PCL? Post here with your problem.

Need a variable or function for a rainbow formation bots

Postby CP-Cheater » Thu Dec 17, 2009 6:16 pm

I'm currently trying to make some bots or formation bots that change color every 1 or 2 seconds and it's supposed to do every color in the game, I did successfully made this script before, but it seems like that its there, I can't get the correct variable in where it's supposed to be, and yes I made it before in R-2.

~CP-Cheater
Want to make a burning laser, go here: http://www.laserpointerforums.com

#1 site for making dare devilish lasers, has other shizz as well.
User avatar
CP-Cheater
Trusted User
 
Posts: 99
Joined: Fri Aug 07, 2009 11:42 am
Cash on hand: 300.00
Location: Look behind you!
Programming Skills: PHP(Getting near to fluent), Visual Basic 6(Very Fluent)

Re: Need a variable or function for a rainbow formation bots

Postby Adam » Thu Dec 17, 2009 9:09 pm

Put a bunch of updateColor's in a while true. Bam.
..::Å∂åm::.. <3 
User avatar
Adam
Forum Administrator
 
Posts: 593
Joined: Mon Jul 27, 2009 6:32 pm
Cash on hand: 1,589.53
Bank: 12,062.98
Location: Ohio, USA
Programming Skills: PHP, HTML, CSS.

Re: Need a variable or function for a rainbow formation bots

Postby Mike » Fri Dec 18, 2009 2:35 pm

What Adam said, but make sure you have a long enough sleep. You used to be able to change your colors very rapidly but Club Penguin it so you would get disconnected if you try.
User avatar
Mike
Dev Team
Dev Team
 
Posts: 105
Joined: Sun Jul 26, 2009 1:53 pm
Cash on hand: 839.01

Re: Need a variable or function for a rainbow formation bots

Postby Adam » Fri Dec 18, 2009 2:51 pm

Mike wrote:What Adam said, but make sure you have a long enough sleep. You used to be able to change your colors very rapidly but Club Penguin it so you would get disconnected if you try.


Wonderful Anti-DDoS shit :\.

Oh, make sure you update the packet for all of the update functions - they're incorrect.
..::Å∂åm::.. <3 
User avatar
Adam
Forum Administrator
 
Posts: 593
Joined: Mon Jul 27, 2009 6:32 pm
Cash on hand: 1,589.53
Bank: 12,062.98
Location: Ohio, USA
Programming Skills: PHP, HTML, CSS.

Re: Need a variable or function for a rainbow formation bots

Postby bedbed » Sun Dec 20, 2009 12:14 pm

Mike wrote:What Adam said, but make sure you have a long enough sleep. You used to be able to change your colors very rapidly but Club Penguin it so you would get disconnected if you try.


4.1 seconds should work.
Lower than that you will get disconnected.
Image
^^Online Moneymaker, Mascot Tracker, Item DB, Penguin DB/tracker, and my favorite, Virtual View, all bundled up together to make the greatest site ever, PenguinVault.org
bedbed
Trusted User
 
Posts: 128
Joined: Sun Jul 26, 2009 8:15 am
Cash on hand: 98.17
Bank: 35,101.25
Programming Skills: PHP and C++

Re: Need a variable or function for a rainbow formation bots

Postby CP-Cheater » Sat Jan 16, 2010 2:01 pm

Adam helped me the most, but it's not what I'm looking for, Adam was correct, 2 problems, I'm very rusty at PHP and I don't know where to put the variables that Adam said, if someone would give me a example script, I should be good to go. :)
Want to make a burning laser, go here: http://www.laserpointerforums.com

#1 site for making dare devilish lasers, has other shizz as well.
User avatar
CP-Cheater
Trusted User
 
Posts: 99
Joined: Fri Aug 07, 2009 11:42 am
Cash on hand: 300.00
Location: Look behind you!
Programming Skills: PHP(Getting near to fluent), Visual Basic 6(Very Fluent)

Re: Need a variable or function for a rainbow formation bots

Postby Billybob1234 » Sat Jan 16, 2010 2:47 pm

CP-Cheater wrote:Adam helped me the most, but it's not what I'm looking for, Adam was correct, 2 problems, I'm very rusty at PHP and I don't know where to put the variables that Adam said, if someone would give me a example script, I should be good to go. :)


*Facepalm* How can you be more clear than put updateColor functions in a while loop? If you can't do that, then GTFO.
Image
Billybob1234
Support Team
Support Team
 
Posts: 153
Joined: Sun Jul 26, 2009 8:49 pm
Cash on hand: 43.09
Bank: 18,904.91
Location: Wisconsin
Programming Skills: PHP, HTML, CSS

Re: Need a variable or function for a rainbow formation bots

Postby Adam » Sat Jan 16, 2010 2:59 pm

You should know by now that no one here will ever give out scripts. You have to learn how to do it yourself. I think what I told you was really straight-forward - if you can't put a bunch of updateColor's in a while(true), then you need to leave. I don't know how you could possibly have a problem with doing that...

@Venom: It's /facepalm.
..::Å∂åm::.. <3 
User avatar
Adam
Forum Administrator
 
Posts: 593
Joined: Mon Jul 27, 2009 6:32 pm
Cash on hand: 1,589.53
Bank: 12,062.98
Location: Ohio, USA
Programming Skills: PHP, HTML, CSS.

Re: Need a variable or function for a rainbow formation bots

Postby GaToR » Sat Jan 16, 2010 3:20 pm

I'm not sure if I read this correctly, but you were trying to make a "rainbow penguin", amirite? If so, so that we don't have you posting back about "lolwut? i dunt get it//??SHIFT"
Code: Select all
while(true) {
$p->updateColor();
sleep(5);
$p->updateColor();
sleep(5);
$p->updateColor()
and so on.. I don't know if updateColor is the exact function, but I'm guessing it is, I didn't check the tasks.php.. It really was not that hard of a concept to understand, anyway. They said put updateColor() into a while(true). It wasn't that hard..

BTW: As Adam said, don't expect people to hand you codes. The only reason I'm giving it to you is because I don't want to see your "i dunt get it", as I said before.
If you need help with a script or an error, PM me. If you'd rather have instant help, check my user profile, my AIM is listed on there, just IM me there. :D
User avatar
GaToR
Support Team
Support Team
 
Posts: 397
Joined: Sat Jul 25, 2009 9:37 am
Cash on hand: 2,103.80
Location: Florida
Programming Skills: PHP, HTML, Java(Beginner)

Re: Need a variable or function for a rainbow formation bots

Postby Billybob1234 » Sun Jan 17, 2010 12:23 pm

Adam wrote:You should know by now that no one here will ever give out scripts. You have to learn how to do it yourself. I think what I told you was really straight-forward - if you can't put a bunch of updateColor's in a while(true), then you need to leave. I don't know how you could possibly have a problem with doing that...

@Venom: It's /facepalm.


Fine.

@CP-Cheater /facepalm

Happy now?
Image
Billybob1234
Support Team
Support Team
 
Posts: 153
Joined: Sun Jul 26, 2009 8:49 pm
Cash on hand: 43.09
Bank: 18,904.91
Location: Wisconsin
Programming Skills: PHP, HTML, CSS

Next

Return to Help and Support

Who is online

Users browsing this forum: No registered users and 1 guest