Commit Graph

16304 Commits

Author SHA1 Message Date
Shauren
548817202e Core/Misc: Reduce differences between branches 2025-09-25 00:53:12 +02:00
offl
3bb4f56773 Core/AI: Implement OnAuraApplied and OnAuraRemoved hooks (#31288)
Closes #26894
2025-09-24 13:06:06 +02:00
Shauren
5a74553346 Core/SAI: Sync event/action enums with master branch 2025-09-24 11:39:22 +02:00
kik0
7538f40fcc Core/Items: Properly display item spell charges (#31277) 2025-09-22 22:00:37 +02:00
offl
85dca37de5 Scripts/Sunwell Plateau: Rewrite Brutallus (#31274) 2025-09-22 20:36:05 +02:00
mitm-gnd
afd6900b10 Scripts/Commands: Use localized names for .additem (#31270) 2025-09-20 20:05:22 +02:00
Shauren
b64567f98f Core/Spells: Remove health override for Lightwell summon
Closes #31269
2025-09-20 19:01:52 +02:00
Shauren
c976543624 Core/LFG: Implemented alternative lfg dungeon level requirements based on active account expansion
Closes #21238
2025-09-20 12:16:01 +02:00
kik0
94d3f9dcef Core/Battlegrounds: Properly move team-swapped group in same-faction skirmishes (#31250) 2025-09-18 18:46:10 +02:00
offl
2979b12f8f Scripts/Molten Core: Update scripts (#31244)
* Many changes to improve several encounters

Credit for a lot of things goes to CMaNGOS
Garr fully based on CMaNGOS version
2025-09-18 14:53:33 +02:00
Shauren
8011ef76c3 Scripts/Stratholme: Added missing dungeon encounter ids
(cherry picked from commit 4370f2fe29)
2025-09-15 18:52:58 +02:00
offl
2ce4c8640e Scripts/Stratholme: Rewrite scripts (#31232) 2025-09-15 18:52:25 +02:00
offl
5e1f7e4013 Scripts/Zul'Aman: Rewrite Zul'jin (#31229)
Partially based on CMaNGOS script
2025-09-15 14:44:19 +02:00
offl
7c9bea1e90 Scripts/AQ20: Rewrite Buru (#31217)
Credit for a lot of things goes to CMaNGOS
2025-09-14 19:47:08 +02:00
offl
de6a77c535 Scripts/AQ20: Rewrite Moam (#31216)
* New register model
* Repeat events instead of scheduling them
* Added unique names for enums
* Added comments for script names
* Added AI for Mana Fiend
* Added missing emote
* Use all emotes
* Create master-script to summon Mana Fiends
* Implement & use Zero Mana/Full Health spell
* Implement Energize script to end stoned phase
* Implement Drain Mana master spell script with correct amount of targets and checks to ensure only players and mana-users will be targeted
* Implement Drain Mana visual effect
* Now, once all Mana Fiends are dead, stone phase is finished
* Rework the way stone phase is started and finished
* Moam now drops obsidian mineral once dead
* Added a check to ensure all combat spells will be used
* Added event to handle Arcane Eruption instead of trying to cast it every update tick

Credit for a lot of things goes to CMaNGOS
2025-09-14 00:19:03 +02:00
offl
5c6bf61066 Scripts/AQ20: Update Rajaxx (#31204)
* New register model
* Repeat events instead of scheduling them
* More proper timers for spells
* Added unique names for enums
* Added comment for script name
* Added missing emote
* Added missing Frenzy spell
* Cleanup texts (keep only actually used)
* Use combat texts
* Add ResetAllThreat component to Thundercrash spell script
2025-09-13 18:01:46 +02:00
offl
399d89a748 Scripts/AQ40: Rewrite Bug Trio (#31202)
* New register model
* Use EventMap instead of old events
* More proper timers for spells
* Added missing spells and removed wrong
* Corrected targets for spells
* Added comments for script names
* Added formation to handle linked aggro
* Cleanup headers
2025-09-12 22:37:07 +02:00
Shauren
70ddb077e6 Core/Items: Allow moving openable items that have been opened once (except currently opened item)
Closes #30686
Closes #31184
2025-09-11 14:52:19 +02:00
offl
19382995de Scripts/Spells: Migrate some spell linked spells to spell scripts (#31182) 2025-09-09 18:31:44 +02:00
offl
9625ef1daa Scripts/Karazhan: Rewrite Moroes (#31164)
* Add missing Frenzy emote
 * Implement & use Garrote Remove spell
 * Use BossAI for Moroes
 * Use EventMap & TaskScheduler instead of old events
 * Handle special emotes in OnSpellCast
 * Update enums
 * Add comments for script names
 * Update timers and targets of spells
 * Garrote now correctly applies on players
 * Improve GuestBaseAI & guest scripts
 * Use new register model for all scripts
2025-09-09 12:20:45 +02:00
offl
e8b921886f Scripts/Quest: Update & convert to SAI 'The Escape' (#31160) 2025-09-09 11:03:05 +02:00
Shauren
eb05494f12 Core/Misc: Fix gcc warnings
(cherry picked from commit 8cc418460f)
2025-09-08 19:58:52 +02:00
Shauren
9ca7fc89a9 Core/Reputation: Named all reputation flags
(cherry picked from commit f6b919fafe)
2025-09-08 19:49:24 +02:00
Shauren
ca7824c58b Core/Reputation: Implemented "friendship reputation"
(cherry picked from commit 80a6347b7a)
2025-09-08 19:40:48 +02:00
ckegg
44b1e6e047 Core/Reputation: The at-war flag is now turned off any time a player crosses a threshold increasing their reputation 2025-09-08 19:10:56 +02:00
Shauren
9fcb9c4def Core/Reputation: Take base faction reputation into account when checking standing for at-war eligibility - change sneaked in a cherry-pick commit 759482b42b 2025-09-08 18:53:17 +02:00
offl
806c606787 Scripts/Quest: Update & convert to SAI 'Willix the Importer' (#31138) 2025-09-07 15:44:28 +02:00
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