TrinityCore / TrinityCore/TrinityCoreCustomChanges

3.3.5-passive_anticheat log suggestion

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

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

主要言語
C++
スター
83
フォーク
58
PR マージ指標
30日以内にマージされた PR はありません

説明

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

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

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

はじめの一歩

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

調査の方向性

Anticheat.WriteLog = 0 に設定した worldserver 構成を使用して 3.3.5 ブランチで問題を再現し、その後、logs フォルダーにファイルを作成する起動パスを追跡します。ロギングを有効にした場合と無効にした場合の起動時の動作を比較し、設定を無効にすると空の anticheat_y-m-d-h-m-s.txt ファイルが作成されなくなったことを確認します。

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

評価

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

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

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