New Team Balance plugin on O4 CS

27 public posts in this discussion.

Post 1

"PTB detects situations, in which one team rules over the other.
It looks at the current team scores, current team win streaks
and the current team ratings and decides on actions with the
help of these values.

Features
--------
- team strength evaluation based on scores, streaks, kills, deaths and size
- announcement of team balance status once per round
- announcement of each WTJ (winning team joining/joiner) try
- prevention of WTJ
- display of WTJ count (per map)
- force into losing or smaller team for WTJ count 4
- log WTJ in wtj.log for WTJ count >= 4 (once per map)
- kick for WTJ count >= 10
- automatic dead only team switches - top winner against bottom loser
- automatic dead only team transfers - top winner to loser team
- overriden auto-join function, that is always choosing the right team
and prevents joining of the same or winning or bigger team
- display of PTB evaluation status
- lots of configuration options

Details
-------
The current team strength ist defined as sum of team kills
divided by sum if team deaths times players in the team
(strength = kills/deaths * players).

Example:

CT kills/deaths: 12/6 = 2
CT players: 3
CT strength: 2 * 3 = 6

T kills/deaths: 4/10 = 0.4
T players: 4
T strength: 0.4 * 4 = 1.6

The current team strength rating is calculated by dividing the team's
strength by the opposing team's strength (rating = ownStrength
/ opposingStrength).

Example (continued):

CT strength rating: 2/1.6 = 1.25

T strength rating: 1.6/2 = 0.8

For each team these criteria are checked:
- rating >= minRating (stronger team) and score > maxScoreDiff
- rating >= minRating (stronger team) and streak > maxStreak
- rating >= maxRating (stronger team) and more players
- rating >= maxRating (way stronger team)

If any TWO of these criteria match for a team, it is considered to
be the winning team and actions are taken as appropriate.

Note: Teams with a rating below minRating are considered as of equal
or very similar strength. If team strengths are very similar, streaks
and scores are ignored. As soon as a team gets noticibly stronger
than it's opposing team, scores, streaks and team size are checked."

Let me know how it goes... you can check the current rating of each team in game by bringing down your console and typing:

admin_ptb

Enjoy.

[ 14 March 2002: Message edited by: OverDrive ]</p>

Post 2

should be away to prevent total ownage .. damn [Blocked image] good work od [Blocked image]

Post 3

If it works as smoothly as it appears it will, then it is just the plugin people like me have been looking for!

Well done [Blocked image]

And Flamm, it won't prevent you from owning totally, you just may end up team hopping a bit!

Post 4

Team hopping .. at a DGA a while ago i could never remeber what team i was on ... swear i swapped about 30 times during that lan :

Post 5

only question I have is will it log when someone selects auto team select and happens to score the winning team? if your post explained this, i'll just look sheepish and shut up [Blocked image] but i honestly couldn't tell if this would be affected or not [Blocked image]

Post 6

<blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>Originally posted by OverDrive:
- overriden auto-join function, that is always choosing the right team
and prevents joining of the same or winning or bigger team
[ 14 March 2002: Message edited by: OverDrive ]<hr></blockquote>

Answer your question Meph?

Post 7

Early in the night, it seemed to be switching teams an awful lot, then not so much later, is this just coincidence, or did you tweak something with it?

Worked really well though... can't remember seeing round scores more than about 3 apart in the whole time I was playing!

Post 8

Beat,
I see a lot of people joinging the winning team all the times these days. Sure we've all done here and there but it's very annoying when people do it all the time.
i think this is a good plugin and should make gaming for everyone much more fair. [Blocked image]

Post 9

Except for constant server chatting in bottom left corner...

Post 10

Should be a bit quieter now mate. And people PLEASE, do what the eater has and post any queries, complaints and heaven forbid, compliments to the forums and NOT in game - in game I just want to play like the rest of you - I hate whingers.

[ 15 March 2002: Message edited by: OverDrive ]</p>

Post 11

<blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>Originally posted by UnSCaRReD:
it is just the plugin people like me have been looking for!

Well done [Blocked image] <hr></blockquote>

<blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>Originally posted by UnSCaRReD:
Worked really well though... can't remember seeing round scores more than about 3 apart in the whole time I was playing!<hr></blockquote>

Consider yourself complimented.

<blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>Originally posted by OverDrive:
in game I just want to play like the rest of you<hr></blockquote>

A point I also tried to convey in game last night.

Post 12

I know mate - I wasnt directing my comments towards you.

Post 13

