turicfr / CPPS-PCL

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

How to get the host IP for a new CPPS #30

Closed fm1randa closed 4 years ago

fm1randa commented 4 years ago

How can i get the host IP?

relrelb commented 4 years ago

Hey, thanks for interesting in my project!

This can be accomplished using Wireshark. Login in the browser as usual while capturing packets with Wireshark, then look for TCP packets with %xt% in their data. Note that sometimes there are two different host IPs: One for the initial login procedure, and one per the specific game server you choose. But usually they share the same host IP.

Please let me know if you have any further questions.

fm1randa commented 4 years ago

Yeah, i have more questions: In servers.json:

relrelb commented 4 years ago
fm1randa commented 4 years ago

Thanks! Sorry, i'm not a english fluent speaker :/

I'll try explain my last question: How i know when i have to use single_quotes or magic field?

relrelb commented 4 years ago

Oh, so as I said, normally they should be omitted, but sometimes you need to guess their values / find them the hard way ;)

fm1randa commented 4 years ago

Okay :) I'm so excited with your project. I'm testing it and already founded some errors. Do you mind if I open others issues #?

relrelb commented 4 years ago

Sure, I would very appriciate it!