TrinityCoreCustomChanges icon indicating copy to clipboard operation
TrinityCoreCustomChanges copied to clipboard

3.3.5-passive_anticheat World database autoupdater faulted

Open CraftedRO opened this issue 1 year ago • 1 comments

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

CraftedRO avatar Feb 15 '24 19:02 CraftedRO

The sql from the anticheat should always be manually applied. We do not currently use the auto populator.

acidmanifesto avatar Feb 19 '24 00:02 acidmanifesto