Tuesday, October 22, 2019
banner
All UrbanTerror themes

TOPIC: Autobalance with bots

Autobalance with bots 27 Jul 2013 13:37 #14447

  • FamillyEntertainer
  • FamillyEntertainer's Avatar
  • Offline
  • UrT Server Moderator
  • Posts: 52
  • Thank you received: 47
  • Karma: 5
Hi, i just have to report this, but i have no idea how it works.

-> When there are bots on the server, autobalance is usually upside down!

I will try to explain, sorry for the long post and the pedantic explanation, i'm only trying to be clear :)


=== A little scenario: ===
Players for Red team:
StrongHuman
RedBot1
RedBot2
RedBot3


Players for Blue team:
WeakHuman
BlueBot4
BlueBot5
BlueBot6


Red team is winning.

Event: a human is connecting.
Reaction: currently the "autobalance mechanism" (i dont' know what exactly, probably set up in in the bot clients?) decides to kick a bot in the stronger team (so not to have the stronger team with more players temporarily, i suppose).
So in this scenario: RedBot1 is kicked.

Then the new player connects, and of course AUTOJOINS, and we have these teams:
Players for Red team:
StrongHuman
NewHuman
RedBot2
RedBot3


Players for Blue team:
WeakHuman
BlueBot4
BlueBot5
BlueBot6


Now the weak team (Blue) is playing 1 human VS 2 humans.
And so it becomes more imbalanced.

As new players join, the same thing continues until teams are:
Players for Red team:
StrongHuman
NewHuman
NewHuman2
NewHuman3


Players for Blue team:
WeakHuman
BlueBot4
BlueBot5
BlueBot6


Teams are imbalanced to the max!
ONLY THEN will new players start to join the weak Blue team. (if no ragequit occured before)

And it's not over yet for poor WeakHuman!
What if a new human joins? Then, he will finally be able to join blue :

Players for Red team: (4 players still winning)
StrongHuman
NewHuman
NewHuman2
NewHuman3


Players for Blue team: (5 players still losing, but there's hope now?)
WeakHuman
BlueBot4
BlueBot5
BlueBot6
HumanSaviour


Good, it's starting to be less imbalanced!

But now what if NewHuman3 leaves the game from red (winners). Teams become 3 red VS 5 blue, it's imbalanced. Players from winning team start to complain, but bots do not go to the smallest team. Instead, a human has to make a choice:
- a human has to leave blue team (biggest team), and desert the losing team
- a human has to write "!teams"

But if we do !teams, then who gets forced to smallest team (red) ? The last who joined, of course! And it's HumanSaviour
And now we have:

Players for Red team:
StrongHuman
NewHuman
NewHuman2
HumanSaviour


Players for Blue team:
WeakHuman
BlueBot4
BlueBot5
BlueBot6


And WeakHuman is living The Autobalance Nightmare :p

In conclusion, if you're not stronger than 4 humans, you're in for a bad time :)


=== (naive?) ideas to improve the situation: ===

- Disconnect bots from losing team instead of winning team.
It gives the opportunity for new players (or winners willing to balance) to join losing team and replace a bot.

- If a bot is in a team that is losing but has 2+ players more than the winning team, make him autojoin the winning team (and desert the losing team), instead of forcing a human to do so.

- SOLUTION AS A PLAYER:
If you're in the winning team with more humans and want to balance, you have to cooperate with another winner:
1. both of you go to spec,
2. do !teams,
3. autojoin
So it's possible, but it requires cooperation, and sometimes it feels hopeless...
The administrator has disabled public write access.
The following user(s) said Thank You: slobadass is in da house, cliclic, PiPi, Amanita, Mathieu

Autobalance with bots 28 Jul 2013 00:49 #14453

  • LammeSnail
  • LammeSnail's Avatar
  • Offline
  • Servers Owner
  • Posts: 5419
  • Thank you received: 4636
  • Karma: 176
OMG. Thanks for your post, but balance is a hard thing.
First of all, that the urbanterror by default has no balance.
We do balancing with B3.
But B3 (xlrstats) knows only registered players. When any new player connects, then he/she is handled on the default skill point/level.
On FUNNY it is 2669, on CLASSIC it is 1673 in the database. (The default skill point is 1000).

So when a skilled, new player connects any time, the balancing will fail of course.

If you are interested in, xlrstats uses the following ranking system:

en.wikipedia.org/wiki/Elo_rating_system
Warning: Spoiler! [ Click to expand ]

The administrator has disabled public write access.
The following user(s) said Thank You: Mathieu

Autobalance with bots 28 Jul 2013 07:33 #14455

Some time ago I played on a server (can not remember the name) where they had a B3 plugin for automated balancing. Every time a team has been better the system display a message on bigtext "Teams are not balanced. Doing balance teams!"
Sometimes this has been troublesome if someone connected every 2 min.
But in the end everything was fine
I'm back bitches
The administrator has disabled public write access.
The following user(s) said Thank You: Mathieu

Autobalance with bots 28 Jul 2013 10:05 #14457

  • FamillyEntertainer
  • FamillyEntertainer's Avatar
  • Offline
  • UrT Server Moderator
  • Posts: 52
  • Thank you received: 47
  • Karma: 5
@Lamme:
I'm talking about when there is no admin online to do !min !bal !teams etc...
My point is (partly): when a player connects, then bot from the strongest team disconnects. Then the bot (weak) is replaced by the new player (better than a bot).

Of course it seems a problem to me because i assume bots to be weaker at CTF than the average player.

Right now, some mechanism disconnects bots automatically when a player connects. What is it?
Maybe it's possible to revert this mechanism (allow bot from WEAKER team to leave)?

(but yes, sorting by skill is indeed hard, and thanks for the link i didn't know about that! seems good reading :) )

@Badass:
On some servers (at least on the defunct PWNY) i've seen a mechanism for auto-!teams, so that it's never 5vs3.
But in this case, !teams can do the opposite of the right thing (see last situation where a player from the strong team leaves, and !teams removes a human from the weaker team)

However, something like auto-!bal seem delicate :-/ (frustration some players have to be like a ping pong ball between teams :) )
The administrator has disabled public write access.

Autobalance with bots 28 Jul 2013 14:08 #14458

  • LammeSnail
  • LammeSnail's Avatar
  • Offline
  • Servers Owner
  • Posts: 5419
  • Thank you received: 4636
  • Karma: 176
Yes there is a simple balance with player numbers. We have this although I didn't want to set it too frequent since this make B3 lagging (command queue full).

There is an other solution, but I think it is compiled into the server binary. And this I don't have time (and resources) to compile, sorry.

I will check if what I can do more. Thanks.
Warning: Spoiler! [ Click to expand ]

Last Edit: 28 Jul 2013 14:08 by LammeSnail.
The administrator has disabled public write access.

Autobalance with bots 28 Jul 2013 15:47 #14460

  • FamillyEntertainer
  • FamillyEntertainer's Avatar
  • Offline
  • UrT Server Moderator
  • Posts: 52
  • Thank you received: 47
  • Karma: 5
But when a player connects, a bot disconnects. How does it work?
I think this is the part that can be most easily improved.

Anyway, thanks for your replies :)
The administrator has disabled public write access.

