TrinityCore / TrinityCore/TrinityCoreCustomChanges

3.3.5-passive_anticheat World database autoupdater faulted

Abierto
#131 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
C++
Estrellas
83
Forks
58
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Comienza con el actualizador de la base de datos world y la actualización updates/3.3.5/world.anticheat; después, sigue la preparación de la consulta lua_private_functions que aparece en el registro de DBErrors. Reproduce el fallo eliminando la base de datos world y reiniciando; la tarea estará terminada cuando la base de datos se haya repoblado y worldserver se inicie normalmente.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
mysql
Área
databases
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.