a36df4c4c0aff6dd23ff18b8b2b39b499a6f4aae
Fix a worldserver freeze/crash caused by npc_illidari_fighting_invasion_begins in Broken Isles / Mardum. GetNextTarget() could call SelectRandomContainerElement() with an empty target list when no valid hostile units were found. This caused the map update worker to hang and eventually triggered the worldserver FreezeDetector after 60 seconds. Fix: - Check if targetList is empty before selecting a random target. - Return nullptr when no valid target is available. - ScheduleTargetSelection() already handles nullptr and retries after 500ms. Crash: World Thread hangs for 60010 ms, forcing a crash! File: src/server/scripts/BrokenIsles/zone_mardum.cpp
Introduction:
WowCommunity Project is a World of Warcraft blizzlike design based on TrinityCore, which is based on the Midnight Expansion version 12.1.0.69933.
Developers:
Tools/Herramientas:
01a.- Git Extensions v.6.0.5.18375
01b.- Git for Windows v.2.53.0 x64
01c.- Windows Desktop Runtime v.9.0.13 x64
02.- Visual Studio Community 2022 v.17.14.41
03a.- Python v.3.15.0a6 x64
03b.- MySQL Community Server v.8.4.8 LTS x86-x64
04.- Boost v.1.89.0 msvc 14.3 x64 (or 1.91)
05.- CMake v.3.30.0-rc1 x86-x64
06.- OpenSSL v.3.6.1 x64 (or 4.0.0)
Languages
C++
89.6%
C
9.9%
CMake
0.3%