z1ntex/CSGO_WeaponStickers

The stickers dont save

Closed this issue · 6 comments

Idk if its only for me but after changing the map they just dont save and i have to put them again.

Installation

  • Edit csgo/addons/sourcemod/configs/core.cfg => and set "FollowCSGOServerGuidelines" to "no";
  • Copy the folder structure to your gameserver;
  • Setup database.cfg;
    • Example SQLite:
    "csgo_weaponstickers"
    {
        "driver"        "sqlite"
        "database"      "csgo_weaponstickers"
    }
  • Example MySQL:
    "csgo_weaponstickers"
    {
        "driver"        "mysql"
        "host"          "localhost"
        "database"      "mydb"
        "user"          "root"
        "pass"          ""
        //"timeout"     "0"
        "port"          "3306"
    }

Even with the correct configuration, apparently the plugin is actually resetting, but only when sqlite is used, in mysql it is normal.

Test to see if it solves the problem. Remember to compile the source file and test this PR version.

#23

do i have to have both sqlite and mysql?

do i have to have both sqlite and mysql?

No, just one of the two.

The BUG in question happens in SQLIte, it doesn't save the players' choices, so whenever the map changes, it resets the stickers.

Fix for this bug is in PR: #23

For you to test it, if you are using SQLite just compile the plugin and send it to your server. If you are using MySQL disregard.

z1ntex commented

Fixed