Closed ghost closed 4 years ago
I have the same problem. It is caused by players having special characters in their name. A name such as πππππππ
or πΌππ΅π½π
will cause this.
The playername is gathered with the GetPlayerName() function from SourceMod in databases.sp on line 252 (in the SaveDataPlayer function).
The name does get converted to \xF0\x9F\x93\x97^1...
but it can't get updated/inserted into the database. Directly inserting this into the database works, but so far I have not found a fix.
I have tried to change the column collation from utf8_general_ci
to utf8mb4_general_ci
without any luck
This problem is related to the incompatibility of your database with dbi.mysql sourcemod driver. The plugin has nothing to do with this. Write here with this problem - https://github.com/alliedmodders/sourcemod/issues .
L 12/24/2019 - 16:02:27: [levelsranks.smx] SQL_Callback Error (2450): Incorrect string value: '\xF0\x9F\x93\x97^1...' for column
oyntch_ntX0JkS
.lvl_base
.name
at row 1