TrinityCore / TrinityCore/TrinityCoreCustomChanges

3.3.5-passive_anticheat World database autoupdater faulted

Đang mở
#131 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
C++
Star
83
Fork
58
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với trình cập nhật cơ sở dữ liệu world và bản cập nhật updates/3.3.5/world.anticheat, sau đó truy vết quá trình chuẩn bị truy vấn lua_private_functions được hiển thị trong nhật ký DBErrors. Tái hiện lỗi bằng cách xóa cơ sở dữ liệu world và khởi động lại; hoàn tất khi cơ sở dữ liệu được điền lại và worldserver khởi động bình thường.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
mysql
Lĩnh vực
databases
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.