gunslinger23 / maniadminplugin

Automatically exported from code.google.com/p/maniadminplugin
1 stars 1 forks source link

force team forces you to rejoin spec upon trying to join a team #127

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Install latest Mani build
2.set
mani_team_join_force_auto 1
mani_team_join_keep_same_team 1
in module 26
3.Join the spec team
4.Try to join a player team

What is the expected output? What do you see instead?
If you try to join a team from spec, it should not force you back to the team, 
it should let you join your desired team or force you to a team if force_auto 1 
is set. Instead, if you click on a team, it reforces you to spec and you can't 
play that round.

What version of the product are you using? On what operating system?
1.2V (latest build) on Win7 SRCDS x64 OS

Please provide any additional information below.
The description of the cvar in module 26 misses the 1=on, 0=off description, 
btw.

The expected behaviour of this module should be:
If force_auto = 1, either allow to join spec or force to team a or team b, upon 
exiting spec, auto_force to team
If keep team = 1, it should also allow you to join spec, but force you back on 
the team you've been in after selecting a team

Original issue reported on code.google.com by manuel.f...@gmail.com on 20 Jul 2010 at 9:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Ok, one of these days I'll figure out how to remove immunity :(

I can verify being locked into Spectator with ( unless you type "jointeam" 
alone ) 
mani_team_join_force_auto 1
mani_team_join_keep_same_team 0

You can also choose either team if you set to:
mani_team_join_force_auto 0
mani_team_join_keep_same_team 1

Original comment by keeper....@gmail.com on 21 Jul 2010 at 1:57

GoogleCodeExporter commented 9 years ago
Ok, Looking into it.  

mani_team_join_force_auto 1
mani_team_join_keep_same_team 1

makes no sense.  force_auto will take precedence to keep_same_team.  Do I need 
to rewrite the code so that keep_same_team should take precedence?

Or maybe come up with one cvar instead of two.

// 0 = forcing off
// 1 = force same team
// 2 = force auto select
mani_team_join_force_team 0

Original comment by keeper....@gmail.com on 21 Jul 2010 at 3:03

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r375.

updating SVN so I can switch to another dev machine.

Original comment by keeper....@gmail.com on 22 Jul 2010 at 2:07

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r377.

Original comment by keeper....@gmail.com on 22 Jul 2010 at 2:55