Autobalance with bots 28 Jul 2013 17:28 #14464

  • LammeSnail
  • LammeSnail's Avatar
  • Offline
  • Servers Owner
  • Posts: 5419
  • Thank you received: 4636
  • Karma: 176
It is controlled with this plugin:

forum.bigbrotherbot.net/downloads/?sa=view;down=120

Sorry but I can't edit its functionality... :unsure:
.
Warning: Spoiler! [ Click to expand ]

The administrator has disabled public write access.

Autobalance with bots 02 Aug 2013 12:13 #14511

  • AngryNanny
  • AngryNanny's Avatar
  • Offline
  • Expert Boarder
  • Posts: 108
  • Thank you received: 203
  • Karma: 13
Balancing by skill is almost impossible in UrT.
I assume it's even harder with bots.

Balancing by number is possible (although it's not well done with default UrT settings).

!teams command is not interested in the number of caps.
Example: Red team is leading 8:0 with 1 player more.
!teams command tells "Teams are already balanced".
You have to agree that this message is not correct ... ;)

The solution is to modify the algorithm for the command.
@Fam: Check your forum for naixn's modification.
forum.sexyscore.net/viewtopic.php?f=53&t=213&p=5028#p5028
You probably will find it in the sC repository.

There's also a possibility for an "auto-teambalancing".
Server checks for unbalanced teams within a set time interval and balances teams by itself.
(I can't recommend this totally because of the "ping-pong-player" side effect.)

Finally I can highly recommend Rambetter's "forced-auto-join" patch.
Basically it prevents the server from winner joiners.
(In fact, it's working pretty simple. Clicking any button in the "Join" menu has the same effect like clicking "Auto-join".)
Check urbanterror.info for this patch.

One more thing: I have no experience how my recommendations are affected with bots.
I can only assume that it won't be worse.
The administrator has disabled public write access.
The following user(s) said Thank You: LammeSnail, slobadass is in da house

Autobalance with bots 02 Aug 2013 18:49 #14513

  • Cthulhu
  • Cthulhu's Avatar
  • Offline
  • Senior Admin
  • Posts: 1598
  • Thank you received: 2235
  • Karma: 144
Rambetters patch is good for players who are not in the "mood " to use autojoin , Snails chosen plugin is good for balancing in game.
But no plugin or patch can handle the actualy situation in game! If you get changed by the system the second or third time only two steps away from your cap ...then you WILL get angry for sure.
Nothing can replace a good admins work! The combination on skill shuffle ( in the last 2 seconds until the new match started ) and a minmove ( in combination with !bal before ) showing the best results in my opinion. I only rarely use the forcing command , but sometimes its the last solution to handle a hardly balanced match.
My best result was a balance of 0.01 (right Cl1c? ;) ) , an average balance of around 0.30 is mostly possible to do.
:whistle:
Legalise the Balisongs !
The administrator has disabled public write access.
The following user(s) said Thank You: cliclic

Autobalance with bots 02 Aug 2013 19:10 #14514

  • cliclic
  • cliclic's Avatar
  • Offline
  • Senior Admin
  • Posts: 1532
  • Thank you received: 1777
  • Karma: 100
Cthulhu wrote:
My best result was a balance of 0.01 (right Cl1c? ;) ) , an average balance of around 0.30 is mostly possible to do.

