Commit Graph

16277 Commits

Author SHA1 Message Date
HelloKitty
5d5fc62363 Core/ObjectAccessor: Use FindConnectedPlayerByName in FindPlayerByName (#31137) 2025-09-06 15:45:42 +02:00
Edan
0728b899a7 Core/Unit: Also remove snare mechanics caused by effects on RemoveMovementImpairingAuras (#31207) 2025-09-04 23:21:33 +02:00
offl
d5921303b7 Scripts/RazorfenDowns: Modernize scripts (#31145) 2025-09-04 23:13:36 +02:00
offl
ac1c9b862c Scripts/AQ20: Update Ayamiss (#31213) 2025-09-04 23:10:56 +02:00
Shauren
ae3856b582 Core/Database: Remove warning suppression for mysql_stmt_bind_param, it has been undeprecated by MySQL
(cherry picked from commit 55687670c8)
2025-08-30 22:57:19 +02:00
Shauren
521ec0b444 Dep/MySQL: Move required version checks to CMake, raise required version to 8.0.34 and remove strict compiled<->runtime version match requirement from non-Windows platforms
(cherry picked from commit b386971229)
2025-08-30 22:55:25 +02:00
Shauren
d03e90ef43 Core/Misc: Fix revision_data.h and boost/predef preprocessor macro conflict
(cherry picked from commit 1f5f245c02)
2025-08-30 22:55:25 +02:00
Shauren
a3874ee4f9 Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings into compile errors
(cherry picked from commit 7ac0c685dd)
2025-08-30 22:55:25 +02:00
Shauren
58f9def30f Build: Automatically include WindowsSettings.manifest in all executables instead of listing it separately as source file in every target
(cherry picked from commit a21e7c738e)
2025-08-30 22:55:25 +02:00
Shauren
7e1e441dfa Core/Common: Compile ServiceWin32 as part of common project instead of directly adding its source files to both server executables
(cherry picked from commit 052f2d0a81)
2025-08-30 22:55:25 +02:00
Shauren
59e5ddd967 Core/CrashHandler: Compile WheatyExceptionReport only once and moved its global variable initializer to all projects using it
(cherry picked from commit fd0a7ba871)
2025-08-30 22:55:25 +02:00
Shauren
9350a0f561 Core/Misc: CompilerDefs/GitRevision improvements
* Removed INTEL as a separate platform (it does not belong there)
* Removed BORLAND from known compilers list (it was never supported)
* Simplified TRINITY_PLATFORM_WINDOWS detection (_WIN32 is always defined)
* Rename revision_data.h macros that begin with a underscore
* Added processor architecture to --version string
* Added Linux distribution name to .server debug
* Fixed some revision_data.h macros missing/wrong values when regenerated during compilation
* Removed manual adding of _WIN64 macro from cmake (it is predefined internally by compiler)

(cherry picked from commit e8740fb2e1)
2025-08-30 22:55:25 +02:00
Shauren
bad2936918 Core/Misc: Fixed windows _UNICODE incompatibilities
(cherry picked from commit fd4ffc81b2)
2025-08-30 22:55:25 +02:00
Shauren
7e193e15db Core/Misc: Replace sprintf with safer alternatives (Trinity::StringFormat or snprintf)
(cherry picked from commit 67244a1f70)
2025-08-30 22:55:20 +02:00
quarters78
290a7b9310 Core/Database: Fix database auto updater when using MySQL 9.4 (#31243) 2025-08-30 21:02:16 +02:00
offl
5dcef2bbaf Scripts/Shadow Labyrinth: Modernize scripts (#31010) 2025-08-28 13:19:48 +02:00
Shauren
4be538f521 Core/Pools: Remove ReSpawn1Object and optimize single object despawn case in DespawnObject 2025-08-19 13:10:17 +02:00
Jildor
3e6bbb827d Core/Pools: Refactor PoolGroup::SpawnObject
* Prevent double spawn with pools with maxlimit 1 in certain situations
* Prevent infinite recursive call with specific case of nested pools
2025-08-19 13:10:17 +02:00
HelloKitty
33a8d42bd7 Script/Commands: Fix crash in .pet create command if Unit::CreateTamedPetFrom returns nullptr (#31218) 2025-08-18 16:28:37 +02:00
offl
760cd824bb Scripts/Spells: Migrate & update several item spell scripts to zone files (#31171) 2025-08-17 18:26:27 +02:00
offl
5649e4e76c Scripts/SerpentshrineCavern: Rewrite Hydross (#31150) 2025-08-16 14:40:49 +02:00
offl
60c8dc17bc Scripts/AQ40: Rewrite Fankriss (#31200) 2025-08-16 14:35:22 +02:00
offl
126fa17de9 Scripts/AQ20: Refactor Kurinnaxx and implement Sand Trap (#31203) 2025-08-16 14:31:45 +02:00
Antonio
7de212a640 Core/Misc: Include source object information in ObjectMgr::GetClosestGraveyard() log message (#31194) 2025-08-16 00:11:36 +02:00
offl
7d33481fa9 Scripts/AQ40: Rewrite Huhuran (#31199) 2025-08-10 12:11:43 +02:00
offl
3a964bc3f9 Scripts/Karazhan: Update Maiden of Virtue (#31165) 2025-08-10 12:01:01 +02:00
offl
54f42db98f Scripts/AQ40: Rewrite Sartura (#31197) 2025-08-10 11:54:09 +02:00
offl
73bc61a4fd Scripts/Spells: Optimized Winter Veil Mistletoe and PX-238 Winter Wondervolt (#31190) 2025-08-10 11:20:08 +02:00
offl
cac0188e49 Scripts/Spells: Implement Itch (#31193) 2025-08-05 18:52:48 +02:00
Shauren
d125285de9 Core/Scripts: Corrected log message copypaste from fdb71ce19e 2025-07-31 13:22:51 +02:00
offl
b75d047a33 Scripts/Spells: Implement Cataclysm Breath & Chaos Breath & Death Count (#31172)
* Implement Cataclysm Breath (forces creature to cast 4 of 8 random spells)
* Implement Chaos Breath (forces creature to cast 3 of 8 random spells)
* Implement Death Count remover spell (replace SAI implementation with spell script)

Closes #30320
2025-07-28 20:28:32 +02:00
offl
994b1df115 Scripts/Serpentshrine Cavern: Rewrite Karathress (#31136)
* Create AI for Cyclone & summon it by spell
* Create formation for linked aggro & replace scripted linked aggro
* Script The Beast Within spell & use correct trigger spell
* Create proper AI for Fathom Lurker & Fathom Sporebat
* Summon Fathom Lurker & Fathom Sporebat by spells
* Create AI for all totems used in encounter
* Spawn Seer Olum in DB instead of wrongly summoning him
* Remove redundant Karathress' event from instance script
* Cleanup headers
* Correctly use all Karathress' texts
* Cleanup & split enum
* Use EventMap and TaskScheduler instead of old events
* Fix respawn bugs of advisors
* Properly handle abilities Karathress gains from advisors
* Properly handle Blessing Of Tides
* Remove redundant SetBossState calls from advisors
* Update timers of all spells
* Update targets of all spells
2025-07-27 22:33:52 +02:00
Gildor
48fd041304 Core/Pools: Fix handle respawning for nested pools (#31163)
Closes #28524
2025-07-26 13:10:32 +02:00
Shocker
d7c31e0542 Fix build
(cherry picked from commit 443ea12827)
2025-07-25 19:47:53 +02:00
Shocker
0e7b46eac4 Core/Spells: Fix SPELL_AURA_MOD_POWER_COST_SCHOOL and SPELL_AURA_MOD_POWER_COST_SCHOOL_PCT
(cherry picked from commit be07a7d481)
2025-07-25 19:47:13 +02:00
Shocker
df42c474c1 Core/Guild: Fix guild bank money withdraw update
(cherry picked from commit 6dc9b4cc44)
2025-07-25 16:56:14 +02:00
Shauren
65715e7dd9 Core/Misc: Reduce differences between branches 2025-07-25 16:55:15 +02:00
offl
f536e1a266 Scripts/Quest: Update 'Guide Our Sights' (#31132) 2025-07-24 22:48:02 +02:00
offl
8d038db0db DB/Quest: Rewrite 'Strengthen the Ancients' (#31131) 2025-07-24 15:20:52 +02:00
offl
e899b2aeea Scripts/Steam Vault & Underbog: Minor updates (#31090)
* Kalithresh now forces all distillers to cast SPELL_QUIET_SUICIDE when encounter is finished
* Move go_main_chambers_access_panel script from instance file to instance scripts file
* Add comments for script names for Hungarfen and Black Stalker
* Remove redundant SetBossState for Musel'ek (currently is handled in BossAI)
2025-07-24 14:25:16 +02:00
offl
fd42b894f3 Scripts/Sethekk Halls: Improve Anzu (#31087)
* Add missing texts
* Implement intro event
* Update summon event (now Banish is canceled when all Brood of Anzu is killed)
* Remove redundant checks and actions to prevent double-summon of Anzu (not needed anymore, handled in SAI)
* Prevent calling Ikiss' intro if already done
2025-07-24 11:15:46 +02:00
offl
4dece3fe4e Scripts/Arcatraz: Rewrite Mellichar's event (#31081) 2025-07-22 21:26:15 +02:00
offl
cfa9fb701a Scripts/Spells: Implement Revive Self & Knock Away spells (#31069) 2025-07-22 17:05:14 +02:00
offl
761786ca18 Scripts/Shattered Halls: Update scripts (#31021)
* Kargath and O'mrogg got a full rewrite
* other bosses - new register model only, no functionality changes
2025-07-22 14:09:55 +02:00
Shauren
cbabaa0f3a Core/Quests: Reset seasonal quests based on saved completion time and intended holiday start time
(cherry picked from commit 49ad0d2d49)
2025-07-20 17:59:45 +02:00
Shauren
97b16e2eb8 Revert "Core/Event: prevent seasonal quests from resetting at server restart (#17455)"
This reverts commit 6a8ca9b0bf.

(cherry picked from commit 306022054b)
2025-07-20 17:59:37 +02:00
Shauren
7b438d389b Core/Authserver: Add auth session timeout - socket is closed after 10s of inactivity if not authenticated or after 1 minute if authenticated 2025-07-16 12:57:03 +02:00
Shauren
4fb3bbe718 Core/Authserver: Made authserver endian-aware 2025-07-16 12:55:45 +02:00
Shauren
f21a415b26 Core/Authserver: Minor span/string_view modernization 2025-07-16 12:54:49 +02:00
Shauren
13f18733b8 Core/Authserver: Refactor auth cmd handler table to avoid msvc compiler bug that initializes half of it to garbage as of version 19.44.35211 2025-07-15 20:24:37 +02:00