sourcebans-pp icon indicating copy to clipboard operation
sourcebans-pp copied to clipboard

basecomm.smx is called instead of sbpp_comms.smx when using admin menu.

Open Xbye opened this issue 1 year ago • 1 comments

What are the steps to reproduce this issue?

  1. Type /admin into chat (or whatever you use to open the admin menu).
  2. Go to player commands.
  3. Go to Gag/mute player.
  4. Select a player, and select gag or mute.

What happens?

The player is then gagged for session. Sourcemod logs show basecomm.smx with admin steamid calling the command. The database entry is then "console" instead of the admin, with the reason: Muted through BaseComm natives

image

What were you expecting to happen?

For it to not go through basecomm.smx and through sbpp_comms.smx, and detail the admin responsible for the action.

Any logs, error output, etc.?

Any other comments?

Left 4 Dead 2.

What versions of software are you using?

Operating System: Linux Ubuntu 24.04 (dedicated machine) SourceBans++ Version: 1.8.1 SourceMod Version: 1.11.0.6964 MetaMod Version: 1.11.0-dev+1155

Xbye avatar Jul 12 '24 19:07 Xbye

The way you muted/gag the player by using player commands is by using basecomm. Sourcecomms++ commands are in /admin -> Comm Commands

So this is the correct reason provided.

Rushaway avatar Jul 12 '24 20:07 Rushaway