Coder Social home page Coder Social logo

turicfr / cpps-pcl Goto Github PK

View Code? Open in Web Editor NEW
39.0 10.0 12.0 216 KB

A Penguin Client Library for Club Penguin Private Servers written in Python

Python 99.49% HTML 0.51%
cpps python pcl club-penguin club-penguin-private-server penguin-client-library bot

cpps-pcl's People

Contributors

relrelb avatar turicfr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cpps-pcl's Issues

IO

How would I go about bypassing the reCAPTCHA on cpps.io?

help please

how on earth do i actually run this im a noob
would like if someone could Gide me

Cannot connect to CPO Server.

python login.py -r yes cpo
Username: wakababy13
Server: sleet
Connecting to login server at mail.cponline.pw:3724...
Failed to connect to login server at mail.cponline.pw:3724
Failed to connect

I don't think mail.cponline.pw is correct. seems like a mail server.

Adding more servers

Hey!

I was about to start coding on a alpha penguin bot tool when I discovered your bot tool! Can you Please add alpha penguin to the list. Here is the link alphapengu.in

PS.. Keep up your hard work!!

Acid,

not an issue

Do you know what hashing algoritm oasis uses?

Is it MD5 with a salt if so whats the salt?

cant login cpr

flash is unable to be enabled and keeps sending me to the download flash site when the link is clicked. cpr works on chrome and also doesn't work with cprflashenabler plugin installed.

this also get displayed;

CPPS: cpr
Server: blizzard
Shape: square
Logging in with 4 penguins...
DevTools listening on ws://127.0.0.1:53048/devtools/browser/9584e7db-a5a3-4775-a32c-1d2d185faa48 [0706/092824.612:ERROR:cef_log.cpp(16)] [Browser process] SetBounds() not implemented on this platform

Screenshot_418

CPPS-PCL may be archived.

Hey everyone!

I'm thinking from the last update to this repo that this project may be archived over the CPPS drama. Most CPPSes have already patched this program anyway so this repo is just history now...

Waddle On.

Item adder doesn't work in CPR

Hey, me again!

I can log in CPR now but the item adder doesn't work unless the item is currently obtainble ingame.
For example:
ai 452 will work because the Red Viking Helmet is currently obtainble ingame
ai 460 will not work because the Golden Viking helmet is not currently obtainble ingame

When you try to get an item that isn't obtaible the following shows in the terminal:

>>> ai 460
Adding item 460...
# Send: %xt%s%i#ai%205894%1720688%460%
# Receive: %xt%e%1720688%402%
Error #402: Item not exist

Adding a server

How do I find the Host IP, Login number and Server number?

IO

Doesn't connect to IO for some reason... saying connecting to login server then closes python after a few seconds? I sorted it.

Continued violation of our game rules

Hello,

I am writing to you to notify you that continued violation of the Club Penguin Rewritten rules will have your whole Internet Service Provider blocked, and we will write a letter to your current provider which is allowing this amount of dynamic IP addresses, and all of your IP addresses will be subjected to third party anti-spam services.

Per our Privacy Policy:

"In addition to the purposes described in Section 1, we may actively collect and use email addresses, messages sent by the child and user names to track usage and to ensure users are following the site’s Terms of Use. In addition, we may use an email address, IP address and user name to ban a user temporarily or permanently from the Club Penguin Rewritten website if that user engages in inappropriate conduct on the site. We also may use information in the aggregate to analyze site usage.
We may disclose information where we are required to do so by law, for example, in response to a court order or a subpoena, or where we disclose information to service providers or other group companies who provide support for the operations of our website and who do not use or disclose the information for any other purpose. To the extent permitted by applicable law, we also may disclose PII in response to a law enforcement agency’s or other public agency’s (including schools or children services) request or if we feel that such disclosure may prevent the instigation of a crime, facilitate an investigation related to public safety or protect the safety of a child using our website, protect the security or integrity of our website, or enable us to take precautions against liability.".

I would recommend stopping any activity and attacks on our servers before we get directly in contact with your Internet Service Provider & other third party spam services.

cant type password

i can enter username and server but no matter what i can't enter anything in the password

Error

So I can log in with my penguin and sometimes I get an error when I go to a room on the game, or sometimes when I run the script. Interesting. Want the snippet and versions? Thanks

CPR doesn't work

I log in with my credentials, I see that the connection has been established but I cannot input any commands. Tried both on W10 and Arch Linux

