Vice City: Multiplayer

VC:MP Discussion => Support => Topic started by: KAKAN on Sep 06, 2015, 11:53 AM

Title: auto-reconnect
Post by: KAKAN on Sep 06, 2015, 11:53 AM
How to auto-reconnect the IRC bots when they gets a ping timeout?
Just tell How-To, and I'll try to make it, or else I'll tell you to give me an example
Title: Re: auto-reconnect
Post by: Thijn on Sep 06, 2015, 11:57 AM
If they ping timeout your code is wrong.
Title: Re: auto-reconnect
Post by: KAKAN on Sep 06, 2015, 11:59 AM
Ahh, I don't mean that
What will happen if my net is down for a min, then my bots will be disconnected for sure, how to reconnect them to IRC?(currently I'm doing it with a cmd)
Title: Re: auto-reconnect
Post by: Gudio on Sep 06, 2015, 12:33 PM
Don't worry if your net is down for a minute. Bots can timeout after 120 seconds.
Close sockets and connect bots again? Simple solution.