z1ntex / CSGO_WeaponStickers

Weapon Stickers for CS:GO [SourceMod]
GNU General Public License v3.0
39 stars 8 forks source link

The stickers dont save #19

Closed vTpHuLk closed 1 year ago

vTpHuLk commented 1 year ago

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

crashzk commented 1 year ago

Installation

netohd commented 1 year ago

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

crashzk commented 1 year ago

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

https://github.com/z1ntex/CSGO_WeaponStickers/pull/23

madeinred commented 1 year ago

do i have to have both sqlite and mysql?

crashzk commented 1 year ago

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: https://github.com/z1ntex/CSGO_WeaponStickers/pull/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 1 year ago

Fixed