Having now used the pluign for a week or so, I'd like to leave some feedback regarding the in-game menu that appears when spectating.
Please add a command and/or cvar to control when this appears. I will quite often spectate players and use the sm_admin menu to do things. However whenever I try to use the sm_admin menu, the SCBL menu will 'overwrite' it meaning my admins and I can't use a pretty major resource.
Maybe it could be set so that players have to use a command to view that menu, or have a cvar that only makes it appears to admins by default, with the options to set to "All players / Admins only / On command only".
At the very least, please fix it 'overwriting' other menus.
Also, I have noticed that this plug floods the error logs with this message:
Code:
L 10/09/2017 - 11:24:57: [SMJSON] Error in line 1, col 19: end of file expected near '443'
L 10/09/2017 - 11:24:57: [SM] Exception reported: Invalid <JSON Object> handle 0 (error 4)
L 10/09/2017 - 11:24:57: [SM] Blaming: sourcecbl.smx
L 10/09/2017 - 11:24:57: [SM] Call stack trace:
L 10/09/2017 - 11:24:57: [SM] [0] json_typeof
L 10/09/2017 - 11:24:57: [SM] [1] Line 189, sourcecbl.sp::ProcessElement
L 10/09/2017 - 11:24:57: [SM] [2] Line 329, sourcecbl.sp::APIWebResponse
L 10/09/2017 - 11:24:57: [SM] [4] SteamWorks_GetHTTPResponseBodyCallback
L 10/09/2017 - 11:24:57: [SM] [5] Line 319, sourcecbl.sp::HTTP_RequestComplete
L 10/09/2017 - 11:24:57: [SM] Exception reported: Array index is out of bounds
L 10/09/2017 - 11:24:57: [SM] Blaming: sourcecbl.smx
L 10/09/2017 - 11:24:57: [SM] Call stack trace:
L 10/09/2017 - 11:24:57: [SM] [1] Line 407, sourcecbl.sp::Timer_SpecWhoHud
L 10/09/2017 - 11:24:58: [SM] Exception reported: Array index is out of bounds
L 10/09/2017 - 11:24:58: [SM] Blaming: sourcecbl.smx
L 10/09/2017 - 11:24:58: [SM] Call stack trace:
L 10/09/2017 - 11:24:58: [SM] [1] Line 407, sourcecbl.sp::Timer_SpecWhoHud
L 10/09/2017 - 11:24:59: [SM] Exception reported: Array index is out of bounds
L 10/09/2017 - 11:24:59: [SM] Blaming: sourcecbl.smx
L 10/09/2017 - 11:24:59: [SM] Call stack trace:
L 10/09/2017 - 11:24:59: [SM] [1] Line 407, sourcecbl.sp::Timer_SpecWhoHud
L 10/09/2017 - 11:25:00: [SM] Exception reported: Array index is out of bounds
L 10/09/2017 - 11:25:00: [SM] Blaming: sourcecbl.smx
L 10/09/2017 - 11:25:00: [SM] Call stack trace:
L 10/09/2017 - 11:25:00: [SM] [1] Line 407, sourcecbl.sp::Timer_SpecWhoHud
L 10/09/2017 - 11:25:01: [SM] Exception reported: Array index is out of bounds
L 10/09/2017 - 11:25:01: [SM] Blaming: sourcecbl.smx
L 10/09/2017 - 11:25:01: [SM] Call stack trace:
L 10/09/2017 - 11:25:01: [SM] [1] Line 407, sourcecbl.sp::Timer_SpecWhoHud
I don't know if this is related to my issue above, but I am sharing it just in case it's helpful.