TheByKotik / sbpp_discord

Listens forwards of bans, comms, reports and sends it to Discord webhooks.
https://sbpp.github.io
GNU General Public License v3.0
1 stars 0 forks source link

Anti-Cheat Bans Notification BUG #14

Closed shaikhnedab closed 2 years ago

shaikhnedab commented 2 years ago

Found a weird bug. Normal bans (i.e. manually banning using sm_ban) sends notification to discord channel normally. But if any Anti-Cheat (tried on Little AC and SMAC) auto bans user it doesn't sends notification to discord channel.

It used to work on older version (1.7.0-49) here is the embed screenshot for older version. image.

Current Plugin Version : 1.7.0-51

I have not changed anything with SMAC or Sourceban plugin. It is happening after updating to (1.7.0-51)

TheByKotik commented 2 years ago

Hi!

  1. Do you use precompiled .smx (sbpp_discord & lilac / smac) or compiled by yourself?
  2. Which version of SB++ used?
shaikhnedab commented 2 years ago

Hello,

  1. Yes precompiled .smx from respective repositories. a. Little Anti-Cheat b. Sourceban++ 1.6.4

It was working fine on older version as mentioned.

TheByKotik commented 2 years ago

Weird

I can't reproduce that bug. In any cases i always receive notification embed. image

I created fork of lilac with debuggers, please give it a try and report console outputs here. Command sm_test must directly call lilac_ban_client .

TheByKotik commented 2 years ago

Also are you sure sbpp_discord isn't throwing exception like this: Exception reported: Language phrase "Blocked by" not found (arg 5)? This exception was fixed in 3230613 (1.7.0-52).

shaikhnedab commented 2 years ago

well that was it Exception reported: Language phrase "Blocked by" not found (arg 5). for some reason there were no error logs with above error. but when I tested with lilac debug mode I saw those errors in server console. updating to 1.7.0-52 fixed the issue. Thank you very much