Right :D

I agree with Cthulhu, nothing can replace a good admin work.

However, there are some case when the bal is not simple. For instance one or several really good players who are not registered and so don't have skill points.
The best balance for me would be a bal which can calculate in real time, the average skill of a player from the beginning of the game. But that's mean a lots of processing for B3 and a new bal plugin. (but still something to test ;) PIPI xD).

The real point is that b3 can't replace a good well formed admin work.
Last Edit: 02 Aug 2013 19:16 by cliclic.
The administrator has disabled public write access.

Autobalance with bots 02 Aug 2013 19:35 #14516

  • AngryNanny
  • AngryNanny's Avatar
  • Offline
  • Expert Boarder
  • Posts: 108
  • Thank you received: 203
  • Karma: 13
Cthulhu wrote:
Rambetters patch is good for players who are not in the "mood " to use autojoin , ...
Mood? :huh:
Don't tell me that those lame players do not exist on KRH servers.
However, since it's possible to join the winning team to +1 player, the balance by number is fucked up.

Long time ago we even had defined a warning shortcut for autojoin-ignorers. Since this patch was installed, we never had to care about anymore.
No more warnings, no more discussions.

In combination with a modified !teams command it's 100% assured to get balanced teams by number.

Nothing can replace a good admins work!
I never questioned this statement.
Almost each time I played with Fam on Classic, there were no admin.
Typing !teams to get a better balance had either no effect (because of the above mentioned "bug") or was sabotaged by bots.
The administrator has disabled public write access.

Autobalance with bots 02 Aug 2013 19:55 #14517

  • Cthulhu
  • Cthulhu's Avatar
  • Offline
  • Senior Admin
  • Posts: 1598
  • Thank you received: 2235
  • Karma: 144
! teams is not a balancing command , it equalises only the number of players in both teams ( 5vs 3 ... ! teams ... 4 vs 4 )
I thought you got adminlevel ?! If yes you can use the ! min command ( balancing by skill )
:cheers:
Legalise the Balisongs !
The administrator has disabled public write access.

