CS:S Team Balance
2 Attachment(s)
CS:S Team Balance
Current Version: 2.2.2 Description: This is an advanced team balancer for Counter Strike:Source. I built this after trying a lot of team balancers and none of them really meeting my team balancing needs. It has the following features.
For full descriptions of the CVAR's check the cfg/sm_teambalance.cfg file Commands: !tbmenu: Opens the team management menu(admin only) !tbstats: Displays the internal stats of the plugin !tbswitchnow: Switches a player to the other team(admin only) !tbswitchatstart: Switches a player at the beginning of the next round(admin only) !tbdump: Dumps the team balance settings(admin only) !tbset: Sets a players stats(admin only) !tbswap: Swaps the teams(admin only) Special Thanks: Extreme One, Teknigal: For their assistance with testing and debugging Changelog: 2.2.2: Fixed admin immunity, updated tbdump spelling 2.2: Cfg autoloaded, admin flags support, lock teams, stop spec 2.1.3: Fixed another bug with admin immunity 2.1.2: Fixed a bug with admin immunity 2.1.1: Added better navigation to tbstats 2.1: Renamed commands, fixed player switch bug, added switch next round 2.0: Too numerous to list, see the announce below or the source file 1.1: Added team management menu, stats command 1.0: bug fixes, changed ROUNDS_TO_SAVE to 6, added join control 0.9: fixed big winning team problem, added support maintain size, added green text 0.8: Added more SQL error handling, added sm_teamswitch and sm_swapteam 0.7: Switched to threaded SQL calls, added german and russian translations 0.6: Added more flexible announcement preferences and changed defaults 0.5: Initial Release Languages supported: English German courtesy of -<[PAGC]>- Isias Russian courtesy of Exvel Installation Notes: Copy ALL the files to the root mod directory of your server. Edit cfg/sourcemod/sm_teambalance.cfg to suit your needs. Thats it! |
Re: SM CS:S Team Balance
!!!! mp_autoteambalance 1 !!!!!
or is this a Source Version from PTB's Team Balancer from CS 1.6 ??? |
Re: SM CS:S Team Balance
Awesome plugin.
The best team Balancer I've seen by far. Thank you dalto |
Re: SM CS:S Team Balance
Quote:
mp_autoteambalance is not terribly useful. It seems to just keep the teams the same size. This is a skill based team balancer based on my own experiences of trying to keep teams balanced on a recreational server. |
Re: SM CS:S Team Balance
cool imma install this and give it a try, ill post back
|
Re: SM CS:S Team Balance
1 Attachment(s)
German Translation
|
Re: SM CS:S Team Balance
Quote:
|
Re: SM CS:S Team Balance
We're noticing some small game pauses when players (and even BOTs) leave the game and I *think* (guessing) this could be due to data being written to the database.
If this is the case is there any chance that this could somehow be cached until round end or map change? |
Re: SM CS:S Team Balance
Quote:
|
Re: SM CS:S Team Balance
Quote:
How about not writing data about BOTs to the database? Can you ignore them altogether (in the database) whilst still maintaining Team Balancing when BOTs are active? |
Re: SM CS:S Team Balance
Quote:
|
Re: SM CS:S Team Balance
Quote:
It's just that we noticed the freezing when a BOT left as well as when a human player left and I noticed that data for the BOTs was also being written to the database. Whatever it takes to stop the freezing and maintain the integrity of the Team Balancing algorithm. |
Re: SM CS:S Team Balance
Dalto you should use the threaded sql natives. Would get rid of the pauses.
|
Re: SM CS:S Team Balance
Quote:
|
Re: SM CS:S Team Balance
1 Attachment(s)
Russian translation
|
Re: SM CS:S Team Balance
Whats this about pausing? I can't have distrubtions on our server.
|
Re: SM CS:S Team Balance
Quote:
As soon as I am comfortable it has been tested I will release it. The team balancer is a lot more complicated than any of my other plugins and I like to run it for at least a couple days to make sure we have an adequate test. |
Re: SM CS:S Team Balance
Thanks for your plugin, it made a good job at first sight, especially considering it's early stage! Could you perhaps post some details on the algorithm you used?
|
Re: SM CS:S Team Balance
Motivation:
My motivation for doing this was that I had tried several team balancers and none of them were doing a very good job balancing the teams. As I run a small recreational server this was very frustrating. As I started to look at why this was I realized that it was primarily because a few key reasons.
Vision: With a couple of plugins under my belt I began working on the team balancer. Taking from the above, there were three principles which guided my development.
Evaluation: As discussed above the evaluation algorithm is performance based. The evaluation function can return three possible states. Balanced, Pending or Unbalanced. There are three CVAR’s that control evaluation.
The Balancer: Coming soon.... |
Re: SM CS:S Team Balance
Quote:
I started to post some details above. I will keep working on it. |
Re: SM CS:S Team Balance
Try adding immunity for admins ;)
|
Re: SM CS:S Team Balance
Quote:
|
Re: SM CS:S Team Balance
I sincerely hope if you do give admin immunity you add a custom flag.
If you just use the generic "a" flag you will (IMO) ruin this plugin. |
Re: SM CS:S Team Balance
Quote:
|
Re: SM CS:S Team Balance
Great plugin! Any chance you could add a optional delay for the teamswitch? Ie so the players get switched 0.5 seconds after round_end event fires so events like autoslay can do there job before the new player join the team.
Or possibly a movedeadonly option. that never move alive players. First alternative would be best though. |
Re: SM CS:S Team Balance
Quote:
|
Re: SM CS:S Team Balance
Do you have any plans to make this plugin work for DOD:s ?
|
Re: SM CS:S Team Balance
Quote:
I would also need to talk through with someone how the evaluation function should work. The current one would not be suitable for DOD:S. |
Re: SM CS:S Team Balance
New release: Version 0.7
Changes: * Added checks of relative strength prior to switching * Removed the insert statement on player join * Made the SQL calls threaded * Added german translation courtesy of -<[PAGC]>- Isias * Added russian translation courtesy of exvel |
Re: SM CS:S Team Balance
Ofcourse not dalto i wanna be immune :P
|
Re: SM CS:S Team Balance
Really nice plugin dalto
Should get it running for CSS:DM & give users a much more intelligent balancer - the only thing i intended with mine was having a working mp_autoteambalance for dm :wink: |
Re: SM CS:S Team Balance
L 08/14/2007 - 14:36:30: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 08/14/2007 - 14:36:30: [SM] Native "PrintToChat" reported: Language phrase "unbalanceable" not found L 08/14/2007 - 14:36:30: [SM] Debug mode is not enabled for "teambalance.smx" L 08/14/2007 - 14:36:30: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 10 on Arnold 8) |
Re: SM CS:S Team Balance
1 Attachment(s)
Quote:
Attached is a working copy. |
Re: SM CS:S Team Balance
Translation (german)
Code:
"unbalanceable" |
Re: SM CS:S Team Balance
Quote:
|
Re: SM CS:S Team Balance
Does the plugin currently move alive players if needed (and if it does, does it kill them?)
|
Re: SM CS:S Team Balance
Quote:
|
Re: SM CS:S Team Balance
Great thanks, just added it to my server. thanks for the quick response!
|
Re: SM CS:S Team Balance
Quote:
|
Re: SM CS:S Team Balance
One thing that I sort of think needs to be done is somehow make the plugin a little 'smarter' when the server has 4 or less players. I was playing 2v2 for a while today and noticed it kept swapping players. The teams weren't gonna be even no matter what it did because there was one really good player. I think sometimes it just needs to make the best swap and then leave it be.
|
All times are GMT -4. The time now is 13:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.