AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Deathmatch Team Balancer (https://forums.alliedmods.net/showthread.php?t=58059)

dubbeh 07-18-2007 01:57

Deathmatch Team Balancer
 
2 Attachment(s)
Deathmatch Team Balancer v1.0.0.4

Simple team balancer plugin for CS:S Deathmatch (mp_autoteambalance breaks in Deathmatch) :wink:

Server Console Vars:
dmtb_enable "1" // Enable the Deathmatch Team Balancer
dmtb_checktime "30.0" // How often to check if the teams are balanced - min = 30 (30 seconds) max = 600 (10 mins)
dmtb_playerlimit "2" // How uneven the teams can get before getting balanced - Min = 1 Max = 32
dmtb_adminsimmune "1" // Enable admins immunity from getting switched 1 = on / 0 = off

Install:
dmtb.smx -> addons\sourcemod\plugins
dmtb.sp -> addons\sourcemod\scripting
plugin.dmtb.cfg -> cfg\sourcemod

Version History:
v1.0.0.4
- Fixed a few bugs with GetUserAdmin
- Little less overhead on the code
v1.0.0.33
- Fixed any possible bugs with MaxClients & the reserved slots plugin
- Added checks to swap dead players first
v1.0.0.32
- Added an admin immunity option
v1.0.0.31
- Reverted the previous change
- Fixed a small bug with the max clients checking
v1.0.0.3
- Balance bug should finally be fixed - thanks to 1694 for the bug reports
v1.0.0.2
- Few more checks added to the code
v1.0.0.1
- Couple of internal code changes

Thanks to oxymoron for the main idea & all the diffrent code examples on the forums from various plugin authors :)

have fun dubbeh

xYx 07-18-2007 07:02

Re: Deathmatch Team Balancer
 
lo,

your a yegod!!

Thanks for doing this, ill test it when im home!!

Cheers

xYx aka Oxymoron

xYx 07-18-2007 07:05

Re: Deathmatch Team Balancer
 
could you post up the cfg cvars so i can read them in the forum plz?

I cant download at work

dubbeh 07-18-2007 07:47

Re: Deathmatch Team Balancer
 
nps, posted up the cVar list

only thing i havn't got done yet is the auto assign option

xYx 07-18-2007 18:16

Re: Deathmatch Team Balancer
 
I am very thankful for this plugin. I might have found a little bug though.

I have default settings. The server was 8 CTs v 6 Ts. The plugin noticed this and switched it to 6 CTs v 8 Ts.

I understand that i have dmtb_playerlimit "2" but should it not make it 7 v 7 or infact leave the teams as they were & not switch anyone?

Am I making any sense?

cheers

1695 07-19-2007 04:34

Re: Deathmatch Team Balancer
 
luv' u !!!!!!!!!!!!!!!!!!!!!!!!! After year of waiting for that, U DID IT ! lol thx !

dubbeh 07-19-2007 07:46

Re: Deathmatch Team Balancer
 
nps :mrgreen:

xYx that bug should be fixed now :)

xYx 07-19-2007 10:45

Re: Deathmatch Team Balancer
 
is this the most up to date version:

dmtb_1000.zip (13.0 KB, 1 views) ?

dubbeh 07-19-2007 11:12

Re: Deathmatch Team Balancer
 
yeah, taken the plugin out of beta

Craftkiller 07-19-2007 17:59

Re: Deathmatch Team Balancer
 
Any chance you could release the source code?


All times are GMT -4. The time now is 19:59.

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