Hello!
As I understand now bot instance is disconnecting on it's shutdown and doesn't try to reconnect again.
It will be awesome to add feature to trying reconnect bot on server disconnect - for examples, m times with n seconds between reconnects.
Thank you!
I second this as a useful feature which can be enabled!
For now I just made a BASH script which daemonizes the process which can check if it is online or not as a solution.
It's based on the TeamSpeak 3 server start script.
You can find it here: TS3AudioBot_startscript.sh
Hopefully this is useful to you, and possibly resolves your issue even!
Kind regards.
Thank you!
Yeah auto reconnect should be a nice feature, I'll see what I can do
It would be a much better solution than my BASH script which must be manually invoked..
It would be neat if the following was in the config
# Wether the bot should try to reconnect after any kind of connection interruption
QueryConnection::AutoReconnect=True
# The amount of retries for AutoReconnect before giving up (0 means infinite)
QueryConnection::AutoReconnectMaxRetries=0
# The delay between reconnect attempts in milliseconds
QueryConnection::AutoReconnectDelay=5000
also if you start the bot and you get client_too_many_clones_connected and when the server is full it would be nice if the bot auto initates the reconnection until it manages to get on the server.
Since multiinstance the bot will automatically reconnect.
Most helpful comment
It would be neat if the following was in the config
also if you start the bot and you get
client_too_many_clones_connectedand when the server is full it would be nice if the bot auto initates the reconnection until it manages to get on the server.