Re:Generals.io Bot API: Build bots to play against humans
by jjshanks on Friday February 03, 2017 @09:44PM
(#13565333)
I 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.
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.