SpecialAttack.net
https://forum.specialattack.net/

New team balancer
https://forum.specialattack.net/viewtopic.php?t=8254
Page 1 of 5

Author:  [SpA]SaintK [ 14 Oct 2010, 15:10 ]
Post subject:  New team balancer

Quote:
I'm not sure that this is the best place to announce plugins, but for
those written with the Valve API there doesn't seem to be anywhere else.

http://steamreview.org/external/tf2/tf2 ... alance.zip

This plugin will grab the Steam TF2 stats of connecting players and rank
them according to time played and accumulated points. It then keeps each
team's overall ranking score within a configurable limit by forcing
assignment to teams and also by rebalancing between rounds. It replaces
the game's own mid-round autobalance system.

I'm looking for a few brave souls who are willing to be guinea pigs: the
code is stable, but the accuracy of the ranking equation hasn't been put
to the test in large games yet. Is anyone up for it?

(Linux is supported as well as Windows, but I don't want to cross-post
to the other list.)
Should we dare?

Author:  ProtectMyBalls [ 14 Oct 2010, 15:13 ]
Post subject:  Re: New team balancer

fuck it why not, if it doesnt work then, it doesnt work. If it does, then awesome, problem solved :D

Author:  annarack [ 14 Oct 2010, 15:14 ]
Post subject:  Re: New team balancer

Do it

Author:  [SpA]Minimoose! [ 14 Oct 2010, 15:32 ]
Post subject:  Re: New team balancer

double dare ya

Author:  [SpA]SaintK [ 14 Oct 2010, 15:36 ]
Post subject:  Re: New team balancer

Here are the configurable settings, I'll try and do a testrun tonight:
Quote:
sb_strict (default 0)xcdk
-- Prevent players whose stats cannot be read from joining a team. Normally they are ranked at 1 and assigned randomly.

sb_skill_limit (default 0.5)
-- The maximum skill difference permitted between teams (0 means disabled). Players' team choice will be overridden and teams will be balanced at the start of a round in order to stay under this value.

sb_balance
-- Manually triggers a skill-ranked redistribution of players between teams.

Clients can enter `sb_difference` into the console to see the gap between the two teams' scores.

Author:  [SpA]ArchLurker_Chad [ 14 Oct 2010, 15:39 ]
Post subject:  Re: New team balancer

Can't hurt to try? Just try it on one of the servers for a test-drive if we're afraid it might invite chaos.

Part I'm curious about is "It replaces the game's own mid-round autobalance system".
Does this mean if people leave mid-game and RED is left with 7 players and BLU 11, it won't
balance the number of players to 9 on each team? Instead it waits until RED is steam-rolled
and the round ends and the balance kicks in? :s
[SpA]ProtectMyBalls wrote:
fuck it why not, if it doesnt work then, it doesnt work. If it does, then awesome, problem solved :D
I'm with Balls on this one. If it works, great. If not, just revert to the old one :O

Author:  [SpA]SaintK [ 14 Oct 2010, 15:40 ]
Post subject:  Re: New team balancer

[SpA]ArchLurker_Chad wrote:
Can't hurt to try? Just try it on one of the servers for a test-drive if we're afraid it might invite chaos.

Part I'm curious about is "It replaces the game's own mid-round autobalance system".
Does this mean if people leave mid-game and RED is left with 7 players and BLU 11, it won't
balance the number of players to 9 on each team? Instead it waits until RED is steam-rolled
and the round ends and the balance kicks in? :s
[SpA]ProtectMyBalls wrote:
fuck it why not, if it doesnt work then, it doesnt work. If it does, then awesome, problem solved :D
I'm with Balls on this one. If it works, great. If not, just revert to the old one :O

There is not yet too much info available on this plugin as it just got posted a hour ago.

Author:  [SpA]ArchLurker_Chad [ 14 Oct 2010, 15:48 ]
Post subject:  Re: New team balancer

Oh, missed that.
Well then I'll guess we'll have to try it out to find out :)

Author:  Bartg [ 14 Oct 2010, 16:31 ]
Post subject:  Re: New team balancer

It surely cant be worse than previous attempts :) Bring it on !

Author:  [SpA]Scatterbrain [ 14 Oct 2010, 16:46 ]
Post subject:  Re: New team balancer

go for it, and if it doesn't work, just blame valve :ugly:

Author:  [SpA]Edeph [ 14 Oct 2010, 17:21 ]
Post subject:  Re: New team balancer

weee new autobalance :4

