This wiki is archived and useful information is being migrated to the main bzflag.org website

Editing Auto Team

Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The administrator who locked it offered this explanation: Archived wiki

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 4: Line 4:
  
 
The team selection is done in this way:
 
The team selection is done in this way:
* If [[Team (options)|Rogues]] are allowed and player asks to be a rogue, assign to Rogue if there is space for it. They don't want to be in a team at first.
+
* If [[Rogue|Rogues]] are allowed and player asks to be a rogue, assign to Rogue if there is space for it. They don't want to be in a team at first.
 
* If you have only one colored team (not Rogue) with players, assign the incoming player to the others.
 
* If you have only one colored team (not Rogue) with players, assign the incoming player to the others.
 
* When you have at least 2 teams (not Rogue), before assigning other teams, put the player on the lowest numbered team with at least a tank on it.   
 
* When you have at least 2 teams (not Rogue), before assigning other teams, put the player on the lowest numbered team with at least a tank on it.   
Line 15: Line 15:
 
* With 4 players joining, with no leaving, teams will go 2-2-0-0, that I think is better then 1-1-1-1
 
* With 4 players joining, with no leaving, teams will go 2-2-0-0, that I think is better then 1-1-1-1
  
[[Tupone]]
+
Tupone
  
[[Tim Riker|TimRiker]] comments:
+
TimRiker comments:
  
 
* If the player asks for a color, they should get that color unless there are no more slots of that color available. If there are no more slots then treating them as type "automatic" is fine.
 
* If the player asks for a color, they should get that color unless there are no more slots of that color available. If there are no more slots then treating them as type "automatic" is fine.
Line 29: Line 29:
 
Let me reiterate, the player should get what they asked for period.  The only questions that come into play are when they ask for automatic team placement.
 
Let me reiterate, the player should get what they asked for period.  The only questions that come into play are when they ask for automatic team placement.
  
The suggested changes listed above by [[Tupone]] effectively makes only one modification to the existing behavior.  Instead of simply joining a player to the least filled team, a bias is imposed to prefer filling teams up first.  That is to say that if we have a map like HiX where there are four teams with, say, 10 players allowed per team -- there will be 10 vs 10 vs 0 vs 0.  New players will cause the third team to be imbalanced until sufficient additional joins/leavings are achieved.
+
The suggested changes listed above by Tupone effectively makes only one modification to the existing behavior.  Instead of simply joining a player to the least filled team, a bias is imposed to prefer filling teams up first.  That is to say that if we have a map like HiX where there are four teams with, say, 10 players allowed per team -- there will be 10 vs 10 vs 0 vs 0.  New players will cause the third team to be imbalanced until sufficient additional joins/leavings are achieved.
  
 
I considered that case when I first implemented the automatic joining server-side and rejected it for a couple reasons:
 
I considered that case when I first implemented the automatic joining server-side and rejected it for a couple reasons:

Please note that all contributions to BZFlagWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BZFlagWiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)