z1ntex / CSGO_WeaponStickers

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

Fix SQLite bug #23

Closed wed0n closed 1 year ago

wed0n commented 1 year ago

The update statement in the old code had a small oversight that made all the data with the same steamid would be updated. That eventually led to storing only one weapon's sticker information.

crashzk commented 1 year ago

@wed0n does this PR fix this problem?

https://github.com/z1ntex/CSGO_WeaponStickers/issues/19 https://github.com/z1ntex/CSGO_WeaponStickers/issues/22

In the case of those using SQLite, whenever you change the map, the stickers are removed

crashzk commented 1 year ago

Feedback, I tested this version with SQLite, everything is fine now, apparently the stickers are saved when changing the map.

wed0n commented 1 year ago

Feedback, I tested this version with SQLite, everything is fine now, apparently the stickers are saved when changing the map.

Thank you for the test, I had almost forgotten about this PR😊

madeinred commented 1 year ago

is there a way to explain this in a easier way xd. im not a genius when it comes to coding and im having the same issues as described.

crashzk commented 1 year ago

If anyone needs the version compiled with the fix for SQLite, here is the download link: https://forums.alliedmods.net/attachment.php?attachmentid=200436&d=1682907480

https://forums.alliedmods.net/showpost.php?p=2803707&postcount=362

z1ntex commented 1 year ago

Thank you for the work done