store商店插件使用Mysql数据库时购买的物品不能正常保存 求助

Exa 二级用户组 2022-12-4 1338

使用的是这个版本的商店插件(store-v1.1): https://github.com/dvarnai/store-plugin

测试过使用本地sqlite数据库,一切正常

使用Mysql 5.6 (尝试过5.7,8.0也是均不行)数据库时,积分保存正常,当局内能正常更换和保存皮肤;

但是当退出游戏后重新进入服务器时,又需要重新购买;

数据库内正常建表

报错日志这两个插件似乎也和数据库没啥关系?

L 12/04/2022 - 01:15:57: Error log file session closed.
L 12/04/2022 - 01:16:09: SourceMod error session started
L 12/04/2022 - 01:16:09: Info (map "de_dust2") (file "/data/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221204.log")
L 12/04/2022 - 01:16:09: [store.smx] Gifts! isn't installed or failed to load. Gifts support will be disabled. Please install Gifts. (http://forums.alliedmods.net/showthread.php?t=175185)
L 12/04/2022 - 01:16:09: [store.smx] Simple Chat Processor isn't installed or failed to load. SCP support will be disabled. (http://forums.alliedmods.net/showthread.php?t=198501)
L 12/04/2022 - 01:16:34: Error log file session closed.
L 12/04/2022 - 01:16:50: SourceMod error session started
L 12/04/2022 - 01:16:50: Info (map "de_dust2") (file "/data/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221204.log")
L 12/04/2022 - 01:16:50: [store.smx] Gifts! isn't installed or failed to load. Gifts support will be disabled. Please install Gifts. (http://forums.alliedmods.net/showthread.php?t=175185)
L 12/04/2022 - 01:16:50: [store.smx] Simple Chat Processor isn't installed or failed to load. SCP support will be disabled. (http://forums.alliedmods.net/showthread.php?t=198501)
L 12/04/2022 - 01:19:07: Error log file session closed.
L 12/04/2022 - 01:20:59: SourceMod error session started
L 12/04/2022 - 01:20:59: Info (map "de_dust2") (file "/data/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221204.log")
L 12/04/2022 - 01:20:59: [store.smx] Gifts! isn't installed or failed to load. Gifts support will be disabled. Please install Gifts. (http://forums.alliedmods.net/showthread.php?t=175185)
L 12/04/2022 - 01:20:59: [store.smx] Simple Chat Processor isn't installed or failed to load. SCP support will be disabled. (http://forums.alliedmods.net/showthread.php?t=198501)
L 12/04/2022 - 01:21:09: Error log file session closed.
L 12/04/2022 - 01:28:08: SourceMod error session started
L 12/04/2022 - 01:28:08: Info (map "de_dust2") (file "/data/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221204.log")
L 12/04/2022 - 01:28:08: [store.smx] Gifts! isn't installed or failed to load. Gifts support will be disabled. Please install Gifts. (http://forums.alliedmods.net/showthread.php?t=175185)
L 12/04/2022 - 01:28:08: [store.smx] Simple Chat Processor isn't installed or failed to load. SCP support will be disabled. (http://forums.alliedmods.net/showthread.php?t=198501)
L 12/04/2022 - 01:29:09: Error log file session closed.
L 12/04/2022 - 02:06:12: SourceMod error session started
L 12/04/2022 - 02:06:12: Info (map "de_dust2") (file "/data/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20221204.log")
L 12/04/2022 - 02:06:12: [store.smx] Gifts! isn't installed or failed to load. Gifts support will be disabled. Please install Gifts. (http://forums.alliedmods.net/showthread.php?t=175185)
L 12/04/2022 - 02:06:12: [store.smx] Simple Chat Processor isn't installed or failed to load. SCP support will be disabled. (http://forums.alliedmods.net/showthread.php?t=198501)
L 12/04/2022 - 02:07:05: Error log file session closed.

plugin.store.cfg的设置

database.cfg的设置

尝试使用源码编译,也是一直报错;

尝试使用过带预览的新版商店,但是换肤后游戏崩溃;

折腾一天了,非常想要能正常使用Mysql的商店插件

希望大佬帮助帮助我 o(╥﹏╥)o


CSGO插件分享-申明 1、本网站名称:CSGO插件分享-中文站  网址:https://bbs.csgocn.net
2、本站的宗旨在于为CSGO玩家提供一个插件分享的中文资源平台,多数插件来源于SourceMod论坛,并配以中文介绍和安装教程。
3、欢迎有能力的朋友共享有趣的CSGO插件资源。
4、本站资源大多为百度网盘,如发现链接失效,可以点: 这里进行反馈,我们会第一时间更新。
最新回复 (5)
  • zero 三级用户组@Ta 2022-12-4 1
    引用 2
    本地改成ip试试,把数据库权限开放所有人,查看宝塔和你数据库服务器的防火墙是否未放行3306端口
  • Exa 楼主 二级用户组@Ta 2022-12-5 1
    引用 3
    zero 本地改成ip试试,把数据库权限开放所有人,查看宝塔和你数据库服务器的防火墙是否未放行3306端口
    谢谢回复,已解决:皮肤设置的路径应该用“/”,而不是\“,不然使用mysql数据库的时候就会出错
  • 向往同学 一级用户组@Ta 2022-12-10 0
    引用 4
    楼主这个商店有没有教程
  • 我不当学长 管理员组@Ta 2022-12-10 0
    引用 5
    向往同学 楼主这个商店有没有教程
    商店插件:https://bbs.csgocn.net/thread-148.htm
  • 向往同学 一级用户组@Ta 2022-12-12 0
    引用 6
    我不当学长 商店插件:https://bbs.csgocn.net/thread-148.htm
    好的  谢谢
返回