PDA

View Full Version : CSP team balancer?



Fubister
07-19-2010, 07:12 AM
Is there any chance you could help me out (and others I guess) with running a team balance plugin for CSP? Plugin is more or less working, cause it's able to say which team has an adventage however it gives out error 'Failed to find a fair switch' when he wants to move people from one team to another, here is the script (basically it should support mods other than CS:S) http://mods.counter-strike.com/uploads/etb4.zip

amogan
07-19-2010, 10:08 AM
So that was YOUR server I've been playing on recently. :)
First of all that's the plugin writer's job, apparently it does NOT work with any mod (I don't see why it should anyhow).
Second of all that link just redirects me to http://www.counter-strike.com/

Fubister
07-20-2010, 02:26 AM
ahh yes, seems like link is broken, try to download via my own host tho. http://2good4u.net/cspromod/etb4.zip

thats is the installation guide.

1. Download Release 4.
2. Extract in your mod directory (cstrike for Counter-Strike: Source).
3. Edit your server.cfg (located in the cfg directory) to include the following line:
exec etb.cfg
4. If you're running a mod other than Counter-Strike: Source, modify etb.vdf (located in the addons directory) and replace cstrike with the directory your mod is located in.

@up that's why I though it might run with other modifications as they are telling to edit etb.vdf if so.

and that team balance is the only thing missing out of my server since I have already anti-TeamKill and anti-AFK.

amogan
07-20-2010, 09:16 AM
It assumes a specific programming layout, the existence of specific functions in code. We don't have CS:S source code, we programmed this from scratch and thus many things might work differently internally. Which is why in this case the plugin doesn't know how to find a player to switch or whatever, sorry. :)
That comment about editing the .vdf file is just to get it to load if the directory is different (ie. another game). This might work for some mods or games that were programmed the similar to CS:S but that plugin is specifically guaranteed to be working on CS:S and nothing more... Same issue as this (http://cspromod.com/community/threads/2894-cspromod-support-sourcemod-plugins-%21?p=43545&viewfull=1#post43545).

Fubister
07-20-2010, 12:18 PM
I see, well anways it would be a good idea to add some teambalance in next version, and I mean here really simple team balance, when for example there is 4CT and 6TT server automatically (even randomly) move one player from TT to CT to make it fair 5on5

yuri
07-20-2010, 12:39 PM
You know, CSP is primary aimed at competetivness => mainly 5on5 cw/tg. Thats the primary goal. Pubs adv features are not the must ATM.

Fubister
07-20-2010, 04:30 PM
Imo well organized publics are quite important in here since basically thanks to them people can report bugs and stuff cuz in a public server you basically are not taking all that 'playing stuff' too serious and you try/do many different things on maps, and during some 5on5 pcw are not really fooling around so you might not catch bus and stuff, anyways this is just a though, you do as it is best.

Elrey
07-20-2010, 05:08 PM
Fubister if you don't mind me asking what anti-AFK plugin do you use on your server?

Thanks

nki1
07-20-2010, 05:27 PM
Yes, CSP should include all functions to run a good pub server without any plugins. It's hard to find good pubs which don't have 100 plugins. So hopefully with CSP, normal pure pub servers come back.

Jobashi
07-21-2010, 06:19 AM
the dev shouldn't and won't (probably) focus on a teambalancer as their time should be focused on releasing the 1.05 patch.

it's still a nice feature though d=

Fubister
07-21-2010, 08:10 AM
Fubister if you don't mind me asking what anti-AFK plugin do you use on your server?

Thanks

Anti-AFK is a plugin that checks if you are not moving+looking at the same place for one minute (ofc you can change the time) if so it means you are afk and plugin moves you to spec, and then if you are still afk plugin kicks you from server