Thread: [Solved] Socket flag not work?
View Single Post
Dragos
Senior Member
Join Date: Oct 2018
Location: Romania
Old 08-02-2023 , 08:31   Re: Socket flag not work?
Reply With Quote #8

Quote:
Originally Posted by wilian159 View Post
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
__________________
sup

Last edited by Dragos; 08-02-2023 at 08:36.
Dragos is offline