Raised This Month: $ Target: $400
 0% 

dod_teams - by tla-nick (updated April 21st)


Post New Thread Reply   
 
Thread Tools Display Modes
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 11-03-2004 , 18:30  
Reply With Quote #21

Quote:
Originally Posted by VooDooDemOn
doeas this work with 0.20
I haven't tested it and I abandoned it a long time ago.

zor has another version taht I know works with .20.
it has one bug though (a player model issue) but there is a fix (thanks to firestorm) we have discussed in the DoD Amxx plugins site (www.dodplugins.net).
__________________
pendragon is offline
Send a message via ICQ to pendragon
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 11-03-2004 , 18:31  
Reply With Quote #22

Quote:
Originally Posted by VooDooDemOn
doeas this work with 0.20
I haven't tested it and I abandoned it a long time ago.

zor has another version taht I know works with .20.
it has one bug though (a player model issue) but there is a fix (thanks to firestorm) we have discussed in the DoD Amxx plugins site (www.dodplugins.net).
__________________
pendragon is offline
Send a message via ICQ to pendragon
Jedi
Member
Join Date: Mar 2004
Location: Houston, TX
Old 11-03-2004 , 19:40  
Reply With Quote #23

Yes this works with v0.20 - I'm using it - just make sure you turn spectator lock off - unless you don't want anyone to be able to go spec. This version has an auto-teambalancer that I like - something Zor's version does not include - that's why I use this one instead.
__________________
Jedi is offline
MAUGHOLD
Veteran Member
Join Date: Nov 2004
Location: CA USA
Old 11-06-2004 , 17:54  
Reply With Quote #24

a couple questions if i may.

#1-does this lag the server by checking if the teams are unbalanced or does it olny check when a player is trying to switch.

if so.

#2-can it be configured to just simply prevent a player who trys to switch and make the teams uneven. saying something like

"this switch would make the teams uneven" and stop the switch.

thank you all in advance.
__________________
{FJ}Justice STEAM_0:0:633975 If anyone needs any help with their server, Just add me to steam friends and I'll help you out.
MAUGHOLD is offline
tla-nick
Junior Member
Join Date: Mar 2004
Location: Bradford UK
Old 07-09-2005 , 05:19   Updated version
Reply With Quote #25

I got a request to add a command to this, so I hauled it out and updated it.

added:
new command amx_playerswitch <player1> <player2>
if <player1> and <player2> are on different teams then switch them

changed:
balancer now ignores bots, they (should) balance themselves
team locking overhauled to be simpler

fixed:
assign-by-comparison bug in force_client()
- always set g_balance to 1, meaning the only way to disable the balancer was to not compile it in
logic bug in swap_client()
- wrong check order meant that a timed out or connecting player could sometimes cause a balance to fail
logic bug in force_client()
- allies locking was checked, axis wasn't

thanks to Stoned Smurf for testing.

and to give (very) late answers to the post above:

#1, it won't allow a player to join a team if doing so would unbalance them, and it actively checks (and possibly forces) balance only when a player disconnects or an admin issues the command amx_balance.

#2 the hlds cvar mp_teamlimit sets how many players one team is allowed to have over the other (setting it to 0 disables this) this can be used as a passive balancer. However I found it wasn't very good which is why I wrote this plugin.
Attached Files
File Type: zip dod_teams.zip (6.9 KB, 244 views)
__________________
Where did you want to be, the day before yesterday?

- Another Disgruntled Microsoft User
tla-nick is offline
Flashhh!
Senior Member
Join Date: Nov 2005
Old 12-07-2006 , 18:25   Re: Updated version
Reply With Quote #26

Quote:
Originally Posted by tla-nick View Post
I got a request to add a command to this, so I hauled it out and updated it.

added:
new command amx_playerswitch <player1> <player2>
if <player1> and <player2> are on different teams then switch them

changed:
balancer now ignores bots, they (should) balance themselves
team locking overhauled to be simpler

fixed:
assign-by-comparison bug in force_client()
- always set g_balance to 1, meaning the only way to disable the balancer was to not compile it in
logic bug in swap_client()
- wrong check order meant that a timed out or connecting player could sometimes cause a balance to fail
logic bug in force_client()
- allies locking was checked, axis wasn't

thanks to Stoned Smurf for testing.

and to give (very) late answers to the post above:

#1, it won't allow a player to join a team if doing so would unbalance them, and it actively checks (and possibly forces) balance only when a player disconnects or an admin issues the command amx_balance.

#2 the hlds cvar mp_teamlimit sets how many players one team is allowed to have over the other (setting it to 0 disables this) this can be used as a passive balancer. However I found it wasn't very good which is why I wrote this plugin.
Nice! finally I found it!

Last edited by Flashhh!; 12-07-2006 at 18:27.
Flashhh! is offline
Reply



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 11:32.


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