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: 138
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_
High-roller
 
Logic_'s Avatar
 
Join Date: Jun 2015
Location: Pakistan
Posts: 1,569
Reputation: 290
Default Re: All players get disconnected

List your server plugins, your OS version, are you using MySQL or SKY plugin?
__________________
Developer @ Nevada State Prison RP/ Core Roleplay;

Cheap game-host (SA-MP, SA-MP Hosted tab, G-MOD etc) @ www.prestigesteve.com

Former developer @ COD:BO3, COD:AW, I:RP, PC:RP, NEG, ZL TDM, CookieDM and IW:TDM.

  • You can't forcefully correct someone and you shouldn't waste your time on it because you can bring a horse to water but can't force it to drink.
  • Please don't message me asking for help, because by doing that, you're only limiting your support to one person when the whole community can help you here. Refer to scripting help section instead.
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: 138
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: 138
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
ConnorW
Huge Clucker
 
ConnorW's Avatar
 
Join Date: Apr 2012
Location: Los Santos
Posts: 214
Reputation: 66
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?
__________________



ConnorW is offline   Reply With Quote
Old 10/02/2019, 06:28 PM   #6
MustangV10
Big Clucker
 
Join Date: Dec 2011
Posts: 59
Reputation: 23
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: 111
Reputation: 15
Default Re: All players get disconnected

I had a similar issue with Ubuntu and switching to Debian Jessie made it completely vanish.
__________________
Server IP: play.adh-rp.com
Alternate IP: 54.37.129.82:7777

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: 138
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: 138
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
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 05:34 AM.


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