AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [DoD:S] Auto Skill-based Team Balancer/Scrambler (https://forums.alliedmods.net/showthread.php?t=109637)

simoneaolson 11-19-2009 18:31

[DoD:S] Auto Skill-based Team Balancer/Scrambler
 
1 Attachment(s)
[DoD:S] Auto Skill-based Team Balancer/Scrambler v1.11

A quick and efficient team management plugin that balances the teams every X consistent round wins based on the objectives taken or kills of each client. The plugin also features an admin command to manually balance the teams (!balancetms). Cheers!

CVARS:
dod_stb_version - Current plugin version
dod_stb_enabled - How to balance teams 0=Disable 1=Auto Balance 2=Auto Scramble (Def:1)
dod_stb_announce - Enable/Disable announcement message (Def:1)
dod_stb_skill - How to measure client skill level (1 = Objectives taken) (2 = Kills) (Def:1)
dod_stb_cwins - Amount of consistent round wins to trigger auto team balancing (Def:3)
dod_stb_lock - Minutes to lock teams after team balance (float) (Def:4.0)
balancetms - (admins only) Trigger teambalance

CHANGELOG:
v1.0 - Initial Release
v1.01 - Fixed an error regarding userid of clients
v1.02 -
* Fixed default value of dod_stb_cwins from 1 to 3
* Changed display module at round end, now informs users at beginning of new round
v1.03 -
* Added support for locking teams after team balance
v1.10 -
* Added auto-scramble feature
v1.11 -
* Fixed clients not being able to join a team (when they first join the server) when the teams are locked

SERVERS
:
http://www.game-monitor.com/search.p...&type=variable


DEMONSTRATION

http://www.youtube.com/watch?v=u4bCdwyq3JU

Before Auto-Balance

[IMG]http://img5.**************/img5/8943/unbalancedz.jpg[/IMG]

After Auto-Balance


[IMG]http://img509.**************/img509/7365/balanced.jpg[/IMG]

dirtyjob 11-22-2009 15:17

Re: [DoD:S] Auto Skill-based Team Balancer
 
interesting, i'll test this tonight

Cptrmaker 11-24-2009 15:00

Re: [DoD:S] Auto Skill-based Team Balancer
 
Quote:

Originally Posted by simoneaolson (Post 993739)
[DoD:S] Auto Skill-based Team Balancer

A quick and efficient team management plugin that balances the teams every X consistent round wins based on the objectives taken or kills of each player. I have tested the plugin so far with bots under their death count and it works excellently. As you can see in the two screenshots, the teams are unbalanced, with 22 deaths on US and only 9 on the Wehrmacht. After instating a team balance, the deaths are evenly distributed with a final of 15 to 16. This same concept can apply to kills or objectives. The plugin also features an admin command to manually balance the teams (!balancetms). Cheers!

CVARS:
dod_stb_version - Current plugin version
dod_stb_enabled - Enable/Disable auto team balancing 0/1 (Def:1)
dod_stb_announce - Enable/Disable announcement message (Def:1)
dod_stb_skill - How to measure client skill level (1 = Objectives taken) (2 = Kills) (Def:1)
dod_stb_cwins - Amount of consistent round wins to trigger auto team balancing (Def:3)


DEMONSTRATION

Before Balancing:

[IMG]http://img5.**************/img5/8943/unbalancedz.jpg[/IMG]

After Balancing:

[IMG]http://img509.**************/img509/7365/balanced.jpg[/IMG]


I am getting this error when trying to use the mod.

11/24/2009 - 14:58:07: [SM] Plugin encountered error 15: Array index is out of bounds
L 11/24/2009 - 14:58:07: [SM] Displaying call stack trace for plugin "dod_stb.smx":
L 11/24/2009 - 14:58:07: [SM] [0] Line 136, /home/groups/alliedmodders/forums/files/6/0/3/9/6/53828.attach::PlayerSpawn()

simoneaolson 11-24-2009 17:06

Re: [DoD:S] Auto Skill-based Team Balancer
 
Sorry about that, fixed the error in version 1.01

austron 12-12-2009 20:01

Re: [DoD:S] Auto Skill-based Team Balancer
 
We tried this out at a LAN party and it really does work :D
Makes game play much more fair, especially since there were people of all skill levels at the party.

clad 09-02-2010 00:40

Re: [DoD:S] Auto Skill-based Team Balancer/Scrambler
 
anyone else get errors unzipping the archive ?

Nikrett 01-18-2011 20:02

Re: [DoD:S] Auto Skill-based Team Balancer/Scrambler
 
Greetings, guys!

We tried this plugin on our servers and it worked pretty well. Great job!

Nevertheless, sometimes we have a little problem. For an example, enemy team with strong players blocks team with novices in respawn area (orange map, one way out, last flag to capture). Round goes on and on and noone could do a thing: "strong" team can't capture last flag, "weak" - to break through the blockade. And there is no admin on a server to deal with this problem.

For short, would you be so kind to make an addition to this plugin, that would trigger Auto Skill balance after some period of time (preferable, if Admin will get a chance to change that "period of time" in .cfg or in plugin itself).

Thank you!

Yours sincerely, Nikrett.

niask1 08-29-2011 06:13

Re: [DoD:S] Auto Skill-based Team Balancer/Scrambler
 
Hello. I have the following error in logs:
Code:

L 08/29/2011 - 11:57:06: SourceMod error session started
L 08/29/2011 - 11:57:06: Info (map "dod_palermo") (file "errors_20110829.log")
L 08/29/2011 - 11:57:06: [SM] Native "GetArrayCell" reported: Invalid index -1 (count: 65)
L 08/29/2011 - 11:57:06: [SM] Displaying call stack trace for plugin "dod_stb.smx":
L 08/29/2011 - 11:57:06: [SM]  [0]  Line 133, C:\1\dod_stb.sp::FlagCaptureBlocked()
L 08/29/2011 - 11:58:10: [SM] Native "GetArrayCell" reported: Invalid index -1 (count: 65)
L 08/29/2011 - 11:58:10: [SM] Displaying call stack trace for plugin "dod_stb.smx":
L 08/29/2011 - 11:58:10: [SM]  [0]  Line 133, C:\1\dod_stb.sp::FlagCaptureBlocked()
L 08/29/2011 - 11:58:57: Error log file session closed.


micazoid 04-21-2012 11:37

Re: [DoD:S] Auto Skill-based Team Balancer/Scrambler
 
Hiho

I am not able to extract the archive. I am getting this in WinRAR

! C:\Users\n0n\AppData\Local\Opera\Opera\tempor ary_downloads\dod_stb (1).zip: Unbekannte Methode in addons\sourcemod\scripting\dod_stb.sp. <- Means: "unknown Method"
! C:\Users\n0n\AppData\Local\Opera\Opera\tempor ary_downloads\dod_stb (1).zip: Keine Dateien zum Entpacken. <- Means "No Data to extract"

RedSword 04-21-2012 12:19

Re: [DoD:S] Auto Skill-based Team Balancer/Scrambler
 
Quote:

Originally Posted by micazoid (Post 1693684)
Hiho

I am not able to extract the archive. I am getting this in WinRAR

! C:\Users\n0n\AppData\Local\Opera\Opera\tempor ary_downloads\dod_stb (1).zip: Unbekannte Methode in addons\sourcemod\scripting\dod_stb.sp. <- Means: "unknown Method"
! C:\Users\n0n\AppData\Local\Opera\Opera\tempor ary_downloads\dod_stb (1).zip: Keine Dateien zum Entpacken. <- Means "No Data to extract"

Winrar gives me errors, but not 7zip lol :$.

+ you deleted youtube video...

+ "Before Auto-Balance" image doesn't show


All times are GMT -4. The time now is 06:55.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.