-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPCs scaling up level when they should not based on defined LevelScaling.SkipLowerLevels #176
Comments
Greetings, thanks for the report. We will have to see where the fault may be. The truth is that it is a module that, until now, I have seen very little of. It is "complex", since you have to take many things into account. However, we hope that the report serves as information for the people who modify the module and can, with it, find the problem. |
Greetings, I'm experiencing the same problem.
But the mobs seems to not being affected by this. |
I've tested this and realized two things:
|
Hey everyone, after some testing I might have found the issue about this problem. The problem seems to be that the creatures are dynamic leveled before the OnPlayerEnterAll is triggered by the system. How can the maintainers test this?
You should be able to see on the console log the following trace:
So the module start leveling before all the players are actually inside the instance, causing the issue. I'm preparing a Pull request with the proposed fix from my fork. |
closed by #188 |
Current Behaviour
When entering dungeons where the players level vs the map creature average level is greater than the defined AutoBalance.LevelScaling.SkipLowerLevels = defined amount , randomly some or all of the npcs are scaling up when they should not be.
Expected Behaviour
With the default config with of AutoBalance.LevelScaling.SkipLowerLevels = 5 if the players level is more than 5 levels above the instance average creature level than the levels of the npcs in the dungeon should NOT scale up.
Steps to reproduce the problem
Extra Notes
AutoBalance Debug Commands
Map stats
12:30:23 Stormwind Stockade (5-player Normal) | ID 34-6
12:30:23 Players on map: 1 (Lvl 80 - 80)
12:30:23 Adjusted Player Count: 1
12:30:23 LFG Range: Lvl 20 - 30 (Target: Lvl 24)
12:30:23 Map Level: 23 (Level Scaling Disabled)
12:30:23 World health multiplier: 1.000
12:30:23 World hostile damage and healing multiplier: 1.000
12:30:23 Original Creature Level Range: 23 - 25 (Avg: 23.44)
12:30:23 Active | Total Creatures in map: 93 | 93
Targeting a npc that did not scale to 80 and stayed level 23
Defias Inmate (23), Active for Map Stats
Creature difficulty level: 1 player(s)
Health multiplier: 0.123
Mana multiplier: 0.000
Armor multiplier: 0.123
Damage multiplier: 0.123
CC Duration multiplier: 1.000
XP multiplier: 0.123 Money multiplier: 0.123
Targeting a npc that scaled to 80 standing right next to a level 23
Defias Prisoner (23->79), Active for Map Stats
Creature difficulty level: 1 player(s)
Health multiplier: 0.123 -> 2.484
Mana multiplier: 0.000 -> 0.000
Armor multiplier: 0.123-> 1.238
Damage multiplier: 0.123 -> 1.830
CC Duration multiplier: 1.000
XP multiplier: 2.157 Money multiplier: 2.157
AC rev. hash/commit
AC> AzerothCore rev. 03d06da87b85 2023-12-15 09:43:24 -0300 (master branch) (Unix, RelWithDebInfo, Static)
Connected players: 2. Characters in world: 2.
Connection peak: 2.
Server uptime: 8 hour(s) 35 minute(s) 15 second(s)
Update time diff: 1ms, average: 3ms.
Using SSL version: OpenSSL 3.0.11 19 Sep 2023 (library: OpenSSL 3.0.11 19 Sep 2023)
Using Boost version: 1.74.0
Using CMake version: 3.25.1
Using MySQL version: 101104
Found MySQL Executable: /usr/bin/mysql
Compiled on: Linux 6.1.0-13-amd64
Worldserver listening connections on port 8085
Realmlist (Realm Id: 1) configured in port 8085
VMAPs status: Enabled. LineOfSight: 1, getHeight: 1, indoorCheck: 1
MMAPs status: Enabled
maps directory located in /home/josh/azeroth-server/data/maps. Total size: 291014951 bytes
vmaps directory located in /home/josh/azeroth-server/data/vmaps. Total size: 658130721 bytes
mmaps directory located in /home/josh/azeroth-server/data/mmaps. Total size: 2192910844 bytes
Default DBC locale: enUS.
All available DBC locales: enUS
Using World DB: ACDB 335.10-dev
Latest LoginDatabase update: 2023_04_24_00.sql
Latest CharacterDatabase update: trasmorg.sql
Latest WorldDatabase update: trasm_world_texts.sql
LoginDatabase queue size: 0
CharacterDatabase queue size: 0
WorldDatabase queue size: 0
Operating system
Debian 12
Custom changes or Modules
DungeonRespawn mod
SoloLFG mod
Eluna
Transmog mod
Leveluprewards.lua
The text was updated successfully, but these errors were encountered: