levelsranks / pawn-levels_ranks-core

Statistics plugin for servers on the Source Engine
GNU General Public License v3.0
72 stars 38 forks source link

[CSGO] Error on update database #47

Closed Nerus87 closed 3 years ago

Nerus87 commented 3 years ago

sm version

SourceMod Version Information:
    SourceMod Version: 1.10.0.6502
    SourcePawn Engine: 1.10.0.6502, jit-x86 (build 1.10.0.6502)
    SourcePawn API: v1 = 5, v2 = 12
    Compiled on: Dec 18 2020 04:15:26
    Built from: https://github.com/alliedmodders/sourcemod/commit/617fb77
    Build ID: 6502:617fb77
    http://www.sourcemod.net/

sm plugins list

  27 "[LR] Module - ExStats Hits" (v3.1.6) by Wend4r
  28 "[LR] Module - ExStats Maps" (v3.1 F1) by RoadSide Romeo
  29 "[LR] Module - ExStats Weapons" (v3.1.6) by RoadSide Romeo & Wend4r
  30 "[LR] Module - FakeRank" (v3.1.6) by Wend4r
  31 "[LR] Module - Overlays" (v3.1.6) by RoadSide Romeo
  32 "[Levels Ranks] Core" (v3.1.6) by RoadSide Romeo & Wend4r

Error logged:

L 02/26/2021 - 17:40:04: SourceMod error session started
L 02/26/2021 - 17:40:04: Info (map "de_mirage") (file "/srv/csgo5on5/csgo/addons/sourcemod/logs/errors_20210226.log")
L 02/26/2021 - 17:40:04: [levelsranks.smx] SQL_Callback Error (1234): Incorrect string value: '\xF0\x9F\x96\xA4' for column 'name' at row 1
L 02/26/2021 - 18:02:55: Error log file session closed.
Wend4r commented 3 years ago

Use the "lr_db_allow_utf8mb4" "0" https://github.com/levelsranks/levels-ranks-core/blob/master/Game%20Server/addons/sourcemod/configs/levels_ranks/settings.ini#L124