AgustinSRG / Pokemon-Showdown-Node-Bot

Pokemon Showdown Bot for Node (Deprecated)
Other
34 stars 150 forks source link

Connection Problems #71

Open BeyondTheHorizon opened 6 years ago

BeyondTheHorizon commented 6 years ago

Hi, I can't connect my bot to the server. It keeps saying 'disconnected from the server - retrying in 10 seconds' over and over again. Here's the link to my config file: config.js

ReiKeima commented 6 years ago

First off, change your password for that account IMMEDIATELY.

Second, if you mean the main Showdown server, this setting should be as follows.

exports.server = 'sim.smogon.com';

Use "node getserver.js" (as config.js tells you) to grab the rest of the info or if this is for a different server.

And third, I would really consider exactly about why you want to run a bot.

BeyondTheHorizon commented 6 years ago

I finally figured out that giving the bot a username but leaving the password blank fixes the problem. This may be closed now.