> Connecting to login server at server.cprewritten.net:6112...
> Logging in...
> Sending verChk request...
> # Send: <msg t="sys"><body action="verChk" r="0"><ver v="153" /></body></msg>
> # Receive: <msg t="sys"><body action="apiOK" r="0"></body></msg>
> Received apiOK response
> Sending rndK request...
> # Send: <msg t="sys"><body action="rndK" r="-1"></body></msg>
> # Receive: <msg t="sys"><body action="rndK" r="-1"><k>a94c5ed2140fc249ee3ce0729e19af5a</k></body></msg>
> Received rndK response: a94c5ed2140fc249ee3ce0729e19af5a
> # Send: <msg t="sys"><body action="login" r="0"><login z="w1"><nick><![CDATA[tashak97]]></nick><pword><![CDATA[65f53eb9a9487741b171341fbdce7dd8]]></pword></login></body></msg>
> # Receive: %xt%gs%-1%100,4|101,0|106,0|200,0|201,0|202,0|203,0|204,0|205,0|206,0|207,0|208,0|209,0|210,0|211,0|1337,0|8888,0|8889,0|9993,0%
> # Receive: %xt%ssa%5022150%AodPa6_aQPEt4j24bQ6LkMoLqbj2uAnQ%{2ba370fa-1d2e-93c7-5e35-4bae1792d157}%
> # Receive: %xt%l%-1%5022150%WZkYRbzFQYWs7d.SrMhgh8dg7C2rB-%%100,4|101,0|106,0|200,0|201,0|202,0|203,0|204,0|205,0|206,0|207,0|208,0|209,0|210,0|211,0|1337,0|8888,0|8889,0|9993,0%
> Logged in
> Connecting to game server at server.cprewritten.net:7001...
> Joining server...
> Sending verChk request...
> # Send: <msg t="sys"><body action="verChk" r="0"><ver v="153" /></body></msg>
> # Receive: <msg t="sys"><body action="apiOK" r="0"></body></msg>
> Received apiOK response
> Sending rndK request...
> # Send: <msg t="sys"><body action="rndK" r="-1"></body></msg>
> # Receive: <msg t="sys"><body action="rndK" r="-1"><k>3Y3rjFV6A</k></body></msg>
> Received rndK response: 3Y3rjFV6A
> # Send: <msg t="sys"><body action="login" r="0"><login z="w1"><nick><![CDATA[tashak97]]></nick><pword><![CDATA[d7c4531e78b6e40eef2638fef0c251bfWZkYRbzFQYWs7d.SrMhgh8dg7C2rB-]]></pword></login></body></msg>
> # Receive: %xt%l%-1%Club Penguin Rewritten%
> # Send: %xt%s%j#js%-1%5022150%WZkYRbzFQYWs7d.SrMhgh8dg7C2rB-%en%

Add CPL

Can you add the Club Penguin Legacy server into this?

ValueError that causes error in all other Client actions

I've already noticed that it happens both at the beginning, after logging in, and after a while during the runtime, during the add item script execution, for example.
An error example in the beginning (CPBrasil):

