turicfr / CPPS-PCL

A Penguin Client Library for Club Penguin Private Servers written in Python
42 stars 12 forks source link

How do I retrieve more server rooms? #33

Closed mikey1665 closed 4 years ago

mikey1665 commented 4 years ago

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????

relrelb commented 4 years ago

Hello, thank you for using my project!

This number represents the port number of a specific game server, and it can be completely random.

In order to find a game server port, you will have to capture the network traffic of your browser using a packet analyzer (Wireshark, for example) when you login to the desired server. This is also described in issue #30.

Please let me know if you have any further questions.

mikey1665 commented 4 years ago

Thanks! I figured it out by use an old Club Penguin packet sniffing tool called WPE Pro. I was referencing your code and I updated some old Java PCL and I was able to get bots working through java!

relrelb commented 4 years ago

Glad you figured this out. Club Penguin Online should be fully working now per to the latest commit.