Raised This Month: $ Target: $400
 0% 

Fair Team Balancer


Post New Thread Reply   
 
Thread Tools Display Modes
FredJed223
Senior Member
Join Date: Feb 2008
Old 02-12-2008 , 22:45   Re: Fair Team Balancer
Reply With Quote #11

Have been running this server for a few days. No crashes. But does not balance enough. Only when the round has ended (event?). Can you have it check when a point is capped?
FredJed223 is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 02-12-2008 , 23:38   Re: Fair Team Balancer
Reply With Quote #12

Yes please. I agree. In TF2 its just not enough. There were 11 people on blue and 15 on red. Blue didnt stand a chance! Maybe have it check for 3 people or somthing major like that every few minutes? I dunno.
__________________

DontWannaName is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 02-13-2008 , 04:11   Re: Fair Team Balancer
Reply With Quote #13

FredJed223:
What game and what map have you been running? I've already implemented that it checks whenever an objective is captured, maybe I missed something for the map/mod you ran.

DWN:
I've implemented a timer that runs the checks every 2 minutes. The interval can be changed by setting a define at the beginning of the code and recompiling.

By the way:
Quote:
Originally Posted by DontWannaName View Post
There were 11 people on blue and 15 on red. Blue didnt stand a chance!
In such a situation you can execute sm_teams, and teams will be balanced right away.
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble

Last edited by MistaGee; 02-13-2008 at 04:32.
MistaGee is offline
Send a message via ICQ to MistaGee
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 02-13-2008 , 04:47   Re: Fair Team Balancer
Reply With Quote #14

Great news on the changes for TF2, I also soon realised that the check wasn't being made frequently enough in TF2.

Thanks MistaGee.

I have another couple of issues:

I had an admin team-switched last night.
He had the 'Z' flag.
I've not seen any other admins switched yet so maybe it's just the 'Z' root admins that the plugin's not recognising.

Also in TF2 a switch ends up causing a death to the player that's been switched, which will give some of our HLstatsX rank-whores some serious palpitations.
Any way this can be looked at so that the switch only occurs for dead players?

Thanks in advance.
__________________
Extreme_One is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 02-13-2008 , 05:19   Re: Fair Team Balancer
Reply With Quote #15

Quote:
Originally Posted by Extreme_One View Post
I had an admin team-switched last night.
Damn - there's been a bug in the plugin so it _only_ switched admins. Should be fixed.

Quote:
Originally Posted by Extreme_One View Post
Also in TF2 a switch ends up causing a death to the player that's been switched, which will give some of our HLstatsX rank-whores some serious palpitations.
Any way this can be looked at so that the switch only occurs for dead players?
I've changed the plugin, so it stores which players are to be switched and switches them one second after they died.

Version: 2.4.
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 02-13-2008 , 05:35   Re: Fair Team Balancer
Reply With Quote #16

Great MistaGee, thank you.

I'm looking forward to getting home tonight to test the new version.
__________________
Extreme_One is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 02-13-2008 , 20:00   Re: Fair Team Balancer
Reply With Quote #17

woo now its perfect and in time for the new updates. Can you add a cvar for the time check instead of changing the code?
__________________


Last edited by DontWannaName; 02-13-2008 at 20:46.
DontWannaName is offline
ThatGuy
Senior Member
Join Date: Nov 2007
Old 02-13-2008 , 22:41   Re: Fair Team Balancer
Reply With Quote #18

Threw it on my server! I hope to bring feedback from the players, thanks for this great plugin!
__________________

Last edited by ThatGuy; 02-14-2008 at 00:09.
ThatGuy is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 02-14-2008 , 00:32   Re: Fair Team Balancer
Reply With Quote #19

