TrinityCore / TrinityCore/TrinityCoreCustomChanges

3.3.5-passive_anticheat World database autoupdater faulted

オープン
#131 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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:

  1. Drop world database
  2. Start server again and wait for it to finnish his attempt to start
  3. 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

worldデータベースアップデーターとupdates/3.3.5/world.anticheatの更新から始め、次にDBErrorsログに示されているlua_private_functionsクエリの準備を追跡します。worldデータベースを削除して再起動することで失敗を再現します。データベースが再投入され、worldserverが正常に起動すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
mysql
領域
databases
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。