Arkshine / AdminFreeLook

AMX Mod X module
GNU General Public License v2.0
10 stars 2 forks source link

[Bug] mp_forcechasecam 2 gives enemy team spec to all players #9

Open 1719calvin opened 9 years ago

1719calvin commented 9 years ago

i know you said you took care of this on the alliedmods thread(https://forums.alliedmods.net/showpost.php?p=2006007&postcount=148), but it's still there. I downloaded the module files from GitHub.

Platform:Linux, ubuntu 14, x64 HLDS: steamcmd beta, updated. version 48/1.1.2.7/Stdio 6153 secure (10)

meta version Metamod v1.20 2013-02-16 (5:13) by Will Day willday@metamod.org http://www.metamod.org/ compiled: Feb 16 2013, 17:11:35 +0100 (optimized) ifvers: 5:13

amx version 1.8,2

meta list Currently running plugins: [ 1] AMX Mod X, v1.8.2, Feb 14 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org [ 2] Fun, v1.8.2, Feb 14 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org [ 3] CStrike, v1.8.2, Feb 14 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org [ 4] CSX, v1.8.2, Feb 14 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org/ [ 5] Admin Free Look, v1.5.4, Dec 14 2014, by Arkshine, see https://forums.alliedmods.net/showthread.php?t=100067 [ 6] Engine, v1.8.2, Feb 14 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org [ 7] FakeMeta, v1.8.2, Feb 14 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org [ 8] Ham Sandwich, v1.8.2, Feb 14 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org 8 plugins


CVars: amx_adminfreelookflag "n" amx_adminfreelookmode "d"

If both mp_forcecamera 2 and mp_forcechasecam 2, all players on the server can spec all others. If both mp_forcecamera 1 and mp_forcechasecam 1, only admins with the specified flag can spec enemy team players. (Although, iirc, mp_forcechasecam overrides mp_forcecamera if set to non 0, so mp_forcecamera shouldn't matter?)

Any info I missed that you need please let me know.

Arkshine commented 8 years ago

Sorry for delay.

If you are still using this module, are you're talking about spectating after being killed, where you could spectate an enemy even though mp_force* values are >= 1?

1719calvin commented 8 years ago

Sorry, I did not log in to github for quite a while. I've stopped using that module, but I'd like to use it and I'd be willing to test it again if you can spare some time to fix the bug. In answer to your question, yes, I was talking about spectating after being killed. I did not mean while in spectator team. With this module installed, any player in T or CT, after dying, was able to spec the opposing team even when mp_forcecamera and mp_forcechasecam both are >0.

Edit: I've forgotten the actual conditions that bring the bug about, and what I said above conflicts with the first post. If you're going to fix it, let me know and I'll retest everything on a fresh server.