Private server -can't connect more than 4 players

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
strensnik
Private First Class
Private First Class
Posts: 5
Joined: Tue Apr 03, 2012 2:04 pm

Private server -can't connect more than 4 players

Post by strensnik »

I set up a private server here at work. It is running on a Windows Server 2008 R2. My problem is that only a maximum of 4 players can join. I tried every possible setting of -mp. Why?
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Private server -can't connect more than 4 players

Post by blast »

You should probably host the server on Linux instead of Windows. There are many issues with hosting on Windows.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
strensnik
Private First Class
Private First Class
Posts: 5
Joined: Tue Apr 03, 2012 2:04 pm

Re: Private server -can't connect more than 4 players

Post by strensnik »

Everything else is working fine. Any ideas other than using Linux?
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: Private server -can't connect more than 4 players

Post by JeffM »

debug the server and find out why the players are being rejected or provide us with more information on exactly what is happening. We have few people hosting on windows so it gets little testing with more then 1 or 2 players
ImageJeffM
strensnik
Private First Class
Private First Class
Posts: 5
Joined: Tue Apr 03, 2012 2:04 pm

Re: Private server -can't connect more than 4 players

Post by strensnik »

Does this help:
The "fifth" player, when trying to connect gets this:
ERROR: Did not get token:
NOTOK: Invalid callsign or password
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: Private server -can't connect more than 4 players

Post by JeffM »

Yes that kind of info does help. That message means that there is an inability to connect to our list server, not them not connecting to your server.

Is it possible you have something on your firewall blocking access to our list server?

If you add -d -d -d -d to the server command line, do you see any connection errors?
ImageJeffM
strensnik
Private First Class
Private First Class
Posts: 5
Joined: Tue Apr 03, 2012 2:04 pm

Re: Private server -can't connect more than 4 players

Post by strensnik »

Excuse my ignorance, but if this is a "private" server, why should it connect to the list server? Also, If I am the first player to connect, I do so successfully, but if 4 player are already playing than I cannot connect.
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: Private server -can't connect more than 4 players

Post by joevano »

strensnik wrote:Excuse my ignorance, but if this is a "private" server, why should it connect to the list server? Also, If I am the first player to connect, I do so successfully, but if 4 player are already playing than I cannot connect.
Private or not... authentication through the list server is still a possibility.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
strensnik
Private First Class
Private First Class
Posts: 5
Joined: Tue Apr 03, 2012 2:04 pm

Re: Private server -can't connect more than 4 players

Post by strensnik »

On the player end, I connect and get to the screen that says "press right mouse or "i" to start", however, nothing happens if I right or press "i"

I added -d -d -d -d and here is the section when I try to connect as the fifth player:

Player [4] resolved to tsc-bazzo.mydomain.org
Player [4] uread() 10.20.61.30:54219 len 4 from 10.20.61.30:54219 on 452
Player [4] outbound UDP up
Player [1] uread() 10.20.172.35:1592 len 31 from 10.20.172.35:1592 on 452
Player [2] uread() 10.20.61.204:50575 len 31 from 10.20.61.204:50575 on 452
Recalibrated QPC frequency. Old: 10156805.000000 ; New: 10074907.000000
Player [0] uread() 10.20.172.244:55309 len 31 from 10.20.172.244:55309 on 452
Player Dunedain [4] sent version string: 2.4.0.20110703-STABLE-W32VC8
Player Dunedain version code parsed as: 2.4.0
Player Dunedain [4] has joined from 10.20.61.30 at 2012-04-04 08:23:41 with token "NONE"
Player Dunedain [4] removed at 2012-04-04 08:23:41: Write error EAGAIN
Player [1] uread() 10.20.172.35:1592 len 31 from 10.20.172.35:1592 on 452
Player [2] uread() 10.20.61.204:50575 len 31 from 10.20.61.204:50575 on 452
Recalibrated QPC frequency. Old: 10074907.000000 ; New: 10088521.000000
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: Private server -can't connect more than 4 players

Post by JeffM »

this is your core problem.

Player Dunedain [4] removed at 2012-04-04 08:23:41: Write error EAGAIN

That is showing an error in the networking system where something outside of BZFlag closed or is messing up the connection. It could be a firewall or some other security software, but it's going to be hard for us to know. It's not the bzfs software that's doing it, it's some other part of the networking system.
ImageJeffM
Post Reply