SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 09/02/2019, 12:22 PM   #1
MRM
Big Clucker
 
MRM's Avatar
 
Join Date: Mar 2016
Location: Egypt
Posts: 140
Reputation: 0
Default All players get disconnected

Hello everyone!

Having a strange server problem here. The server randomly disconnects all players, including npcs, and players see a message "CONNECTION REJECTED: Unacceptable NickName "

When it happens, all connectivity on the server goes down for about 10-20 seconds, and it happens at any time. Using a network monitor, there is a little packet loss when it happens, and sometimes the samp-console displays lots of Packet was modified messages from a random player.

At first we thought it was a server problem, but we moved to a new VPS and the problem still happens. Does anyone know what could cause this?

PHP Code:
[] ConnectedJoining the game... 
[] 
CONNECTION REJECTEDUnacceptable NickName 
[] Please choose another nick between and 3-20 characters 
[] Please use only a-zA-Z0-
[] Use /quit to exit or press ESC and select Quit Game 
MRM is offline   Reply With Quote
Old 09/02/2019, 12:36 PM   #2
Logic_
Banned
 
Join Date: Jun 2015
Posts: 1,514
Reputation: 305
Default Re: All players get disconnected

List your server plugins, your OS version, are you using MySQL or SKY plugin?
Logic_ is offline   Reply With Quote
Old 09/02/2019, 12:53 PM   #3
MRM
Big Clucker
 
MRM's Avatar
 
Join Date: Mar 2016
Location: Egypt
Posts: 140
Reputation: 0
Default Re: All players get disconnected

Quote:
Originally Posted by Logic_ View Post
List your server plugins, your OS version, are you using MySQL or SKY plugin?
plugins crashdetect.so streamer.so sscanf.so mysql.so whirlpool.so pawn-memory.so profiler.so

I use Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-116-generic x86_64)
MRM is offline   Reply With Quote
Old 10/02/2019, 01:04 PM   #4
MRM
Big Clucker
 
MRM's Avatar
 
Join Date: Mar 2016
Location: Egypt
Posts: 140
Reputation: 0
Default Re: All players get disconnected

This bug kick 100 player from server for 12 sec .I checked my gm twice but I did not see any problem.
MRM is offline   Reply With Quote
Old 10/02/2019, 03:10 PM   #5
d3Pedro
Huge Clucker
 
Join Date: Apr 2012
Location: darkness
Posts: 294
Reputation: 91
Default Re: All players get disconnected

Quote:
Originally Posted by MRM View Post
This bug kick 100 player from server for 12 sec .I checked my gm twice but I did not see any problem.
Have you checked your includes/filterscripts? That literary happens when a user has a messed up name or with more than defined MAX_PLAYER_NAME characters in their name.
What's in OnPlayerConnect/RequestClass callback?
d3Pedro is offline   Reply With Quote
Old 10/02/2019, 06:28 PM   #6
MustangV10
Big Clucker
 
Join Date: Dec 2011
Posts: 66
Reputation: 26
Default Re: All players get disconnected

Switch to CentOS 7 or Debian 8.

https://forum.sa-mp.com/showthread.php?t=647814
__________________

Last edited by MustangV10; 16/02/2019 at 05:13 PM.
MustangV10 is offline   Reply With Quote
Old 11/02/2019, 01:20 AM   #7
CantBeJohn
Big Clucker
 
CantBeJohn's Avatar
 
Join Date: Oct 2016
Posts: 112
Reputation: 15
Default Re: All players get disconnected

I had a similar issue with Ubuntu and switching to Debian Jessie made it completely vanish.
CantBeJohn is offline   Reply With Quote
Old 20/02/2019, 09:23 AM   #8
MRM
Big Clucker
 
MRM's Avatar
 
Join Date: Mar 2016
Location: Egypt
Posts: 140
Reputation: 0
Default Re: All players get disconnected

Quote:
Originally Posted by ConnorW View Post
Have you checked your includes/filterscripts? That literary happens when a user has a messed up name or with more than defined MAX_PLAYER_NAME characters in their name.
What's in OnPlayerConnect/RequestClass callback?
I check all FS and GM but everything is allright.
MRM is offline   Reply With Quote
Old 20/02/2019, 09:28 AM   #9
MRM
Big Clucker
 
MRM's Avatar
 
Join Date: Mar 2016
Location: Egypt
Posts: 140
Reputation: 0
Default Re: All players get disconnected

Quote:
Originally Posted by MustangV10 View Post
Switch to CentOS 7 or Debian 8.

https://forum.sa-mp.com/showthread.php?t=647814
which version of ubuntu is stable with samp-server?

Last edited by MRM; 21/02/2019 at 02:12 PM.
MRM is offline   Reply With Quote
Old 03/03/2019, 08:33 AM   #10
Prolong
Little Clucker
 
Prolong's Avatar
 
Join Date: Feb 2019
Location: England
Posts: 20
Reputation: 0
Default Re: All players get disconnected

Quote:
Originally Posted by MRM View Post
which version of ubuntu is stable with samp-server?
Ubuntu 14 and 16 tend to have issues with SAMP. If you go any older (Ubuntu 12), then you're outdated and no longer supported for anything, security or otherwise. Debian 8 is similar to Ubuntu but the LTS support/updates will only continue for one more year. Debian 9 has the same issues.

Reference #1
https://forum.sa-mp.com/showthread.php?t=663272

Reference #2
https://forum.sa-mp.com/showthread.php?t=362065&page=2

CentOS isn't really difficult, I'd recommend switching over.
Prolong is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Players getting disconnected from server MRM Scripting Help 1 11/05/2017 10:54 AM
Disconnected players Dayrion Server Support 5 01/12/2016 09:12 PM
All players get disconnected - Server restarting amirm3hdi Server Support 7 03/02/2016 09:00 AM
Can't edit a variable for disconnected players Saw® Scripting Help 1 09/02/2013 11:26 PM
How to do something to disconnected players? Saw® Scripting Help 7 20/06/2012 04:49 AM


All times are GMT. The time now is 12:25 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.