Pinglimit issue at 360ms - is there a hardcoded one? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Pinglimit issue at 360ms - is there a hardcoded one? (
/showthread.php?tid=259331)
Pinglimit issue at 360ms - is there a hardcoded one? -
DracoBlue - 04.06.2011
Hi there,
it's been a while since I posted a question
.
I split up my server into two servers: one with pinglimit < 200 (I have a custom script with GetPlayerPing for that) and another one, which is meant to have a pinglimit of 500 (a.k.a. the world server). The issue is, that players which have a ping higher then 360ms get kicked, too.
Before I continue to search the code for some hard coded value, I would like to know if there is some kind of ping kicker in samp, yet (which I accidently activated).
Kind regards,
Draco
Re: Pinglimit issue at 360ms - is there a hardcoded one? -
Ash. - 04.06.2011
As far as I know there isn't one built into SAMP servers. Could the players IP be spiking and then dropping as you kick them or whatever you do to them? I had such a problem once, Just out of interest, how are you storing the ping? As in a variable or just calling GetPlayerPing when and where you need it?
Re: Pinglimit issue at 360ms - is there a hardcoded one? -
DracoBlue - 06.06.2011
The issue was another pinglimit dmodule which was running at the same time.
I found it by searching the entire source code for GetPlayerPing
. Thanks for the hint
Have fun coding,
Draco