Reply To: WCUTB

#24446
Liam
Spectator

NoDice said:

good thread laim, and thank you for the hard and yet frustrating work. Just keep in mind a Team Balancer can not make everything perfect. someone some how is going to get upset among being switch or being on the loosing team… its lyfe. the Team Balancer is here to help make the majority of the players have a good time on our servers.

 

and as far as my constructive input:

Does the TB read when a player join/leave the server or switch teams.. or what if an admin moves players.. what does the TB do that round?

 

 

The team balancer does take into account when a player joins and when they leave. Upon join, a players information is automatically added into the PlayerList. When they leave, they are removed.

 

At the start and end of each round the ctTeam and tTeam lists are cleared and then rebuilt with current data from PlayerList, thereby taking into account if a player is moved, dropped, kicked, disconnected, or eaten by the Internet. :)

 

Just as a note, the PlayerList is *only* used for keeping up with connected players. The ctTeam and tTeam lists are used for everything else that way its always fresh data. :)