Autobalance with bots 02 Aug 2013 19:56 #14518

  • cliclic
  • cliclic's Avatar
  • Offline
  • Senior Admin
  • Posts: 1532
  • Thank you received: 1777
  • Karma: 100
AngryNanny wrote:
Long time ago we even had defined a warning shortcut for autojoin-ignorers. Since this patch was installed, we never had to care about anymore.
No more warnings, no more discussions.

I think this patch could be a good start to force players the right team.
The administrator has disabled public write access.

Autobalance with bots 02 Aug 2013 20:14 #14519

  • AngryNanny
  • AngryNanny's Avatar
  • Offline
  • Expert Boarder
  • Posts: 108
  • Thank you received: 203
  • Karma: 13
Cthulhu wrote:
! teams is not a balancing command , it equalises only the number of players in both teams
No? Why does it tell me then that the teams are "already balanced"? :P

I always talked of "balancing by number".
Of course you can call it "equalizing" if you want. ;)
The administrator has disabled public write access.

Autobalance with bots 02 Aug 2013 21:05 #14520

  • LammeSnail
  • LammeSnail's Avatar
  • Offline
  • Servers Owner
  • Posts: 5419
  • Thank you received: 4636
  • Karma: 176
As I can remember I already played on a server where there was some automatic online balancing.
Maybe SzaPe compiled it into his server binary.
I will ask him.
Warning: Spoiler! [ Click to expand ]

The administrator has disabled public write access.
The following user(s) said Thank You: slobadass is in da house

Autobalance with bots 06 Aug 2013 23:23 #14569

  • Mathieu
  • Mathieu's Avatar
  • Offline
  • User is blocked
  • Posts: 395
  • Thank you received: 296
  • Karma: 11
Fragbot balance automatically teams at each round end if they are unbalanced (by number of players ex: 5 red vs 2 blue). In fact Fragbot use !teams at each round end. So the command !teams is absolutely useless now and don't have to be used.

frag-urt.com/forum/viewtopic.php?f=11&t=22
The administrator has disabled public write access.

Autobalance with bots 07 Aug 2013 21:28 #14579

  • LammeSnail
  • LammeSnail's Avatar
  • Offline
  • Servers Owner
  • Posts: 5419
  • Thank you received: 4636
  • Karma: 176
Thanks for the info, but I thought to something different. I used to play on a server, where I connected when a map was already running. I did autojoin, and sooner I was put to the weaker team with a bigtext message, that my team was much stronger so a balancing was made (and sooner on the same map again back LOL).

And about balancing. I can see some admins to do balancing with !teams. This is fine and thanks for your help, but I can tell you how I do (some can verify I played already with): I do not autojoin on own servers (on other servers I do ofc). I check the scores first, then balance, greet everyone, and then join weaker team.
When weaker team has more players, then join the stronger, and change myself immediately with weaker player in the other team (!ch xy).
If the map runs for a while and my team gets stronger, then I decide to go into spec for balance, or change back with an other player.
So usually I do balancing with myself.
When teams needed too much balancing, then I do !teams at the next map beginning.

I hope it helps. Of course this is offtopic about balancing with bots, but could be helpful when admins are online.
About automatic balancing I will check what is possible.

Thanks.
Warning: Spoiler! [ Click to expand ]

The administrator has disabled public write access.
Time to create page: 0.181 seconds

Shoutbox

Balafre[FR] - Fri 18 Oct - 09:52

:)

idefix - Fri 13 Sep - 19:42

Yes still plays :D

Jocke1221 - Fri 13 Sep - 12:55

Hello!So happy to be back to this forum, its been 7 years got back in just cause of curiosoti. Do you guys still play this game?

Cthulhu - Sat 31 Aug - 00:58

np Contro , we had fun too! looking forward to your next map ;)

Cthulhu - Sat 31 Aug - 00:58

np Contro , we had fun too! looking forward to your next map ;)

controlleRus - Thu 29 Aug - 00:12

tnx for testing

controlleRus - Thu 29 Aug - 00:12

was fun Ama Cthu :)

idefix - Fri 23 Aug - 17:18

