3 ms·
I started making a bot last night but it keep getting disconnected in the first 10ish rounds. Anyone else see this and resolve it?
by jjshanks 10y ago
I started making a bot last night but it keep getting disconnected in the first 10ish rounds. Anyone else see this and resolve it?
- popey456963 10y agoCould you give us some details on this? Like which web socket library you used, the technology you used, etc? If you copy & paste the example bot verbatim, does that work for over 10 rounds? As far as I know we've got tens of bots working at the moment and I haven't heard this strange problem from anyone else.
- jjshanks 10y agoI don't have the code handy at the moment but I was using ruby with this socket.io gem 'socket.io-client-simple' I was able to connect, join a game, send chat messages, just couldn't stay connected. I basically just converted the JS tutorial on the site to ruby style.