hahah scarred u smartarse [Blocked image]
good job OverDrive, its a bit confusing when u get teamswapped & u not paying attention really [Blocked image]
im not relly making much sens atm coz ive just had my wisdon tehht pulled & in a bit light headed [Blocked image]

Post 14

I have to say that last night was one of the best games of CS I have had the pleasure of being involved in since OD introduced registering on the servers. Both the new cheat killer and the new plugin, I didn't even mind the chattering from the plugin, but then i was too busy finding someone to kill [Blocked image]

as a small off topic comment: great game everyone, OD, Neo, Fleshy, Hellspawn, Sponge, TN1, and anyone that I can't specifically remember playing against [Blocked image]

Post 15

OD,

I noticed one thing last night when PTB was in affect.

If the teams gets uneven and not all players are dead to swap. PTB kills you.

Yep it kills you. It happened to myself and HS last night.

So I want to know. Is this classified as a Suicide?

Please advise

Thanks

Post 16

Well I was playing just then and well, yes it has a good concept and would be sweet

but

if a player is doing really well,

it will swap everyone off that team, yep it was 2 v 6 when i was playing cause I was doing well (for a change) just seems to try and make it fare sort of.

Post 17

OK ppl, how should I config it then...

admin_ptb kick on|off (default: on) - PTB kicking
admin_ptb switch on|off (default: on) - PTB team switching and transfers
admin_ptb announce on|off (default: on) - PTB announcements
admin_ptb sayok on|off (default: on) - PTB "no action required" message
admin_ptb limitjoin on|off (default: on) - PTB team join limitations
admin_ptb savewtj on|off (default: off) - PTB wtj.log writing
admin_ptb deadonly on|off (default: on) - switch dead only or alive, too
admin_ptb maxstreak <value> (default: 2) - maximum accepted team win streak
admin_ptb maxscore <value> (default: 2) - maximum accepted team score difference
admin_ptb maxrandom <value> (default: 3) - range of top/bottom players to choose from for switch/transfer
admin_ptb maxrating <value> (default: 2) - way stronger team, if rating >= maxrating
admin_ptb minrating <value> (default: 1.5) - stronger team, if rating >= minrating

The only change I've made is:

admin_ptb sayok off

Now some constructive ideas....

Post 18

Bah ... i was happy playing last night, had some very close games, one of the best nights playing CS, with me Mate OverDrive [Blocked image]

Keep it up, son.

Post 19

Im not having a whinge here, but it did suicide me a few times tonight.

Post 20

Suicide is very annoying I Killed the last 3 players with 1 clip and bang instant death, nice reward for a job well done, otherwise it rocks.

HellSpAwn

Post 21

Yeh, its a good system, just one little thing i'd like to say though.
When it does its team checking, swapping it writes a message via admin_tsay (The white text across the bottom left hand side of the screen). Now that its all new n everything everyones Ohh, ahh, nice [Blocked image] But i can see, down the track abit, a week, maybe more, maybe less its going to become annoying, reading basically the same thing (Round over, checking teams..) after each round. So I guess what iam suggesting is, that something be done about it.
Peoples Comments?

Post 22

http://www.seth.dk/ptb.htm

All your questions answered - re: PTB killing you - look at Q:6.

Post 23

Hmmm, I can see how the kill thing would be a bit annoying, but it seems there is no way around it, due to the fact that changing teams means you die.

For this reason, definitely keep the

admin_ptb deadonly on|off (default: on) - switch dead only or alive, too

set to on, as people will only complain more as it would kill more often.

So basically my opinion is to keep it as it is, it sure makes the game closer, which I find makes it MORE FUN.

Post 24

Playing Dust2, It was great fun tonight. Very innovative plugin, makes for a good game.

Post 25

there was 5 ppl trying to have game today and the damn thing was changhing teams every round i know when sever is full this will b good but 5 players it was realy crappy..

Post 26

<blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>6. "It sucks! I was doing fine, suddently PTB kills me, switches me to the other team and I loose all my weapons! Grrrrr!"
If this happened you weren't only doing fine - your team was so strong that noone from your team died for several rounds, meaning PTB had no way of evening up the teams. In these extreme cases PTB will decide to use force and consequently switch you even though you're still alive. We regret this is necessary, but the situation is very rare and we feel it's a small sactifice to run a balanced server. Live with it - go buy an AWP, you'll have plenty of money from your numberous wins [Blocked image]
<hr></blockquote>

Thats what it says

Post 27

pffft, as if Tn1 has mates. He's just name dropping as per celebrity wannabes, "playing with my mate Overdrive"...

Obviously a desperate attempt to gain recognition from the all powerful, all seeing one.

Next time, I see my mate, OD, I'll tell him what you have been up to..... :-)