Jump to content
Thing 1™

[Bug Report] » Kz admin chat

Recommended Posts

When someone types to us in admin chat it also shows to everyone else, for example alerting a cheater that they have been reported to admins. It’s kind of annoying as it defeats the purpose of admin chat. It should be made so the only message that goes through is the one only visible to admins.


View full bug

Share this post


Link to post
Share on other sites
5 hours ago, August said:

@ proobs 🎃 @ Diam0ndz 👻 did you guys do anything chat related?

If not just pull over basecomm.smx (or basecomms can't remember) from any other server and see if that fixes it.

Nah, it’s just that kztimer uses a different chat processor and I’ll need to edit the plugin for it to not show up

Share this post


Link to post
Share on other sites

@ proobs

V4G25yU.png


https://bitbucket.org/kztimerglobalteam/kztimerglobal/src/5514cd8e848b8d1a80c0c8ae2bb2d8c44b4c8b58/scripting/kztimerGlobal/hooks.sp?at=master#lines-402

For some reason kz unnecessarily checks for admin flags, commenting it out should fix this.

if((IsChatTrigger() && sText[0] == '/') || sText[0] == '@' /*&& (GetUserFlagBits(client) & ADMFLAG_ROOT ||  GetUserFlagBits(client) & ADMFLAG_GENERIC))*/)

 

Edited by Extacy

Share this post


Link to post
Share on other sites
1 hour ago, Extacy said:

@ proobs

V4G25yU.png


https://bitbucket.org/kztimerglobalteam/kztimerglobal/src/5514cd8e848b8d1a80c0c8ae2bb2d8c44b4c8b58/scripting/kztimerGlobal/hooks.sp?at=master#lines-402

For some reason kz unnecessarily checks for admin flags, commenting it out should fix this.

if((IsChatTrigger() && sText[0] == '/') || sText[0] == '@' /*&& (GetUserFlagBits(client) & ADMFLAG_ROOT || GetUserFlagBits(client) & ADMFLAG_GENERIC))*/)


if((IsChatTrigger() && sText[0] == '/') || sText[0] == '@' /*&& (GetUserFlagBits(client) & ADMFLAG_ROOT ||  GetUserFlagBits(client) & ADMFLAG_GENERIC))*/)

 

Not gonna edit kztimer plugin as it could get us deglobaled. Make a PR

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...