azerothcore / azerothcore/mod-autobalance
Bug: Incorrect text formatting
- Dominant language
- C++
- Stars
- 160
- Forks
- 141
- PR merge metrics
- No merged PRs in 30d
Description
### Current Behaviour
The notification when entering the dungeon did not format the string correctly

### Expected Behaviour
%s %u should be replaced correctly
### Steps to reproduce the problem
Enter any copy to see the prompt
### Extra Notes
_No response_
### AutoBalance Debug Commands
_No response_
### AC rev. hash/commit
AC> AzerothCore rev. fcdc50306ff8+ 2024-08-03 12:02:49 -0300 (master branch) (Unix, Release, Static)
Connected players: 1. Characters in world: 1.
Connection peak: 1.
服务器运行时间: 12 minute(s) 58 second(s)
Update time diff: 2ms. Last 500 diffs summary:
|- Mean: 1ms
|- Median: 2ms
|- Percentiles (95, 99, max): 3ms, 6ms, 7ms
Using SSL version: OpenSSL 3.0.2 15 Mar 2022 (library: OpenSSL 3.0.2 15 Mar 2022)
Using Boost version: 1.74.0
Using CMake version: 3.22.1
Using MySQL version: 80039
Found MySQL Executable: /usr/bin/mysql
Compiled on: Linux 4.4.0-19041-Microsoft
Worldserver listening connections on port %u
Realmlist (Realm Id: 3) configured in port 28085
VMAPs status: Enabled. LineOfSight: true, getHeight: true, indoorCheck: true
MMAPs status: Enabled
maps directory located in /azerothcore/env/dist/data/maps. Total size: 291014951 bytes
vmaps directory located in /azerothcore/env/dist/data/vmaps. Total size: 658130721 bytes
mmaps directory located in /azerothcore/env/dist/data/mmaps. Total size: 2192910844 bytes
Default DBC locale: zhCN.
All available DBC locales: zhCN
Using World DB: ACDB 335.12-dev
Latest LoginDatabase update: 2024_01_20_00.sql
Latest CharacterDatabase update: zone_difficulty_char_tables.sql
Latest WorldDatabase update: zone_difficulty_spelloverrides.sql
LoginDatabase queue size: 0
CharacterDatabase queue size: 0
WorldDatabase queue size: 0
List of enabled modules:
|- mod-ah-bot
|- mod-anticheat
|- mod-autobalance
|- mod-eluna
|- mod-learn-spells
|- mod-skip-dk-starting-area
|- mod-solo-lfg
|- mod-zone-difficulty
### Operating system
win10 wsl
### Custom changes or Modules
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue does not name a source file or test. Start by reproducing the dungeon-entry notification and tracing where its format string is assembled; done means the %s and %u placeholders are replaced correctly in the prompt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100