Commit Graph

21666 Commits

Author SHA1 Message Date
Shauren
81bec6954f Core/Logging: Minor internal refactor
* Avoid formatting to output with fprintf
* Use vector instead of unordered_map to store appenders in Logger
2024-07-16 16:31:40 +02:00
Shauren
77fe2745fe Build: CMake cleanup
* Migrate all add_definitions to target_compile_definitions
* Remove -D from preprocessor definitions added by target_compile_definitions (unneccessary, cmake strips it anyway)
* Fixed NO_BUFFERPOOL not being set on g3d if jemalloc is used
* Moved library/compiler specific compile flag settings spread all over various CMakeLists to their related library/compiler file
* Remove ancient manual link flag settings for worldserver
2024-07-15 15:24:35 +02:00
Shauren
d4998bd04a Core/DBLayer: Add field metadata getters to query result classes 2024-07-14 14:54:51 +02:00
Shauren
3313ea1fe6 Core/Entities: Skip calling toupper on number to string conversion result if not neccessary (only hex conversions need it) 2024-07-14 13:13:27 +02:00
Shauren
ceffc2cb20 Core/Spells: Added missing SummonPropertiesFlags::UseDemonTimeout handling to some summon cases 2024-07-13 00:37:14 +02:00
Shauren
6ca4681ab4 Scripts/Azure Vault: Converted Leymor intro to use new OnCreatureGroupDepleted hook 2024-07-12 12:30:52 +02:00
Shauren
ec2631eca3 Core/Instances: New ZoneScript hook - OnCreatureGroupDepleted
* Triggers when the CreatureGroup no longer has any alive members (either last alive member dies or is removed from the group)
2024-07-12 12:29:22 +02:00
Shauren
9a7a83ef30 Core/Creatures: Create a CreatureGroup for every SummonCreatureGroup 2024-07-12 12:28:00 +02:00
Shauren
b103de805a Core/PacketIO: Fixed SMSG_ATTACKER_STATE_UPDATE structure
Closes #30036
2024-07-11 17:40:11 +02:00
Shauren
16bfbe1a3a Core/Creatures: Allow adding summons to CreatureGroup (only adding, no formation movement of linked aggro yet) 2024-07-11 15:24:02 +02:00
ModoX
c5c31c7c1e Scripts/WanderingIsle: Added missing spell_summon_amberleaf_troublemaker script
* adf49c6f13 followup
2024-07-11 10:11:51 +02:00
Aqua Deus
adf49c6f13 Scripts/WanderingIsle: Implement The Way of the Tushui (#29846) 2024-07-10 22:33:07 +02:00
Jeremy
7c361c7f96 Scripts/Battlegrounds: Implement Seething Shore (#29996) 2024-07-10 19:44:23 +02:00
Shauren
1cd7898c01 Core/Logging: Removed one layer of allocations from log message writes (async doesn't wrap in shared_ptr anymore and sync creates LogMessage on the stack) 2024-07-10 14:51:29 +02:00
Shauren
0d8e3dd798 Core/Logging: Fixed a bunch of invalid format strings 2024-07-09 11:30:01 +02:00
Shauren
67dd9a920f Core/Creatures: Only remove formation movement on formation remove instead of fully resetting MotionMaster 2024-07-08 12:43:58 +02:00
Shauren
2e3920081f Core/Creatures: Fixed memory leaks in creature formations 2024-07-08 11:23:41 +02:00
Shauren
cdf0d62e48 Revert "Core/Creature: Formation reset (#27040)"
This reverts commit 01da436206.
2024-07-08 11:13:17 +02:00
Shauren
7fdcae81d8 Core/Units: Interrupt only spell in CURRENT_GENERIC_SPELL slot with damage taken InterruptFlags instead of all currently cast spells 2024-07-07 15:54:48 +02:00
Shauren
f895d04b7d Core/Database: Fixed WITH_COREDEBUG + WITH_DYNAMIC_LINKING incompatibility on windows 2024-07-05 13:28:09 +02:00
Shauren
fd329ee848 Core/Spells: Implemented SPELL_ATTR9_CHANNEL_PERSISTS_ON_PET_FOLLOW 2024-07-03 21:10:23 +02:00
Shauren
f19e1a2716 Core/Spells: Remove spell range increase when caster or target move backwards 2024-07-03 16:18:06 +02:00
Shauren
321f3cc4a7 Core/Spells: Implemented caster-is-moving aoe radius bonus and SPELL_ATTR9_NO_MOVEMENT_RADIUS_BONUS 2024-07-03 16:07:30 +02:00
Shauren
af081ea5f0 Core/Spells: Rename more SpellAttr9 to official names 2024-07-03 15:22:27 +02:00
Shauren
b3bdb4efef Core/Spells: Implemented SPELL_ATTR9_CANNOT_KILL_TARGET 2024-07-03 14:35:01 +02:00
Shauren
af39104798 Core/Spells: Implemented SPELL_ATTR9_FORCE_CORPSE_TARGET 2024-07-03 00:08:40 +02:00
Shauren
321161230f Core/Spells: Implemented SPELL_ATTR9_ITEM_PASSIVE_ON_CLIENT 2024-07-02 11:12:16 +02:00
Shauren
70cff79ca6 Core/Spells: Rename more SpellAttr9 to official names 2024-07-01 15:25:23 +02:00
Shauren
96bfc5f39b Core/Spells: Implemented SPELL_ATTR9_IGNORE_CASTER_HEALING_MODIFIERS and SPELL_ATTR13_ALWAYS_ALLOW_NEGATIVE_HEALING_PERCENT_MODIFIERS 2024-07-01 00:05:09 +02:00
Aqua Deus
02f4a7a343 Scripts/WaycrestManor: Implement Heartsbane Triad encounter (#30059)
Co-Authored-By: ModoX <moardox@gmail.com>
2024-06-30 04:36:02 +02:00
ModoX
f077b8608c Core/Maps: Implemented BoundaryIntersectionBoundary 2024-06-30 02:01:58 +02:00
Shauren
486641063e Core/Spells: Implemented SPELL_ATTR9_JUMPCHARGE__NO_FACING_CONTROL 2024-06-30 00:03:55 +02:00
Naddley
09325ef105 Scripts/KingsRest: Implement Serpent pre boss event (#30066) 2024-06-29 22:05:55 +02:00
Shauren
bd9fb4a563 Core/Movement: Defined and implemented new spline flag - JumpOrientationFixed 2024-06-29 18:15:43 +02:00
Shauren
8ce710fa6f Core/Spells: Rename more SpellAttr9 to official names 2024-06-29 15:02:01 +02:00
Shauren
3365e6a4b8 Core/Spells: Implemented SPELL_ATTR9_ALLOW_CAST_WHILE_CHANNELING 2024-06-28 16:19:14 +02:00
Shauren
270b53b26a Core/Misc: Sync Language.h between branches 2024-06-27 21:20:42 +02:00
DeadMouse
02ebab7ea6 Core/Creatures: Update visible Flags2 when changing gm mode state (#30058) 2024-06-27 14:03:28 +02:00
Shauren
a33864ce2d Scripts/Spells: Implemented Dark Simulacrum and its related attribute SPELL_ATTR9_ALLOW_DARK_SIMULACRUM 2024-06-27 12:58:44 +02:00
Shauren
cb335c3274 Core/Spells: Implemented SPELL_ATTR11_IGNORE_SPELLCAST_OVERRIDE_SHAPESHIFT_REQUIREMENTS 2024-06-27 00:25:03 +02:00
Shauren
f20fa7aeb5 Core/PacketIO: Fixed packet structres changed after build 54449 2024-06-26 19:54:31 +02:00
Shauren
4b4c52112d Core/Spells: Spells cast through SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_TRIGGERED aura should always be instant 2024-06-26 15:17:46 +02:00
Shauren
816369318f Core/Spells: Exclude spells cast from client from being treated as triggered if they have any trigger flags set (possible with override spells auras) 2024-06-25 11:59:33 +02:00
Shauren
a885a1fc3c Core/Spells: Implemented new trigger flag to cause spells to be instant without also causing other behavior of TRIGGERED_CAST_DIRECTLY (skipping SMSG_SPELL_START, skipping starting GCD) 2024-06-25 00:21:27 +02:00
Shauren
0b8eed2d54 Core/Spells: Implemented SPELL_ATTR9_IGNORE_SCHOOL_LOCKOUT 2024-06-24 16:02:14 +02:00
Shauren
24096f6b66 Core/Spells: Implemented SPELL_ATTR9_AUTOCAST_OFF_BY_DEFAULT 2024-06-24 12:26:14 +02:00
Shauren
8963ea8e4c Core/Spells: Rename more SpellAttr9 to official names 2024-06-24 11:34:47 +02:00
Shauren
0d5a1b175f Core/Spells: Implemented SPELL_ATTR9_HASTE_AFFECTS_MELEE_ABILITY_CASTTIME 2024-06-24 11:21:50 +02:00
Meji
d51d6b0abe Core/AreaTriggers: Check actionset flags for client areatriggers to allow some areatriggers to trigger while dead (#30042) 2024-06-23 20:41:18 +02:00
Meji
31bd3804e3 Core/GameObjects: Fixed the interaction/highlight logic for GAMEOBJECT_TYPE_CHEST and quest objectives (#30051) 2024-06-23 15:00:35 +02:00