SA-MP Forums Archive
Server blocks when there're 20 players - 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: Server blocks when there're 20 players (/showthread.php?tid=460358)



Server blocks when there're 20 players - Mauricee - 28.08.2013

Why the 21th player can't join the server ?
Gamemode is here


Re: Server blocks when there're 20 players - Konstantinos - 28.08.2013

Is "maxplayers" in server.cfg set to 20? Or did you re-define MAX_PLAYERS to 20 in any of your scripts?


Re: Server blocks when there're 20 players - Mauricee - 28.08.2013

No and No

1. maxplayers in server.cfg are 500
2. I re-define MAX_PLAYERS in 50, not 20.


Re: Server blocks when there're 20 players - Konstantinos - 28.08.2013

Well, it's weird. What does it say exactly? By "server blocks", do you mean that it appears the message "Server is full" message?


Re: Server blocks when there're 20 players - Mauricee - 28.08.2013

Conecting to ... Joining the game... and remains here.

I have crashdetector and it prints nothing.


Re: Server blocks when there're 20 players - iJumbo - 28.08.2013

Quote:
Originally Posted by Mauricee
Посмотреть сообщение
No and No

1. maxplayers in server.cfg are 500
2. I re-define MAX_PLAYERS in 50, not 20.
You have 500 slots and check only for 50 in script?


Re: Server blocks when there're 20 players - Luis- - 28.08.2013

Probably wont help but remove the max_players define iI the script.


Re: Server blocks when there're 20 players - Mauricee - 28.08.2013

iJumbo: When I run the server in my machine, I have 500 slots, but when I run from the host I have 50 slots.
Luis-: Tried this before start this topic.


Re: Server blocks when there're 20 players - Mauricee - 29.08.2013

Anyone, I tried everything.


Re: Server blocks when there're 20 players - lewismichaelbbc - 29.08.2013

I checked the gamemode and it looks fine. Would you consider trying to have more than 20 players connect on the 'bare' script? << If that doesn't work, then its the host

- Hope this helps

EDIT: I just tried your gamemode on my server and 36 of my players connected without any issues