SA-MP Forums Archive
Afk players lose connection - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Afk players lose connection (/showthread.php?tid=603329)



Afk players lose connection - BalkanEliteRP - 21.03.2016

When players stay afk 2,3h,they lose connection 90% cases(Not always)

Picture: http://prntscr.com/ai7mz0

Maybe someone have experience with this?Thank you.


Re: Afk players lose connection - Vince - 21.03.2016

Wait ... Two to three hours? Did I interpret that correctly? Because that signals a fundamental shortcoming in gameplay.


Re: Afk players lose connection - YouServ - 22.03.2016

Remove Line "playertimeout" in server.cfg


Re: Afk players lose connection - BalkanEliteRP - 22.03.2016

Quote:
Originally Posted by YouServ
Посмотреть сообщение
Remove Line "playertimeout" in server.cfg
Hi
I have playertimeout 20000,but default is 1000?


Re: Afk players lose connection - introzen - 22.03.2016

Quote:
Originally Posted by YouServ
Посмотреть сообщение
Remove Line "playertimeout" in server.cfg
Have you even tried removing it completely?


Re: Afk players lose connection - BalkanEliteRP - 22.03.2016

Quote:
Originally Posted by introzen
Посмотреть сообщение
Have you even tried removing it completely?
Yes.


Re: Afk players lose connection - YouServ - 22.03.2016

If you have this line, the player timeout when he was AFK after milliseconds settings. So, remove completely this line in server.cfg and this problem is fixed.


Re: Afk players lose connection - introzen - 22.03.2016

Quote:
Originally Posted by introzen
Посмотреть сообщение
Have you even tried removing it completely?
Quote:
Originally Posted by BalkanEliteRP
Посмотреть сообщение
Yes.
Quote:
Originally Posted by YouServ
Посмотреть сообщение
If you have this line, the player timeout when he was AFK after milliseconds settings. So, remove completely this line in server.cfg and this problem is fixed.
He just said he had tried removing it...