Closed TK0805 closed 1 year ago
can you paste the server's log here?
You have to have a MySQL database to login. You can set up the connection in config.json
Works every time. Every time my friend dies, he tries to log in with an incorrect password, crashing the server, and restarting everybody.
The SQL has been refactored out into its own repository for logging. It's wrapped in a .catch() to prevent the whole server shutting down after it throws an exception. Originally, this was due to the fact no MySQL server had been setup. For the sake of simplicity, it would probably make sense to use SQLLite. Please feel free to submit a PR if you fancy.
Fixed in the latest commit to master https://github.com/owenashurst/agar.io-clone/commit/d7717aa9fa2c29670985920c7783a40a143e0e9c
I made my own server thru Heroku, and whenever someone incorrectly guesses the password, the whole server shuts down. So. Is there any way to make that not happen?