Skip to content
Discussion options

You must be logged in to vote

Hi, can you tell me what the test command on the Connection Monitor is, and how to obtain that command? Like, are there have different test commands for different servers?

Hi. The connection monitor tool is used to prevent an old Pokemon Showdown bug I call Ghost Connection. Basically, you will be still connected, but you stop receiving messages, and also if you try to send messages, they won't come through.

To fix this old bug, I added the Connection Monitor. It basically does the following:

  • Every 30 seconds, the bot checks if it received any messages recently.
  • If the last message it received from the server was longer than 30 seconds ago, it will send a test message (a random command…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by AgustinSRG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants