Quote:
Originally Posted by wilian159
there is no way to be the bot because it works normally when it is without the flag
|
So what are you saying is that without the flag it works, and crashes randomly, and with the flag it does nothing?
In that case, you should try debugging the server itself if the decoding is decrypted, the connect and disconnect work perfectly and can accept more connexions at the same time...
Anyways, you said that this plugin will be used to send a signal to reconnect the discord bot? Then why can't you just add some functions that in case of the connexions lost, just to reconnect?
Or you can try this thread socket module
https://forums.alliedmods.net/showthread.php?t=262924
__________________