Raised This Month: $168 Target: $400
 42% 

Deathmatch Team Balancer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dubbeh
Senior Member
Join Date: Jul 2007
Plugin ID:
92
Plugin Version:
1.0.0.4
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    22 
    Plugin Description:
    Simple team balancer for CS:S Deathmatch (mp_autoteambalance breaks in Deathmatch)
    Old 07-18-2007 , 01:57   Deathmatch Team Balancer
    Reply With Quote #1

    Deathmatch Team Balancer v1.0.0.4

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

    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
    Attached Files
    File Type: cfg plugin.dmtb.cfg (622 Bytes, 4217 views)
    File Type: sp Get Plugin or Get Source (dmtb.sp - 8272 views - 7.4 KB)

    Last edited by dubbeh; 10-10-2007 at 12:14. Reason: updated plugin
    dubbeh is offline
    xYx
    Member
    Join Date: Jul 2005
    Old 07-18-2007 , 07:02   Re: Deathmatch Team Balancer
    Reply With Quote #2

    lo,

    your a yegod!!

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

    Cheers

    xYx aka Oxymoron
    xYx is offline
    xYx
    Member
    Join Date: Jul 2005
    Old 07-18-2007 , 07:05   Re: Deathmatch Team Balancer
    Reply With Quote #3

    could you post up the cfg cvars so i can read them in the forum plz?

    I cant download at work
    xYx is offline
    dubbeh
    Senior Member
    Join Date: Jul 2007
    Old 07-18-2007 , 07:47   Re: Deathmatch Team Balancer
    Reply With Quote #4

    nps, posted up the cVar list

    only thing i havn't got done yet is the auto assign option
    dubbeh is offline
    xYx
    Member
    Join Date: Jul 2005
    Old 07-18-2007 , 18:16   Re: Deathmatch Team Balancer
    Reply With Quote #5

    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
    xYx is offline
    1695
    Senior Member
    Join Date: Jan 2006
    Old 07-19-2007 , 04:34   Re: Deathmatch Team Balancer
    Reply With Quote #6

    luv' u !!!!!!!!!!!!!!!!!!!!!!!!! After year of waiting for that, U DID IT ! lol thx !
    1695 is offline
    dubbeh
    Senior Member
    Join Date: Jul 2007
    Old 07-19-2007 , 07:46   Re: Deathmatch Team Balancer
    Reply With Quote #7

    nps

    xYx that bug should be fixed now
    dubbeh is offline
    xYx
    Member
    Join Date: Jul 2005
    Old 07-19-2007 , 10:45   Re: Deathmatch Team Balancer
    Reply With Quote #8

    is this the most up to date version:

    dmtb_1000.zip (13.0 KB, 1 views) ?
    xYx is offline
    dubbeh
    Senior Member
    Join Date: Jul 2007
    Old 07-19-2007 , 11:12   Re: Deathmatch Team Balancer
    Reply With Quote #9

    yeah, taken the plugin out of beta
    __________________
    SM Plugins - dubbeh.net - Plugin requests are welcome
    dubbeh is offline
    Craftkiller
    Junior Member
    Join Date: Jul 2007
    Old 07-19-2007 , 17:59   Re: Deathmatch Team Balancer
    Reply With Quote #10

    Any chance you could release the source code?
    Craftkiller is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 02:25.


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode