Raised This Month: $51 Target: $400
 12% 

Simple Team Balancer


Post New Thread Reply   
 
Thread Tools Display Modes
Kenny Loggins
SourceMod Donor
Join Date: Jun 2008
Location: Rochester, MN
Old 07-30-2009 , 15:16   Re: Simple Team Balancer
Reply With Quote #11

At first look I assumed the line above it was related to another plugin and it was late for me but your right on that

Quote:
L 07/29/2009 - 2334: [SM] Native "GetClientTeam" reported: Client 2 is not in game
L 07/29/2009 - 2334: [SM] Displaying call stack trace for plugin "simple-teambalancer.smx":
L 07/29/2009 - 2334: [SM] [0] Line 1148, C:\Compiler\scripting\simple-teambalancer.sp::FindSwitchablePlayer()
L 07/29/2009 - 2334: [SM] [1] Line 1371, C:\Compiler\scripting\simple-teambalancer.sp::Timer_LivingPlayerCheck()
Maybe this is a plugin conflict.. What can I do to troubleshoot why this is crashing the server?
__________________

Server Admin / Leader
ClanAO.com

Last edited by Kenny Loggins; 07-30-2009 at 15:48.
Kenny Loggins is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 07-30-2009 , 18:20   Re: Simple Team Balancer
Reply With Quote #12

The problem appears to be with the buddy system and the buddy of the client leaving the game causing that error. At least the line numbers and error type seem to think that is the problem.

I will do some testing to see if it is actually my plugin that is causing this problem. I can tell you thou, that this error by itself, 99.9% of the time would not cause a server crash.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Kenny Loggins
SourceMod Donor
Join Date: Jun 2008
Location: Rochester, MN
Old 07-30-2009 , 18:22   Re: Simple Team Balancer
Reply With Quote #13

I didn't see that error in any other servers but still noticed the crash. I had over 20 crashes at this time yesterday and with your older version I didn't have even one crash yet today.
__________________

Server Admin / Leader
ClanAO.com
Kenny Loggins is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 07-30-2009 , 19:30   Re: Simple Team Balancer
Reply With Quote #14

I sent you a PM. Lets move this to steam chat as it appears there is something weird going on with your servers and this plugin. Not sure what, but we can figure it out.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
dorn
New Member
Join Date: Jul 2009
Old 07-31-2009 , 07:59   Re: Simple Team Balancer
Reply With Quote #15

Is it possible to add a "buddy list" for admins. When I am on my server I like to play with my friends (also admins) in one team. But I dont like to check the team size all the time. So it would be great if there would be an option which tries to put all admin or all player from a buddylist into one team.

Thanks a lot!
dorn is offline
blik
Senior Member
Join Date: May 2006
Old 08-01-2009 , 05:45   Re: Simple Team Balancer
Reply With Quote #16

Code:
stock RespawnPlayer(iClient)
{

	/**
	Change the client's team based on the mod
	*/
	switch (g_CurrentMod)
	{
		case GameType_CSS:
		{
			CS_RespawnPlayer(iClient);
		}
		case GameType_TF:
		{
			TF2_RespawnPlayer(iClient);
		}
		case GameType_INS:
		{
			FakeClientCommand(iClient, "kill");
		}
		default:
		{
			//
		}
	}
}
This wont work with DODS...
blik is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 08-01-2009 , 16:23   Re: Simple Team Balancer
Reply With Quote #17

That function only respawns the player, and you are right, it doesn't run with the mod is DOD. As far as I know there is no respawn api function for DOD.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
tcviper
Veteran Member
Join Date: Oct 2005
Location: Netherlands
Old 08-06-2009 , 04:12   Re: Simple Team Balancer
Reply With Quote #18

CSS

Quote:
L 08/06/2009 - 10:09:14: -------- Mapchange to de_dust2 --------
L 08/06/2009 - 10:09:16: [SM] Unable to load extension "game.tf2.ext.dll": The s
pecified module could not be found.

L 08/06/2009 - 10:09:16: [SM] Failed to load plugin "simple-teammanager.smx": Un
able to load plugin (error 1: Unrecognizable file format)
L 08/06/2009 - 10:09:16: [GEOIP] GeoIP database info: GEO-106FREE 20080301 Build
1 Copyright (c) 2007 MaxMind LLC All Rights Reserved
L 08/06/2009 - 10:09:16: [SM] Native "CloseHandle" reported: Handle 0 is invalid
(error 4)
L 08/06/2009 - 10:09:16: [SM] Displaying call stack trace for plugin "gameme.smx
":
L 08/06/2009 - 10:09:16: [SM] [0] Line 510, gameme.sp::check_loaded_plugins()

L 08/06/2009 - 10:09:16: [SM] [1] Line 194, gameme.sp::OnPluginStart()
L 08/06/2009 - 10:09:16: [SM] Unable to load plugin "simple-plugins.smx": Native
"TF2_RespawnPlayer" was not found
L 08/06/2009 - 10:09:16: [SM] Native "GetConVarFlags" reported: Invalid convar h
andle 0 (error 4)
L 08/06/2009 - 10:09:16: [SM] Displaying call stack trace for plugin "simple-tea
mbalancer.smx":
L 08/06/2009 - 10:09:16: [SM] [0] Line 158, C:\Compiler\scripting\simple-team
balancer.sp::OnPluginStart()
__________________
tcviper is offline
Send a message via MSN to tcviper
Cobra-Jet
Member
Join Date: Jul 2008
Location: Nebraska
Old 08-10-2009 , 20:34   Re: Simple Team Balancer
Reply With Quote #19

I seem to be have a problem where a person in spectate seems to cause the plugin not to balance the teams even when they are unbalanced.

Seems to work flawlessly unless someone is in spectate. Can that somehow mess up the timers / counts?

Here is my config if that helps:

stb_adminflag "a"

stb_balancedelay "10"

stb_buddyenabled "0"

stb_buddyrestriction "0"

stb_convarcontrol "1"

stb_deadonly "0"

stb_enabled "1"

stb_forcedenabled "1"

stb_livingplayercheckdelay "30"

stb_livingplayerswitchdelay "50"

stb_logactivity "0"

stb_logactivity2 "0"

stb_priorityenabled "1"

stb_roundstartdelay "15"

stb_switchbackforced "600"

stb_uberlevel "0.5"

stb_unbalancelimit "1"
Cobra-Jet is offline
Jokerz99
Senior Member
Join Date: Apr 2008
Old 08-11-2009 , 21:23   Re: Simple Team Balancer
Reply With Quote #20

Hi in tf2 during sudden death it still balances the team.. can you make it not try to balance during sudden death please..
__________________
Jokerz99 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 06:07.


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