Commit Graph

23911 Commits

Author SHA1 Message Date
Gildor 1559872381 Core/Maps: Do not allow entering an instance if the player is not alive and does not have the corpse inside or in inner instance (#30229) 2024-09-23 16:02:22 +02:00
Gildor f2a83e8238 Core/Commands: Improve wp event command (#30226)
* Fixed crash by handling null arg_id in .wp event add
* Fixed incorrect data type conversion in .wp event listid
2024-09-12 22:05:13 +02:00
Shauren 9800393424 Core/Units: Some cleanup in movement packet related functions - try to keep only one function handling a packet, not have it scattered all over the place
(cherry picked from commit 075e5d6751)
2024-09-10 18:25:12 +02:00
Shauren de3414ea0a Core/Player: Refactor talent internal storage
(cherry picked from commit ef471da666)
2024-09-10 17:47:42 +02:00
Shauren 1fd797fca4 Core/Misc: Reduce differences between branches
(cherry picked from commit 36a90f7098)
(cherry picked from commit 0056360034)
(cherry picked from commit 869a8644e5)
(cherry picked from commit 94e85c34d3)
(cherry picked from commit f27cc65588)
(cherry picked from commit 42f3f91ad4)
(cherry picked from commit 1180fbf531)
(cherry picked from commit 629694cbad)
(cherry picked from commit 506e7913f8)
(cherry picked from commit e7c7158db0)
(cherry picked from commit a369594d61)
(cherry picked from commit cc5450c4a0)
(cherry picked from commit d3e508254b)
(cherry picked from commit dcd915c9b9)
(cherry picked from commit b95d148dbe)
(cherry picked from commit ac81411db4)
(cherry picked from commit d8ce0c8830)
(cherry picked from commit a2b1cf66ca)
(cherry picked from commit 953f093920)

brc
2024-09-10 17:47:34 +02:00
Shauren fcfb5763ea Core/Misc: Reduce differences between branches 2024-09-09 18:15:51 +02:00
Shocker 29e7cbbd05 Core/Spells: Remove hardcoded value for dual wield talent removal and handle them for all classes
(cherry picked from commit 5b6b8dd577)
2024-09-09 16:35:05 +02:00
Shocker 7d38a614bd Core/Spells: Rename AuraEffect::IsAffectedOnSpell to IsAffectingSpell
(cherry picked from commit ef9101ea83)
2024-09-09 16:26:54 +02:00
Shocker 4ea21dab05 Core/Spells: Allow SPELL_AURA_SET_VEHICLE_ID to be used on creatures too
(cherry picked from commit 8160e6e303)
2024-09-09 16:02:37 +02:00
Shauren d39e81e257 Core/Spells: Fixed spell target selection not being shared by multiple effects when there are targeting scripts that have the same script function
(cherry picked from commit b1d8061a0f)
2024-09-02 11:00:45 +02:00
Shauren 0b10514289 Core/Client Builds: Sync build_info structure with master branch 2024-08-30 02:12:49 +02:00
Shauren 02ac890b07 Core/Misc: Reserve trinity_string id for master branch 2024-08-26 15:14:51 +02:00
Gildor bcb3ffa0ef Core/GameEvent: Fix game event end time duration overwriting (#30165) 2024-08-16 17:09:41 +02:00
Shauren c70ceb2ee5 Core/Calendar: Fix query
Closes #30153
2024-08-06 22:53:59 +02:00
Shauren 4e38582c4f Core/DataStores: Removed hardcoded cap for taxi nodes mask
(cherry picked from commit 376dc7402a)
2024-07-19 20:29:13 +02:00
Shauren f57647287a Core/GroupHander: Simplify 5e95f4db66 2024-07-16 11:54:44 +02:00
Benjamin Jackson 5e95f4db66 Core/GroupHander: Check if player is in a group for CMSG_REQUEST_PARTY_MEMBER_STATS before providing data. (#30084) 2024-07-16 11:10:31 +02:00
CraftedRO 394f125fdc Core/Instances: Fix not being able to resurect at the instance entrance under certain conditions 2024-07-15 13:31:16 +02:00
Shauren a3aecbdd92 Core/PacketIO: Ported SMSG_GOSSIP_POI, CMSG_GROUP_INVITE and SMSG_GROUP_INVITE to packet classes 2024-07-14 17:28:48 +02:00
Shauren fbc18ff420 Core/DBLayer: Add field metadata getters to query result classes
(cherry picked from commit d4998bd04a)
2024-07-14 15:00:26 +02:00
Shauren 9237deef32 Core/Utils: Transform char toUpper/toLower functions into callable function objects to better integrate with std algorithms (not calling through a function pointer allows inlining)
(cherry picked from commit 054dd3596f)
2024-07-14 15:00:13 +02:00
Shauren 1f25a0ff92 Core/Entities: Make ObjectGuid formattable with fmt without using ToString() 2024-07-14 13:45:05 +02:00
roc13x c9ff1d7e40 Core/Instances: Prevent possible minion crash
(cherry picked from commit 87d1d72d09)
2024-07-13 11:58:29 +02:00
Shauren 6679ecfeba Core/Creatures: Only remove formation movement on formation remove instead of fully resetting MotionMaster
(cherry picked from commit 67dd9a920f)
2024-07-08 12:45:33 +02:00
Shauren b08d85349c Core/Creatures: Fixed memory leaks in creature formations
(cherry picked from commit 2e3920081f)
2024-07-08 12:45:19 +02:00
Shauren aca264e11b Revert "Core/Creature: Formation reset (#27040)"
This reverts commit 01da436206.

(cherry picked from commit cdf0d62e48)
2024-07-08 12:44:56 +02:00
Gildor 93ab97a37c Core/Spells: Fixed possible use after free with deleted focusObject (#30062)
* Core/Spells: Fixed possible use after free with deleted focusObject
2024-07-04 22:51:25 +02:00
Shauren 8130024497 Tools/mmaps_generator: Print readme with --help
(cherry picked from commit 7d9880252c)
2024-06-30 22:39:06 +02:00
Shauren b9510f43c7 Core/Misc: Sync Language.h between branches 2024-06-27 21:12:49 +02:00
Gildor 97b19a5445 Core/Players: Improve reset spell cooldowns when entering arenas (#30032)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-06-27 20:12:16 +02:00
CraftedRO c5a9ab65af Core/Players: Add level restrictions for faction changes (#30057)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-06-27 18:54:31 +02:00
Roc13x 6c15d7f750 Core/Player: Fix equipment sets not saving correctly
New sets were always saved to _equipmentSets[0], overwriting eachother

(cherry picked from commit 3a84661114eabf02b3061ebd378ca9df9f481140)
2024-06-27 17:43:20 +02:00
r4dish 0327f16d11 Core/Misc: Move instance enter times handling from Player to WorldSession. 2024-06-27 14:49:40 +02:00
r4dish c6906948f7 Core/Misc: Update instance enter times only when it's really needed. 2024-06-27 14:49:40 +02:00
Mykhailo Redko 0ebda1168a Core/Misc: Cleanup account instance times data from DB on account deletion. 2024-06-27 14:49:40 +02:00
Gildor e4caf52e5a Core/Spells: Allow using SpellDifficulty.dbc on battleground maps (#30055) 2024-06-27 14:08:09 +02:00
Gildor 8824889f53 Core/Spells: Don't return immune to reflected spells due to target aurastate (#30050) 2024-06-22 14:03:17 +02:00
Shauren b1c15cbfe6 Core/Spells: Corrected SpellCastResult values sent on spell interrupts 2024-06-21 21:17:16 +02:00
Shauren 844efbfca8 Core/Spells: Restore sending SMSG_CAST_FAILED for spells in SPELL_STATE_PREPARING state (cast bar in progress) unintentionally removed in 63bc405fae 2024-06-20 19:47:26 +02:00
Shauren 988809e240 Core/Spells: Fixed incorrect comparison operator used on SpellInfo::Mechanic field 2024-06-20 11:37:51 +02:00
r4dish 8584771487 Core/Auras: Improvements for SPELL_AURA_MOD_FAKE_INEBRIATE handling 2024-06-08 21:17:35 +02:00
r4dish d9460428c6 Core/Spells: Fix sobering spells and possible uint8 overflow/underflow in SPELL_EFFECT_INEBRIATE handler. 2024-06-08 21:17:35 +02:00
Takenbacon 70d6121ef4 Core/Misc: Move zone packet sending from World to Map (#30024) 2024-06-08 11:13:24 +02:00
Shauren 63bc405fae Core/Spells: Don't send SMSG_CAST_FAILED for interrupted spells after they were launched or channelling was started (this clears cooldown on client)
Closes #26077
2024-06-03 19:42:50 +02:00
CraftedRO b2a77f6d01 Scripts/Spells: Prevent sacrificing immune minions with Death Pact (#29920)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-06-03 19:16:19 +02:00
Foe 6a5fa255fe Build: Allow efsw to be built independently of WITH_DYNAMIC_LINKING option (#30019) 2024-06-02 17:44:24 +02:00
Shauren 4a30ca00c7 Core/Spells: Removed early access_requirement checks for summon spells to prevent cross map inventory access (it is checked later by TeleportTo)
Closes #26877
Closes #29906
2024-05-31 16:07:47 +02:00
Mykhailo Redko 45c579eb9d Core/Spells: Fix dispelling movement impairing auras by PvP-trinket and similar spells. (#29966) 2024-05-26 17:22:01 +02:00
Anton Popovichenko ad3aeaa147 Core/Networking: Optimize CPU consumption by decreasing heap allocations when packet queue is empty. (#30007) 2024-05-25 11:12:10 +02:00
Anton Popovichenko 3fa90525c3 Core/Misc: Fix macos build (#30005) 2024-05-25 11:09:53 +02:00