pokemonAutoChess
pokemonAutoChess copied to clipboard
Add automatic reconnect logic to game
The simplest code needed for an automatic reconnect.
Directly reconnects the web socket without creating a new room instance or affecting any other game system.
It looks like a patch above colyseus. Could be something to discuss on Colyseus discord, I'm sure this problem has been tackled by other people. Overriding colyseus code and using semi-public API is a straight no for me though.
It looks like a patch above colyseus. Could be something to discuss on Colyseus discord, I'm sure this problem has been tackled by other people. Overriding colyseus code and using semi-public API is a straight no for me though.
Okay, then. I worked really hard on this and it works well, so this makes me very sad, but it's your decision.
I don't want it to break as soon as i update colyseus
I don't want it to break as soon as i update colyseus
I understand. In my defense, all the changes are in their own file, so if it breaks it can be fixed by deleting a single line of code.