all fine here Joanna love but miss u in games ;)

Joanna - Thu 22 Aug - 11:26

Hi all . i hope u all are well :-) controlleRus , Marii and idefix Thank you for the memory and wishes kisses :*:*:*

idefix - Fri 9 Aug - 10:54

happy birthday Joana sry a bit late

controlleRus - Thu 8 Aug - 21:59

Hi Marri:)

Marri - Thu 8 Aug - 20:10

Hi all!)))))

Marri - Thu 8 Aug - 20:10

Happy Birthday Joan!!! :*

Marri - Thu 8 Aug - 20:09

Happy Birthday Cthu!!! sorry, im late((

controlleRus - Sun 4 Aug - 21:06

Happy Birthday Joana :)

Cthulhu - Mon 29 Jul - 22:44

thx m8 ! ;)

controlleRus - Mon 29 Jul - 19:08

Happy Birthday Cthulhu :D

idefix - Mon 22 Jul - 16:18

xD

Cthulhu - Sat 15 Jun - 22:42

Happy Birthday PiPi ! xD

idefix - Mon 3 Jun - 21:10

thx for good games tonight :D

CornFlakes - Mon 3 Jun - 20:13

hi all... T-888 we're looking to play but hard to find the good moment :/

T-888 - Sun 12 May - 01:16

at least Corny & Idefix are somehow manage to play together :P

idefix - Sat 11 May - 23:21

T-888 most of us play on 4,3 servers.4,1 is more fun then 4,3 but when no one plays 4,1 i go 4,3 i think many other do the same

T-888 - Thu 9 May - 13:25

yeah i want to play too,but so far i never met a single soul on your servers :( CEST time zone hereAs for game version i noticed that 4.1 is completely dead (even sexy's server) 4.2 seems dead too (bots only everywhere) only 4.3 have some activity

idefix - Sun 5 May - 18:15

corny if u want to play again write here and version of game

idefix - Sun 5 May - 18:14

cornyhi

idefix - Sun 5 May - 18:14

:D

idefix - Sun 5 May - 18:14

:wave:

CornFlakes - Sun 5 May - 18:02

hey ide... hey all :)

idefix - Sat 4 May - 17:21

:D hi all

idefix - Thu 2 May - 19:49

2015 was a good year thats why T-888 lol

T-888 - Fri 26 Apr - 16:40

What the hell, :O "happy easter 2015"??? it's 2019 if someone not noticed... Or maybe it's april's fool day joke...hmmm confused... :P or ... did i hit some diffrent timeline? lol

LammeSnail - Mon 15 Apr - 14:54

Ohh Cont you are right, I forgot to add it, now it's done, sorry. Have fun! :)

controlleRus - Sat 13 Apr - 23:50

Snail, Please check the map repository. Players can not download Crystal v2 :(

LammeSnail - Wed 10 Apr - 12:35

I changed the bots to regular ones, pls try them. CU HF

LammeSnail - Wed 10 Apr - 12:23

Yo Marty, thx for the info. Actually the bot plugin is exact the same like on the 4.2 KRH server, so I have no idea why the balancing is so stupid. However we already used to have some NO-BOTS weeks, but nothing has changed in player numbers. BB

Marty - Thu 4 Apr - 19:58

Guys, can you pls remove KRH bots server from public list? It gives once reputable server bad image, because the balancing is so stupid, it kills the game. Can you reactivate the "normal" server without bots? I'm sure some people will play. Thanks

idefix - Wed 3 Apr - 18:14

Time to play a bit on KRH was fun last time :D

idefix - Fri 22 Mar - 19:58

better late then never Happy Birthday Eberhard xD

controlleRus - Thu 21 Mar - 21:24

Happy birthday Eberhard :)

The shoutbox is unavailable to non-members

Birthdays

Leon (Freggell) in 4 days (43) , Link0x in 7 days (24)

Visitor counter

9660285
Today
Yesterday
This Week
Last Week
This Month
Last Month
All days
2038
2027
4065
9642565
47511
53272
9660285

Your IP: 3.85.214.0
2019-10-22 19:26

Donate US

FacebookFacebook
TwitterTwitter
TumblrTumblr
Our supporters:
Our Wing: