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

Auto Swap Team


Post New Thread Reply   
 
Thread Tools Display Modes
Experto
Member
Join Date: Jan 2008
Location: Brasil
Old 02-14-2011 , 19:13   Re: Auto Swap Team
Reply With Quote #21

New version

>> 2.0.3 - 02-14-2011
- Reimplement the code that resets the weapons.


Stook, thank you for your patience.
__________________
My Plugins:
-IP Block: This plugin block the entry in the server of players with same IP. Too is possible to config exceptions for some IPs
-Auto Swap Team: This plugin does the automatic swap of teams according to the options selected
-Welcome Sound: Plays sound of welcome for the players
Experto is offline
stoolk
New Member
Join Date: Jan 2011
Old 02-15-2011 , 05:26   Re: Auto Swap Team
Reply With Quote #22

Yes everything is fine now
Thanks for plugin
stoolk is offline
Experto
Member
Join Date: Jan 2008
Location: Brasil
Old 02-18-2011 , 08:22   Re: Auto Swap Team
Reply With Quote #23

Any questions or request new features, just tell here.
__________________
My Plugins:
-IP Block: This plugin block the entry in the server of players with same IP. Too is possible to config exceptions for some IPs
-Auto Swap Team: This plugin does the automatic swap of teams according to the options selected
-Welcome Sound: Plays sound of welcome for the players
Experto is offline
summer.wind
Junior Member
Join Date: Nov 2009
Old 03-01-2011 , 02:40   Re: Auto Swap Team
Reply With Quote #24

how to set the round number to swap team ?
summer.wind is offline
Experto
Member
Join Date: Jan 2008
Location: Brasil
Old 03-01-2011 , 08:43   Re: Auto Swap Team
Reply With Quote #25

Quote:
Originally Posted by summer.wind View Post
how to set the round number to swap team ?
The plugin makes the swap of four different ways. According to the value of the CVAR sm_autoswapteam_type.


By time (sm_autoswapteam_type = 1)
Half the time set in mp_timelimit.
Example:
mp_timelimit 40
The exchange will take place after 20 minutes


Number of rounds (sm_autoswapteam_type = 2)
In half of the value set in mp_maxrounds.
Example:
mp_maxrounds 30
The exchange will take place after 15 rounds


Number of victories (sm_autoswapteam_type = 3)
In half of the value set in mp_winlimit.
Example:
mp_winlimit 16
The exchange will take place after one of the teams win 8 rounds


Player's score, FRAG (sm_autoswapteam_type = 4)
In half of the value set in mp_fraglimit.
Example:
mp_fraglimit 100
The exchange will take place after a player reaches 50 frags
__________________
My Plugins:
-IP Block: This plugin block the entry in the server of players with same IP. Too is possible to config exceptions for some IPs
-Auto Swap Team: This plugin does the automatic swap of teams according to the options selected
-Welcome Sound: Plays sound of welcome for the players
Experto is offline
summer.wind
Junior Member
Join Date: Nov 2009
Old 03-03-2011 , 02:50   Re: Auto Swap Team
Reply With Quote #26

Quote:
Originally Posted by Experto View Post
The plugin makes the swap of four different ways. According to the value of the CVAR sm_autoswapteam_type.


By time (sm_autoswapteam_type = 1)
Half the time set in mp_timelimit.
Example:
mp_timelimit 40
The exchange will take place after 20 minutes


Number of rounds (sm_autoswapteam_type = 2)
In half of the value set in mp_maxrounds.
Example:
mp_maxrounds 30
The exchange will take place after 15 rounds


Number of victories (sm_autoswapteam_type = 3)
In half of the value set in mp_winlimit.
Example:
mp_winlimit 16
The exchange will take place after one of the teams win 8 rounds


Player's score, FRAG (sm_autoswapteam_type = 4)
In half of the value set in mp_fraglimit.
Example:
mp_fraglimit 100
The exchange will take place after a player reaches 50 frags
I just want the cvar of my server set to : mp_timelimit 0 . which type should i set in autoswapteam_type cvar ?

Last edited by summer.wind; 03-03-2011 at 02:56.
summer.wind is offline
Experto
Member
Join Date: Jan 2008
Location: Brasil
Old 03-03-2011 , 08:42   Re: Auto Swap Team
Reply With Quote #27

It depends on how your server works ...
So I can help you, detail the way you used to restart or change map. I imagine that at some point you to reset the scores of players ...
For example, if you reset or change of the map with X rounds, change the value of CVAR for sm_autoswapteam_type 2
I await details ...
__________________
My Plugins:
-IP Block: This plugin block the entry in the server of players with same IP. Too is possible to config exceptions for some IPs
-Auto Swap Team: This plugin does the automatic swap of teams according to the options selected
-Welcome Sound: Plays sound of welcome for the players
Experto is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 03-03-2011 , 14:33   Re: Auto Swap Team
Reply With Quote #28

@summer.wind: If you use mp_timelimit 0, you might have at least one of the values below above 0:
mp_maxrounds, mp_winlimit or mp_fraglimit.
Otherwise you'll never change your map and don't need a mapvote.

Please tell us what values are set for mp_maxrounds, mp_winlimit and mp_fraglimit on your server so you can get help.
St00ne is offline
krispx
Senior Member
Join Date: Jul 2010
Old 03-07-2011 , 11:37   Re: Auto Swap Team
Reply With Quote #29

Hi,
When i set mp_maxrounds 18 > we are swapped at round 10 instead of 9.
how resolve it please ?

Last edited by krispx; 03-07-2011 at 16:32.
krispx is offline
Experto
Member
Join Date: Jan 2008
Location: Brasil
Old 03-09-2011 , 07:34   Re: Auto Swap Team
Reply With Quote #30

Quote:
Originally Posted by krispx View Post
Hi,
When i set mp_maxrounds 18 > we are swapped at round 10 instead of 9.
how resolve it please ?
What are the values of CVARS?

sm_autoswapteam_type

mp_maxrounds
mp_winlimit
mp_fraglimit
__________________
My Plugins:
-IP Block: This plugin block the entry in the server of players with same IP. Too is possible to config exceptions for some IPs
-Auto Swap Team: This plugin does the automatic swap of teams according to the options selected
-Welcome Sound: Plays sound of welcome for the players
Experto 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 15:20.


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