Hi!
I'm using PHP to manage races and quals by InSim but I have 1 big trouble.
When someone is on the server, my PHP script is getting every 30s an TINY packet and it's sending this same packet to LFS to get connection working good.
My problem is when everyone leaves server. When the connections list equals 1 (host) my script after 10-13min is losing connection because LFS isnt sending any packet. It's very uncomfortable because when at night noone is driving I muss get up in the morning to restart InSim or use bash script to do it automatically (manually it's better because bash script isn't working every time)
I'm using PHP to manage races and quals by InSim but I have 1 big trouble.
When someone is on the server, my PHP script is getting every 30s an TINY packet and it's sending this same packet to LFS to get connection working good.
My problem is when everyone leaves server. When the connections list equals 1 (host) my script after 10-13min is losing connection because LFS isnt sending any packet. It's very uncomfortable because when at night noone is driving I muss get up in the morning to restart InSim or use bash script to do it automatically (manually it's better because bash script isn't working every time)