Raised This Month: $32 Target: $400
 8% 

H-Balance (Team balancer)


Post New Thread Reply   
 
Thread Tools Display Modes
eXplode82
Senior Member
Join Date: Oct 2009
Location: Serbia
Old 03-31-2013 , 08:49   Re: H-Balance (Team balancer)
Reply With Quote #51

I set the color. Test in: Counter-Strike Source

Edit hbalance.sp and add
Code:
#include <colors>
- replace PrintToChatAll with CPrintToChatAll
And compile plugin with colors.inc
http://forums.alliedmods.net/showthread.php?t=96831

Translate:
hbalance.phrases.txt
"en" "{red}Teams have been balanced"

Code:
{default}, {green}, {lightgreen}, {red}, {blue}, {olive}
Attached Files
File Type: smx hbalance.smx (13.7 KB, 167 views)
File Type: sp Get Plugin or Get Source (hbalance.sp - 170 views - 16.8 KB)
File Type: txt hbalance.phrases.txt (633 Bytes, 184 views)

Last edited by eXplode82; 03-31-2013 at 16:33.
eXplode82 is offline
Send a message via MSN to eXplode82
IcEWoLF
Senior Member
Join Date: Jul 2007
Old 04-08-2013 , 22:01   Re: H-Balance (Team balancer)
Reply With Quote #52

Quote:
Originally Posted by red! View Post
@icewolf: what are you talking about? the half-time switch? that't not this plugin, that's the engine, I do not do anything about players money
I am not talking about halftime switch sir, this happens whenever H-Balance balances the teams out and players get switched and lose all of their cash and spawn with like $600, this happened to my players, even myself. Something is going on here.
__________________
The 47 Ronin Gaming - http://www.47r-squad.com


IcEWoLF is offline
XenTerSiO
SourceMod Donor
Join Date: Nov 2011
Location: Black Mesa
Old 04-11-2013 , 07:14   Re: H-Balance (Team balancer)
Reply With Quote #53

On maps with a single command, the plugin throws a player to another team. Thus spoils the game
XenTerSiO is offline
ph
AlliedModders Donor
Join Date: Mar 2006
Old 04-11-2013 , 08:10   Re: H-Balance (Team balancer)
Reply With Quote #54

Thanks for the admin immunity cvar.

I have installed your plugin for further testing.
__________________
ph is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 04-11-2013 , 16:13   Re: H-Balance (Team balancer)
Reply With Quote #55

yeah thanks for the admin immunity :p also gonna test it!

edit:

im getting this

Quote:
L 04/12/2013 - 22:50:24: [SM] Native "GetArrayCell" reported: Invalid index -1 (count: 65)
L 04/12/2013 - 22:50:24: [SM] Displaying call stack trace for plugin "hbalance.smx":
L 04/12/2013 - 22:50:24: [SM] [0] Line 272, hbalance.sp::balanceByMove()
L 04/12/2013 - 22:50:24: [SM] [1] Line 187, hbalance.sp::Timer_Balance()

Last edited by DoPe^; 04-12-2013 at 21:33.
DoPe^ is offline
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Old 04-14-2013 , 17:01   Re: H-Balance (Team balancer)
Reply With Quote #56

hm yes, seems quite clear. Already fixed that in the my ongoing working version. Most likely I forgot to upload it here ... sorry.
__________________
Answering stupid questions does not lead to perception but to more stupid questions.
red! is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 04-14-2013 , 17:06   Re: H-Balance (Team balancer)
Reply With Quote #57

Quote:
Originally Posted by red! View Post
hm yes, seems quite clear. Already fixed that in the my ongoing working version. Most likely I forgot to upload it here ... sorry.
hah np mate
DoPe^ is offline
mrsmith
SourceMod Donor
Join Date: Jun 2012
Old 04-20-2013 , 14:49   Re: H-Balance (Team balancer)
Reply With Quote #58

L 04/19/2013 - 16:51:13: [SM] Displaying call stack trace for plugin "hbalance.smx":
L 04/19/2013 - 16:51:13: [SM] [0] Line 434, /home/groups/alliedmodders/forums/files/3/1/0/0/5/114228.attach::isProtected()
L 04/19/2013 - 16:51:13: [SM] [1] Line 250, /home/groups/alliedmodders/forums/files/3/1/0/0/5/114228.attach::balanceByMove()
L 04/19/2013 - 16:51:13: [SM] [2] Line 223, /home/groups/alliedmodders/forums/files/3/1/0/0/5/114228.attach::balanceTeam()
L 04/19/2013 - 16:51:13: [SM] [3] Line 194, /home/groups/alliedmodders/forums/files/3/1/0/0/5/114228.attach::Timer_Balance()
L 04/19/2013 - 16:51:29: [SM] Native "GetUserFlagBits" reported: Client index 0 is invalid
mrsmith is offline
PlasteR
Senior Member
Join Date: May 2011
Location: Poland
Old 04-21-2013 , 04:45   Re: H-Balance (Team balancer)
Reply With Quote #59

sm_adminProtection [0/1/2]: protects admins from beeing balanced (0=no protection, 1=moderate protection, 2=full protection [BALANCE PERFORMANCE MAY BE REDUCED MASIVELY], default=0)

Is it possible to add options:
sm_admin_flags " "

Very good plugins I test for CSGO and CSS
__________________
PlasteR is offline
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Old 04-21-2013 , 07:21   Re: H-Balance (Team balancer)
Reply With Quote #60

Quote:
Originally Posted by mrsmith View Post
L 04/19/2013 - 16:51:13: [SM] Displaying call stack trace for plugin "hbalance.smx":
L 04/19/2013 - 16:51:13: [SM] [0] Line 434, /home/groups/alliedmodders/forums/files/3/1/0/0/5/114228.attach::isProtected()
L 04/19/2013 - 16:51:13: [SM] [1] Line 250, /home/groups/alliedmodders/forums/files/3/1/0/0/5/114228.attach::balanceByMove()
L 04/19/2013 - 16:51:13: [SM] [2] Line 223, /home/groups/alliedmodders/forums/files/3/1/0/0/5/114228.attach::balanceTeam()
L 04/19/2013 - 16:51:13: [SM] [3] Line 194, /home/groups/alliedmodders/forums/files/3/1/0/0/5/114228.attach::Timer_Balance()
L 04/19/2013 - 16:51:29: [SM] Native "GetUserFlagBits" reported: Client index 0 is invalid
Ok, I'll look for that as soon as I find some time. But tell me which version yo are using. Looks like you are using sm_balance_mode=0 from the 1.6 release, but the line numbers from the stack dump do not match the 1.6-code.
__________________
Answering stupid questions does not lead to perception but to more stupid questions.
red! 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 14:43.


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