Code:
"L 02/13/2008 - 00:42:43: [SM]   [0]  Line 141, /home/groups/alliedmodders/forums/files/2/1/3/1/23555.attach::Event_RoundEnd()
L 02/13/2008 - 00:57:26: [SM] Native "ChangeClientTeam" reported: Client index 0 is invalid
L 02/13/2008 - 00:57:26: [SM] Displaying call stack trace for plugin "fairteambalancer.smx":
L 02/13/2008 - 00:57:26: [SM]   [0]  Line 141, /home/groups/alliedmodders/forums/files/2/1/3/1/23555.attach::Event_RoundEnd()
L 02/13/2008 - 01:00:43: [SM] Plugin encountered error 15: Array index is out of bounds
L 02/13/2008 - 01:00:43: [SM] Displaying call stack trace for plugin "fairteambalancer.smx":
L 02/13/2008 - 01:00:43: [SM]   [0]  Line 91, /home/groups/alliedmodders/forums/files/2/1/3/1/23555.attach::Event_RoundEnd()
L 02/13/2008 - 01:09:51: [SM] Native "ChangeClientTeam" reported: Client index 0 is invalid
L 02/13/2008 - 01:09:51: [SM] Displaying call stack trace for plugin "fairteambalancer.smx":
L 02/13/2008 - 01:09:51: [SM]   [0]  Line 141, /home/groups/alliedmodders/forums/files/2/1/3/1/23555.attach::Event_RoundEnd()
L 02/13/2008 - 01:27:57: [SM] Native "ChangeClientTeam" reported: Client index 0 is invalid
L 02/13/2008 - 01:27:57: [SM] Displaying call stack trace for plugin "fairteambalancer.smx":
L 02/13/2008 - 01:27:57: [SM]   [0]  Line 141, /home/groups/alliedmodders/forums/files/2/1/3/1/23555.attach::Event_RoundEnd()
L 02/13/2008 - 01:33:38: [SM] Native "ChangeClientTeam" reported: Client index 0 is invalid
L 02/13/2008 - 01:33:38: [SM] Displaying call stack trace for plugin "fairteambalancer.smx":
L 02/13/2008 - 01:33:38: [SM]   [0]  Line 141, /home/groups/alliedmodders/forums/files/2/1/3/1/23555.attach::Event_RoundEnd()
L 02/13/2008 - 01:35:33: [SM] Native "ChangeClientTeam" reported: Client index 0 is invalid
L 02/13/2008 - 01:35:33: [SM] Displaying call stack trace for plugin "fairteambalancer.smx":
L 02/13/2008 - 01:35:33: [SM]   [0]  Line 141, /home/groups/alliedmodders/forums/files/2/1/3/1/23555.attach::Event_RoundEnd()
L 02/13/2008 - 01:39:45: [SM] Plugin encountered error 15: Array index is out of bounds
L 02/13/2008 - 01:39:45: [SM] Displaying call stack trace for plugin "fairteambalancer.smx":
L 02/13/2008 - 01:39:45: [SM]   [0]  Line 91, /home/groups/alliedmodders/forums/files/2/1/3/1/23555.attach::Event_RoundEnd()
L 02/13/2008 - 01:41:24: [SM] Plugin encountered error 15: Array index is out of bounds
L 02/13/2008 - 01:41:24: [SM] Displaying call stack trace for plugin "fairteambalancer.smx":
L 02/13/2008 - 01:41:24: [SM]   [0]  Line 91, /home/groups/alliedmodders/forums/files/2/1/3/1/23555.attach::Event_RoundEnd()
L 02/13/2008 - 01:46:31: [SM] Plugin encountered error 15: Array index is out of bounds
L 02/13/2008 - 01:46:31: [SM] Displaying call stack trace for plugin "fairteambalancer.smx":
L 02/13/2008 - 01:46:31: [SM]   [0]  Line 91, /home/groups/alliedmodders/forums/files/2/1/3/1/23555.attach::Event_RoundEnd()
L 02/13/2008 - 01:49:47: [SM] Plugin encountered error 15: Array index is out of bounds
L 02/13/2008 - 01:49:47: [SM] Displaying call stack trace for plugin "fairteambalancer.smx":
L 02/13/2008 - 01:49:47: [SM]   [0]  Line 91, /home/groups/alliedmodders/forums/files/2/1/3/1/23555.attach::Event_RoundEnd()
L 02/13/2008 - 19:40:34: SourceMod error session started
L 02/13/2008 - 19:40:34: Info (map "cp_dustbowl") (file "errors_20080213.log")
L 02/13/2008 - 19:40:34: [SM] Plugin encountered error 15: Array index is out of bounds
L 02/13/2008 - 19:40:34: [SM] Displaying call stack trace for plugin "fairteambalancer.smx":
L 02/13/2008 - 19:40:34: [SM]   [0]  Line 123, /home/groups/alliedmodders/forums/files/2/1/3/1/23555.attach::PerformTeamCheck()
L 02/13/2008 - 19:40:34: [SM]   [1]  Line 95, /home/groups/alliedmodders/forums/files/2/1/3/1/23555.attach::Timer_Check()
Crashes my server every 10 minutes. The auto checker spams chat a lot with failed to switch teams, they are full or w/e
__________________

DontWannaName is offline
ThatGuy
Senior Member
Join Date: Nov 2007
Old 02-14-2008 , 00:44   Re: Fair Team Balancer
Reply With Quote #20

If the events are causing the crashing, then maybe it's also unnecessary? I think having the timer (and the ability to set it to whatever you want by cvar) would be all that's needed for this plugin.
__________________
ThatGuy 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 16:17.


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