Author:  [SpA]SaintK [ 14 Oct 2010, 20:01 ]
Post subject:  Re: New team balancer

Plugin will be active after a mapchange.

Please provide as much(!!) feedback as possible!

#edit

Plugin is not running yet, some issues on Linux it seems.

Author:  ProtectMyBalls [ 15 Oct 2010, 10:52 ]
Post subject:  Re: New team balancer

I noticed the plugin was turned off last night, the server literally had 11 people on it :*(

Author:  [SpA]SaintK [ 15 Oct 2010, 11:15 ]
Post subject:  Re: New team balancer

Yes, i didn't restore gscramble last night. We found the issue (glibc version needs upgrading), once ditch has done this will be testing the new balancer (hopefully today?)

Author:  ProtectMyBalls [ 15 Oct 2010, 11:38 ]
Post subject:  Re: New team balancer

cool cool, ill report back if i notice anything :)

Author:  [SpA]SaintK [ 15 Oct 2010, 12:52 ]
Post subject:  Re: New team balancer

The author recompiled the plugin against glibc 2.7.1 (which is Debian Lenny default). Plugin now loads and is operational.

Feedback required!!

Author:  ProtectMyBalls [ 15 Oct 2010, 13:14 ]
Post subject:  Re: New team balancer

ill shout tonite :D

Author:  [SpA]SaintK [ 15 Oct 2010, 14:02 ]
Post subject:  Re: New team balancer

We're having a crash issue. The dev is now looking at it with us. Server now running in debug mode. Please rejoin @ crash.

Author:  [SpA]Voegelchen [ 15 Oct 2010, 16:04 ]
Post subject:  Re: New team balancer

15:52 on fastlane. Everyone could only join red. A forced mapchange to badwater resulted with me in team blu and 18 players in team red. After about 4mins autobalancing kicked in for dead players. But new ones were still forced to red.

Author:  [SpA]Loke [ 15 Oct 2010, 16:16 ]
Post subject:  Re: New team balancer

Yeah, I was idling and had a quick look at the computer and saw it myself.

At cp_fastlane
Image

Then at pl_badwater
Image

Author:  ProtectMyBalls [ 15 Oct 2010, 16:21 ]
Post subject:  Re: New team balancer

birdie can take them! COMBAT MEDIC! :twisted:

Author:  [SpA]SaintK [ 15 Oct 2010, 17:50 ]
Post subject:  Re: New team balancer

Plugin is updated and server running in debug mode again. Plugin author is watching this topic so please keep reporting bugs and other feedback.

Author:  [SpA]Dekar [ 15 Oct 2010, 22:44 ]
Post subject:  Re: New team balancer

Will my generally lower "skill" as spy put me in generally better teams?

What actions will make my skill drop the fastest? :ugly:

Author:  [SpA]SaintK [ 15 Oct 2010, 23:28 ]
Post subject:  Re: New team balancer

We're done testing for the night. We'll upload the latest build to the server soon.

Thanks everyone for enduring all the crashes!

Author:  ProtectMyBalls [ 16 Oct 2010, 01:55 ]
Post subject:  Re: New team balancer

when it did work it actually had some good results, it wouldnt let you stack if you tried to and the scores/points were pretty even most of the time.

Author:  [SpA]SaintK [ 16 Oct 2010, 11:55 ]
Post subject:  Re: New team balancer

Balancer is off at the moment till the author is back. It sometimes still gives the issue were only 1 person is assigned to blue, and the rest is assigned to red.

Author:  [SpA]ArchLurker_Chad [ 16 Oct 2010, 12:31 ]
Post subject:  Re: New team balancer

I can see how that would be inconvenient :S

Author:  [SpA]SaintK [ 17 Oct 2010, 13:35 ]
Post subject:  Re: New team balancer

We're working again on the teambalancer. Please try to fill server #1 everytime it crashes. Each crash get's us further in debugging.

Thanks.

Author:  ProtectMyBalls [ 17 Oct 2010, 14:18 ]
Post subject:  Re: New team balancer

be on in a bit to help

Author:  CherryRed [ 17 Oct 2010, 17:58 ]
Post subject:  Re: New team balancer

Erm, this seems to be screwed again. played dustbowl where it started with about twice as many players on blu as there were on red. I tried joining red directly, but couldnt. managed after i had gone to spectate.

Looked for scramble in admin as quick way to resolve before the round started but it wasnt there.

This was on server 1 btw.

Page 1 of 5 All times are UTC+02:00

Powered by phpBB® Forum Software © phpBB Limited