Page 1 of 2

Proposition for team balancer

Posted: Mon 01 Sep , 2014 4:03 pm
by Papino
Hi everyone,

Here is a proposition to make a teambalancer, maybe admins will see it and will get inspired !

So, if you connect to this page (http://www.gametracker.com/server_info/ ... p_players/) you can see all players' stats. Balance teams is not that difficult, like everyone seems to think. The idea is simple.

Teams are balanced when the sum of the "levels" of all players of Team A is about the same as the sum of "levels" of all players of Team B. It is hard to know exactly the level of a player but we can calculate something close to, and we actually get it on the page : the score/min. So, let the level of a player be his score/min.

I don't know wich data structure are used by UT so I will just write a pseudo code (inspired by an article found on wikipedia (told you it is very simple, anyway..)) :

Code: Select all

var S = array containing all players online
var A = empty array of players
var B = empty array of players
var a = integer
var b = integer

begin
	Sort players in S by level in ascending order 
	a := 0
	b := 0
	for each element i of S :
		if a <= b
			add i to A
			a = a+level of i
		else 
			add i to B
			b = b+level of i		
		end if
	end for
end
Linear time, and integers.. It should be fast. Programmers admins, can this solution be implemented ?

Re: Proposition for team balancer

Posted: Mon 01 Sep , 2014 4:10 pm
by iRobot
This falls flat based on the tracking being done by score.

A player who scores highly by abusing something like an ion cannon or a goliath will get a huge score/min and therefore be classed as the most skilled player on the server, when the opposite probably isn't far off.

Re: Proposition for team balancer

Posted: Mon 01 Sep , 2014 4:14 pm
by Papino
Still better than no balancing, like currently. Moreover, abusing Ion does not happen everytime, and total score is more close to the level of player than a score after one round.

Re: Proposition for team balancer

Posted: Mon 01 Sep , 2014 4:21 pm
by bOnO
What about the +100 points/obj on Minecraft race ;B Also Gametracker tracks players by their name so if you change one letter, you're a new player for Gametracker.

Re: Proposition for team balancer

Posted: Mon 01 Sep , 2014 4:32 pm
by Papino
Indeed, but after 4 or 5 rounds it will be fine. But let me be clear : by score/min, I mean total score / total time passed playing

Re: Proposition for team balancer

Posted: Mon 01 Sep , 2014 4:43 pm
by iRobot
bOnO wrote:What about the +100 points/obj on Minecraft race ;B Also Gametracker tracks players by their name so if you change one letter, you're a new player for Gametracker.
Doing all 4 objectives in minecraft race is valid as it takes much more skill and effort.

fts

Re: Proposition for team balancer

Posted: Mon 01 Sep , 2014 5:16 pm
by Azarael
Papino wrote:Still better than no balancing, like currently.
So what exactly has happened with the skill on AS/Race? Has it been hidden or has the entire system been removed, the balancer with it?

Re: Proposition for team balancer

Posted: Mon 01 Sep , 2014 5:35 pm
by Papino
I really don't understand the meaning of your question aza :)

Re: Proposition for team balancer

Posted: Mon 01 Sep , 2014 5:38 pm
by iRobot
You said there is no balancer active. He is asking what happened to the one that was there.

Re: Proposition for team balancer

Posted: Mon 01 Sep , 2014 5:44 pm
by Papino
Erm, very good question indeed.
Switching players after some RQ is not really balancing. It's fixing.
I just propose something to better compose the teams before the round starts.