AlliedModders (
-   SourceBans / SourceBans++ (
-   -   [SB++] Inserting ban "Incorrect string value" (

TheFlyingApple 12-20-2020 20:19

[SB++] Inserting ban "Incorrect string value"

Every time a new ban is added via the ingame admin menu, and the banned players ingame name contains unicode-characters (Ex. "𝖘𝖚𝖙𝖉𝖎") i get the following error in my "sourcebans.log":


L 12/21/2020 - 00:04:15: [sbpp_main.smx] Verify Insert Query Failed: Incorrect string value: '\xF0\x9D\x96\x98\xF0\x9D...' for column 'name' at row 1
My DB setup looks like this:

Everything worked before i changed DB host... I have tried different SQL commands - also changing the "Charset" of the "name" column... But nothing have worked.

MySQL: mysql-5.7.31
Sourcemod: 1.10.6501
Metamod: 1.11.1143
Sourcebans++: 1.6.3

Any ideas?

asdfxD 12-23-2020 16:01

Re: [SB++] Inserting ban "Incorrect string value"
i had the same issue few months ago. open the sbpp_main.sp and change:

PHP Code:


PHP Code:


and recompile the plugin.

do the same with the sbpp_comms.sp

All times are GMT -4. The time now is 11:31.

Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.