Commit Graph

16056 Commits

Author SHA1 Message Date
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
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
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
Shauren
d8240fb513 Core/Misc: Fix msvc build with version 17.10
Closes #29999
2024-05-23 11:19:55 +02:00
Shauren
95b83b54ee Core/Players: Fixed integer underflow in Player::UpdateCombatSkills
Closes #29983
2024-05-22 13:29:52 +02:00
Shauren
dd40785b7f Core/Spells: Fix indent 2024-05-18 13:37:01 +02:00
Shauren
bdb5c72def Core/Spells: Prevent creatures from being able to cast all their spells while moving
Closes #26137

(cherry picked from commit f80f931e2b)
2024-05-18 12:08:38 +02:00
Mykhailo Redko
faf87b327d Scripts/Halls of Lightning: Fix a crash caused by iterator invalidating in Ionar boss script (#29963) 2024-05-11 16:25:23 +02:00
Meji
83c403c870 Core/ChildrensWeek: Add target for text locales with variables (#29956) 2024-05-05 12:25:07 +02:00
Shauren
4380924f11 Core/Players: Fixed crash when deleting a character that has a C.O.D. mail 2024-04-25 00:13:40 +02:00
Shauren
dfbd80166e Core/Movement: Fixed spline packed deltas validation check
(cherry picked from commit ad6ef5237d)
2024-04-24 00:12:56 +02:00
Shauren
7952661e23 Core/Misc: Support boost 1.85
(cherry picked from commit cfa838df5d)
2024-04-22 11:57:54 +02:00
Shauren
eba78de1ee Core/Spells: Fixed TargetB selectoin after d6ccdbea10 2024-04-13 17:19:53 +02:00
Shauren
d6ccdbea10 Core/Spells: SPELL_ATTR1_REQUIRE_ALL_TARGETS should require that each unique (targetA, targetB) pair has at least one target, not that each effect has a target
* Fixed Mind Flay on creatures immune to slow
2024-04-12 23:37:24 +02:00
Shauren
7c23870f27 Core/DBLayer: Support retrieving DATE/DATETIME/TIMESTAMP column values directly without casting in sql
(cherry picked from commit 404bb5b3c2)
2024-04-10 16:21:27 +02:00
Shauren
d434182e30 Core/Spells: Port SPELL_ATTR1_REQUIRE_ALL_TARGETS and SPELL_ATTR2_FAIL_ON_ALL_TARGETS_IMMUNE from master branch
Closes #21632
2024-04-08 11:40:06 +02:00
Смердокрыл
2fca554555 Core/Config: Implement reading config overrides from subdirectory (#29068)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 74a4dc46b4)
2024-04-07 12:05:20 +02:00
CraftedRO
018e66bc91 Core/Spells: Fix Shadowform cooldown sometimes getting stuck (#29886)
Closes #18178
2024-04-06 22:53:18 +02:00
CraftedRO
2a7efcc818 Core/Spells: Allow Spells with SPELL_EFFECT_KNOCK_BACK to knockback stunned targets (#29883)
Closes #18180
2024-04-04 21:48:05 +02:00
Shauren
dacc11b8ea Core/Networking: Fixed Socket::DelayedCloseSocket not working if write queue is empty when its called on linux and mac
Closes #29887

(cherry picked from commit f847cd4eeb)
2024-04-03 21:24:32 +02:00
Shauren
6a54dc5a34 Core/Commands: Fixed crash in all commands expecting SpellInfo* arguments if they are given a chat link to not learned talent (at 0 rank)
Closes #29823
2024-03-20 19:58:37 +01:00
Gildor
b2c723c6b4 Core/Pets: Fix warlocks pet character selection screen and Soul Shard return reagent logout exploit (#29808) 2024-03-17 15:27:33 +01:00
Shauren
5d7ae76d6f Core/Spells: Improved spell explicit target fallback selection for unit targets when spell target comes from client
Client only looks at target type of first spell effect to determine what additional target info to send in packet outside of Spell.dbc Targets column

Closes #11566
Closes #29809
2024-03-17 15:24:28 +01:00