ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

zserv maxclient/bot issue?

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    ZDaemon Forum Index -> ZDaemon Help & Chatter
View previous topic :: View next topic  
Author Message
Body-Guard
Unstoppable!


Joined: 08 Jan 2006
Location: Hungary

PostPosted: Tue Aug 13, 2013 10:12 am    Post subject: zserv maxclient/bot issue? Reply with quote

Hi!

I experienced something weird when starting my server. Maxclients and maxplayers were set to 16, and when setting the following, the maxclient gets modified to 17 after starting my server:

set minplayers 4
set removebotswhenhumans 1


Is this intentional, or some kind of bug?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Tue Aug 13, 2013 3:28 pm    Post subject: Reply with quote

It's not an "issue". Think about it for a while and you'll get it.
Back to top
View user's profile Send private message Visit poster's website
Lyfe
Puts the 'Z' in ZDaemon


Joined: 29 May 2002

PostPosted: Tue Aug 13, 2013 4:29 pm    Post subject: Reply with quote

It's done for server admins who are aren't paying attention to realize the following potential issue:

Set maxclients/maxplayers to 8
Set removebotxwhenhumans 1
Set minplayers 8
Watch 8 bots run around the server without any players ever being able to join because your server is full.

Whether or not this is intentional when (minplayers < maxclients) has yet to be determined.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Body-Guard
Unstoppable!


Joined: 08 Jan 2006
Location: Hungary

PostPosted: Tue Aug 13, 2013 5:03 pm    Post subject: Reply with quote

Sample cfg wrote:
// The minplayers cvar instructs the server to automatically spawn and remove
// bots in order to maintain a fixed number of players on the server as long as
// there is one human player on the server.


According to this, at least one player always has to play in order for these bots to spawn.

But why not lower the value of the minplayers cvar instead of increasing the client limit? If it is known to be a faulty setup, lowering the bot number seems to be a less radical step. Server admins care more for the client slots than for some filler bots.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Lyfe
Puts the 'Z' in ZDaemon


Joined: 29 May 2002

PostPosted: Tue Aug 13, 2013 5:09 pm    Post subject: Reply with quote

If correctly configured (as you have above), the maxclients should not be altered. This was unintentional in the scenario above, and will be patched for 1.10.

As far as the logic for raising maxclients instead of lowering minplayers... Got me.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Wed Aug 14, 2013 12:03 am    Post subject: Reply with quote

In which way does it matter if maxclients goes up or minplayers goes down? do we really have to waste time pondering useless questions?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    ZDaemon Forum Index -> ZDaemon Help & Chatter All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group