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

Team Ratio v0.0.6


Post New Thread Reply   
 
Thread Tools Display Modes
Niak
SourceMod Donor
Join Date: Mar 2011
Location: France
Old 07-18-2011 , 15:27   Re: Team Ratio
Reply With Quote #21

Hi, i have one problem with your plugin.
When persons join the server, we don't in the team.
http://img11.hostingpics.net/pics/467057Sanstitre1.png
__________________
Niak is offline
vaan123
Veteran Member
Join Date: Sep 2009
Location: Kuwait
Old 07-19-2011 , 17:19   Re: Team Ratio
Reply With Quote #22

I have 3 problems with this plugin, I'm not sure what's causing them but here goes:

Problem 1: tr_autoteambalance is broken, it doesn't balance the teams correctly (sometimes T's get extra players when they shouldn't).
Problem 2:
when i set tr_autojoin to 1 players can still choose teams.

Problem 3: if there are many players on the server like 19/24 the other 5 players cant join any team, and if they manage to join they just stay dead.
__________________


Last edited by vaan123; 07-19-2011 at 20:16.
vaan123 is offline
Send a message via MSN to vaan123 Send a message via Yahoo to vaan123 Send a message via Skype™ to vaan123
IbaneZ
Senior Member
Join Date: May 2009
Old 07-20-2011 , 07:51   Re: Team Ratio
Reply With Quote #23

Hello!

I just tested this plugin and also have these problems.
I set tr_autojoin to 1, but players still have to choose a team.
The ratio part works well after a mapchange for example. I set tr_ratio 2
and tr_advantage 2, so 2CT for each T. So if there is 1 T and 1 CT on the server, you have to join CT. That works. tr_autobalance 1 does not work for me either. As players f.ex. leave, the plugin does not switch players to fit the ratio in the future rounds. Only chance to make the ratio fit again is to wait for new players, cause they are forced to join the correct teams. Would be great if you could make the autobalance thing work and maybe also add a feature that allows to check the teambalance after x amount of seconds in the new round and then switch players automatically to make the ratio fit.
I also noticed those spawn problems. First I thought its because the map does not have enough spawn points. Then I disabled this plugin and the problem is gone.
IbaneZ is offline
nisam_ja
BANNED
Join Date: Sep 2008
Location: osijek
Old 07-20-2011 , 08:00   Re: Team Ratio
Reply With Quote #24

omg this is what i needed for predator plugin .. ..

good work

and here is a reward for making a good plugin :

http://www.youtube.com/watch?v=1ZuK_wYrqp8
nisam_ja is offline
Send a message via MSN to nisam_ja Send a message via Skype™ to nisam_ja
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-21-2011 , 00:25   Re: Team Ratio v0.0.4
Reply With Quote #25

Updated to v0.0.4

Quote:
Originally Posted by Exolent[jNr] View Post
Changelog:
Version 0.0.4
- Fixed ratio calculation for auto balance
- Optimized sorting immunity players for auto balance
- Added value 2 for tr_autojoin
- Added values 2,3 for tr_autobalance
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Old 07-21-2011, 01:52
nisam_ja
This message has been deleted by nisam_ja.
vaan123
Veteran Member
Join Date: Sep 2009
Location: Kuwait
Old 07-21-2011 , 06:14   Re: Team Ratio v0.0.4
Reply With Quote #26

nice, thanks for the update =]
__________________

vaan123 is offline
Send a message via MSN to vaan123 Send a message via Yahoo to vaan123 Send a message via Skype™ to vaan123
IbaneZ
Senior Member
Join Date: May 2009
Old 07-21-2011 , 09:20   Re: Team Ratio v0.0.4
Reply With Quote #27

Alright, thanks for the update!

I have my server running with these cvars:

tr_enabled 1
tr_ratio 2
tr_advantage 2
tr_autojoin 2
tr_autobalance 1
tr_immunity 0

The spawn problem seems fixed.
Autojoin cvar works also.
The ratio part seems to be a little inaccurate.
My server had 7 CT players and 3T players playing. Then someone joined and he was put to T :/ That happens alot. That new player should first join CT of course, so it would be like 8 CT vs. 3T.

The autobalance part is still not working. It does not move any players to any team to make the ratio fit.
IbaneZ is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-21-2011 , 09:33   Re: Team Ratio v0.0.4
Reply With Quote #28

Try this version:

EDIT: Removed. Updated whole plugin.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 07-21-2011 at 15:54.
Exolent[jNr] is offline
IbaneZ
Senior Member
Join Date: May 2009
Old 07-21-2011 , 10:11   Re: Team Ratio v0.0.4
Reply With Quote #29

Thanks, but still the same.
I just had 9 ct vs. 1 T situation. Or 9 CT vs. 3 T situation.
Maybe the plugin just needs a lil more time to calculate everything. Thats why I suggested the "check after x amount of seconds" in the new round.
But anyway, feel free to post new versions. I can test them immediately with many players and will let you know as soon as it works.
IbaneZ is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-21-2011 , 10:27   Re: Team Ratio v0.0.4
Reply With Quote #30

Updated old post:
https://forums.alliedmods.net/showpo...5&postcount=28

New version has new cvar tr_autobalance_delay which supports multiple values.
tr_autobalance_delay <delay[,delay[,delay...]]>

Example:
tr_autobalance_delay "1.0,5.0"

Remember values are separated by a comma.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 03:38.


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