Connecting to login server at 188.165.206.119:9700...
Logging in...
Sending verChk request...
# Send: <msg t="sys"><body action="verChk" r="0"><ver v="153" /></body></msg>
# Receive: <msg t='sys'><body action='apiOK' r='0'></body></msg>
Received apiOK response
Sending rndK request...
# Send: <msg t="sys"><body action="rndK" r="-1"></body></msg>
# Receive: <msg t='sys'><body action='rndK' r='-1'><k>e4a2dbcca10a7246817a83cd</k></body></msg>
Received rndK response: e4a2dbcca10a7246817a83cd
# Send: <msg t="sys"><body action="login" r="0"><login z="w1"><nick><![CDATA[bot14092001]]></nick><pword><![CDATA[4fe3af99955627da0c7de79807d5442f]]></pword></login></body></msg>
# Receive: %xt%gbs%-1%bc|5%na|true%fe|true%%
# Receive: %xt%gbl%-1%319854|{f9683601-ee0f-4560-a4d4-602145e279f4}|k1ra|offline%202425|{3328796a-2b4f-4c36-8f25-2b5a4fb0a211}|duhx0210|offline%881811|{894f2b6c-6047-45bd-a57e-8178fc475f1e}|tigresavipbr|offline%905339|{40513c7a-a02a-4413-8e42-66a1d35cb53f}|mariagab4|offline%914035|{9c1402ec-792e-4335-ace5-ba4420100223}|spaceycher|offline%
# Receive: %xt%gbos%-1%102|102%
# Receive: %xt%l%-1%912917|4d0b0811-df47-428b-8b24-dbd3d8744209|bot14092001|4fe3af99955627da0c7de79807d5442f|NULL|45|2%13115924ab85df53ac335124794cc2b2%ef9bfd93109362e21be12fcd45f49bce%100,3|101,1|102,1%
Logged in
Connecting to game server at 188.165.206.119:9877...
Joining server...
Sending verChk request...
# Send: <msg t="sys"><body action="verChk" r="0"><ver v="153" /></body></msg>
# Receive: <msg t='sys'><body action='apiOK' r='0'></body></msg>
Received apiOK response
Sending rndK request...
# Send: <msg t="sys"><body action="rndK" r="-1"></body></msg>
# Receive: <msg t='sys'><body action='rndK' r='-1'><k>e4a2dbcca10a7246817a83cd</k></body></msg>
Received rndK response: e4a2dbcca10a7246817a83cd
# Send: <msg t="sys"><body action="login" r="0"><login z="w1"><nick><![CDATA[912917|4d0b0811-df47-428b-8b24-dbd3d8744209|bot14092001|4fe3af99955627da0c7de79807d5442f|NULL|45|2]]></nick><pword><![CDATA[89fe7fca94e4d7fc689da3e5323e87984fe3af99955627da0c7de79807d5442f#13115924ab85df53ac335124794cc2b2]]></pword></login></body></msg>
# Receive: %xt%l%-1%
# Send: %xt%s%j#js%-1%912917%4fe3af99955627da0c7de79807d5442f%en%
Joined server
Connected!
>>> # Receive: %xt%gs%-1%bc|6%na|true%fe|true%%
# Unhandled packet: %xt%gs%-1%bc|6%na|true%fe|true%%
# Receive: %xt%gb%-1%319854|{f9683601-ee0f-4560-a4d4-602145e279f4}|k1ra|offline%202425|{3328796a-2b4f-4c36-8f25-2b5a4fb0a211}|duhx0210|offline%881811|{894f2b6c-6047-45bd-a57e-8178fc475f1e}|tigresavipbr|offline%905339|{40513c7a-a02a-4413-8e42-66a1d35cb53f}|mariagab4|offline%914035|{9c1402ec-792e-4335-ace5-ba4420100223}|spaceycher|offline%|||offline%
# Unhandled packet: %xt%gb%-1%319854|{f9683601-ee0f-4560-a4d4-602145e279f4}|k1ra|offline%202425|{3328796a-2b4f-4c36-8f25-2b5a4fb0a211}|duhx0210|offline%881811|{894f2b6c-6047-45bd-a57e-8178fc475f1e}|tigresavipbr|offline%905339|{40513c7a-a02a-4413-8e42-66a1d35cb53f}|mariagab4|offline%914035|{9c1402ec-792e-4335-ace5-ba4420100223}|spaceycher|offline%|||offline%
# Receive: %xt%gbf%-1%
# Unhandled packet: %xt%gbf%-1%
# Receive: %xt%bon%-1%{3328796a-2b4f-4c36-8f25-2b5a4fb0a211}%202425%100%100%
# Receive: %xt%bon%-1%%100%100%
Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Python27\lib\threading.py", line 530, in __bootstrap_inner
    self.run()
  File "C:\Python27\lib\threading.py", line 483, in run
    self.__target(*self.__args, **self.__kwargs)
  File "C:\Users\filip\Desktop\CPPS-PCL-master\client.py", line 745, in _game
    thread.join()
  File "C:\Users\filip\Desktop\CPPS-PCL-master\client.py", line 23, in run
    super(_ExceptionThread, self).run(*args, **kwargs)
  File "C:\Python27\lib\threading.py", line 483, in run
    self.__target(*self.__args, **self.__kwargs)
  File "C:\Users\filip\Desktop\CPPS-PCL-master\client.py", line 51, in inner_handle
    self._callback(packet)
  File "C:\Users\filip\Desktop\CPPS-PCL-master\client.py", line 502, in _bon
    penguin_id = int(packet[4])
ValueError: invalid literal for int() with base 10: '{3328796a-2b4f-4c36-8f25-2b5a4fb0a211}'

After this error, all other actions return an error:

>>> coins
Current coins: -1
>>> buddies
Fetching buddies...
# Send: %xt%s%b#gb%-1%
Failed to fetch buddies
>>> igloo
Fetching player information...
# Send: %xt%s%u#gp%-1%912917%
Failed to fetch player information
Joining penguin #912917's igloo...
# Send: %xt%s%j#jp%-1%913917%
Failed to join penguin #912917's igloo
>>> penguins
Current penguins in room -1:

But apparently, even with an error message, the commands are sometimes executed successfully.

oasis

oasis seems to have patched. is it possible to change something to bypass it?

Error with 'walk' command in multi.py

I login to a CPPS with four penguins in order to use the 'square' shape, but whenever I try to use the 'walk' command from the shell, it gives me this error:
Traceback (most recent call last): File "multi.py", line 291, in <module> main() File "multi.py", line 278, in main msg = commands[command](clients, *params) File "multi.py", line 74, in walk for client, offset in zip(clients, shape["offsets"]): NameError: global name 'shape' is not defined

This isnt an issue

Would you be willing to tell me where i can edit the follow command so it doesnt clone when i choose to follow?

Invalid Syntax

Whenever I run this with Python 2.6 I get this issue. I installed all the modules listed here but this seems to be an issue with common.py.

File "C:\Users\John Doe\Desktop\pyth\common.py", line 73
indexed = {command._name: command for command in commands}

Add All

Can you add an add all feature for CPR ITEMS

How do I retrieve more server rooms?

Hello, I am wondering how do I retrieve more server rooms? For example CPO has

		"flurry": 7007,
		"alaska": 7002,
		"sleet": 7008

How do I know what number it is? 7002 is used for 2 servers then its 7008????

Not working for CPR

Seems like CPR has patched this script and the commands give Error #800 for Game Cheat.

Follow command

Not able to type in terminal when follow command is active. Unable to unfollow so i have to restart login.py

loving it tho thanks for sharing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.