TrinityCore / TrinityCore/TrinityCoreCustomChanges
3.3.5-passive_anticheat World database autoupdater faulted
还没有人认领这个 Issue。
- 主要语言
- C++
- 星标
- 83
- 派生
- 58
- PR 合并指标
- 30 天内没有已合并 PR
描述
Description:
Well I guess we have some minor problem if you try to remove completely world database, the server is trying to repopulate it but will end with this error:
Worldserver log
Could not prepare statements of the World database, see log for details.
DBErrors log:
In mysql_stmt_prepare() id: 72, sql: "SELECT function_name, enabled FROM lua_private_functions"
Table 'world.lua_private_functions' doesn't exist
Current behaviour:
I guess the server expect that table lua_private_functions to be already inported in world.
I know we can just copy the world.anticheat in updates/3.3.5 but maybe we can move it there forever since it's mandatory.
Expected behaviour:
World database shoud be populated and server start normally.
Steps to reproduce the problem:
- Drop world database
- Start server again and wait for it to finnish his attempt to start
- notice
Branch(es):
TrinityCore rev. 180a0adbe4a9+ 2024-02-12 01:27:33 +0000 (3.3.5-passive_anticheat branch) (Win64, RelWithDebInfo, Static) (worldserver-daemon)
TC rev. hash/commit:
TrinityCore rev. 180a0adbe4a9+ 2024-02-12 01:27:33 +0000 (3.3.5-passive_anticheat branch) (Win64, RelWithDebInfo, Static) (worldserver-daemon)
TDB version: TDB 335.24011
Operating system: Windows 11 x64
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 world 数据库更新器和 updates/3.3.5/world.anticheat 更新开始,然后跟踪 DBErrors 日志中显示的 lua_private_functions 查询的准备过程。删除 world 数据库并重启,以重现该故障;数据库重新填充且 worldserver 正常启动即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- mysql
- 领域
- databases
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100