TrinityCore / TrinityCore/TrinityCoreCustomChanges

3.3.5-passive_anticheat log suggestion

Abierto
#137 0 comentarios 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:

Woud be great when Anticheat.WriteLog = 0 it will not create the empty document log at all.
This is somehow annoying while testing because it does fill logs folder on every server start-up.

Current behaviour:

Atm when Anticheat.WriteLog = 0 / is disabled in config it will still create the empty document with anticheat_y-m-d-h-m-s.txt

Expected behaviour:

Maybe when Anticheat.WriteLog = 0, the log file not be created at all or at least overwrited at next start-up

Steps to reproduce the problem:

  1. Set Anticheat.WriteLog = 0 in worldserver config then start the server
  2. notice the empty log is still created

Branch(es):

3.3.5

TC rev. hash/commit:

d434182e30dd

TDB version: TDB335.2404

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

Reproduce el problema en la rama 3.3.5 usando la configuración de worldserver con Anticheat.WriteLog = 0 y, a continuación, rastrea la ruta de inicio que crea archivos en la carpeta logs. Compara el comportamiento del inicio con el registro habilitado y deshabilitado, y confirma que deshabilitar la configuración ya no crea un archivo vacío anticheat_y-m-d-h-m-s.txt.

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

Evaluación

Stack tecnológico
cpp
Área
backend, security
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.