Commit Graph

30402 Commits

Author SHA1 Message Date
Jason Dove
2924a5336f Core/Players: Fix deleting favorite spells (#30905)
(cherry picked from commit 39e9a5e193)
2025-05-11 11:42:18 +02:00
Shauren
4639c38c9e Core/Auras: Support PROC_ATTR_REQ_SPELLMOD for procs using PROC_ATTR_USE_STACKS_FOR_CHARGES
(cherry picked from commit 5759ac1c94)
2025-05-11 11:42:08 +02:00
Shauren
57502fdc6e Core/Utils: Added nullptr_t assignment operator to unique_weak_ptr (alias for .reset())
(cherry picked from commit 9d86423d8c)
2025-05-11 11:41:45 +02:00
Shauren
6c6e147ba9 Core/Database: Added very simple macro to create named query result field accessors
(cherry picked from commit 29a680a1c2)
2025-05-11 11:41:28 +02:00
Shauren
4eaa67e0a6 Core/Players: Define all character flags used in SMSG_ENUM_CHARACTERS_RESULT
(cherry picked from commit 1710036392)
2025-05-11 11:41:19 +02:00
Shauren
cc1c3169c1 Core/Spells: Remove triggering spell link from SPELL_EFFECT_FORCE_CAST
(cherry picked from commit e580d39b4f)
2025-05-11 11:40:52 +02:00
Shauren
612f1b8673 Core/Spells: Handle SPELL_EFFECT_FORCE_CAST on spell launch instead of hit
(cherry picked from commit 38d5f0d292)
2025-05-11 11:40:48 +02:00
Shauren
f48a519c64 Core/Spells: Fire OnEffectSuccessfulDispel for SPELL_EFFECT_DISPEL_MECHANIC
(cherry picked from commit 9f401946d3)
2025-05-11 11:40:44 +02:00
Shauren
ee79dd6d5d Core/Spells: Rename confusing SpellState enum values
* SPELL_STATE_CASTING -> SPELL_STATE_CHANNELING (was used for "channel in progress")
* SPELL_STATE_DELAYED -> SPELL_STATE_LAUNCHED

(cherry picked from commit 2e79d3524f)
2025-05-11 11:40:37 +02:00
Shauren
de2d7a8bfd Core/DataStores: Convert SkillLineAbilityAcquireMethod to enum class
(cherry picked from commit 531afa6bcc)
2025-05-11 11:39:34 +02:00
username9617
75ec470530 Core/Auras: Add DealDamageMods to SPELL_AURA_PERIODIC_LEECH (#30768)
Closes #30885

(cherry picked from commit 2cedd091a0)
2025-05-11 11:39:24 +02:00
Meji
a304a60c7a Core/SAI: Allow SMART_EVENT_HEALTH_PCT to be triggered out of combat (#30874)
(cherry picked from commit 1248bdffcb)
2025-05-11 11:39:12 +02:00
Shauren
52ac63ece4 Core/Transports: Fixed clientside position of stoppable transports
(cherry picked from commit 96026bfc58)
2025-04-17 12:15:48 +02:00
Shauren
cbb86c9e5b Core/Players: Improve setting ActivePlayerData::TransportServerTime by including TIME_SYNC and CMSG_QUEUED_MESSAGES_END values in its calculation
* This removes delay on nearby object visibility after login and teleport

(cherry picked from commit 821ecf8fa3)

# Conflicts:
#	src/server/game/Server/Protocol/Opcodes.cpp
2025-04-16 17:15:27 +02:00
Shauren
c637ee12cc Core/Transports: Preserve all dynamicflags for transports
(cherry picked from commit 495153ad24)
2025-04-16 17:15:08 +02:00
Shauren
3c1fa0ab4c Core/Spells: Make Spell::GetMinMaxRange public
(cherry picked from commit c6150b4d5d)
2025-04-16 17:15:02 +02:00
Ovahlord
6477a7b605 Core/Misc: updated SpellCastResult enum to 4.4.2 2025-04-16 12:48:10 +02:00
Ovahlord
3b2e2195ea Core/Guilds: corrected logging for guild reward db errors 2025-04-16 12:13:35 +02:00
Ovahlord
6cbfd4a227 Core/Spells: skip over deprecated talents when generating their ranks 2025-04-16 12:12:31 +02:00
Ovahlord
2e971321cf Core/Quests: corrected error logging for quest loading helpers 2025-04-16 11:50:08 +02:00
Ovahlord
4ef7b3daae Core/Spells: removed SpellInfo corrections for post Cataclysm spells 2025-04-16 11:49:07 +02:00
Ovahlord
d9d49f3bd3 nopch fix 2025-04-15 20:24:28 +02:00
Ovahlord
b8522edf8a Core/Items: restore item random enchantments 2025-04-15 19:58:54 +02:00
Ovahlord
5b1ed57bef Core/Player: fixed loading mail items from DB 2025-04-15 13:17:31 +02:00
Shauren
810d8d0f30 Core/Utilities: Added boost asio callback that transforms callback signatures from (error_code + other) to (boost::outcome)
(cherry picked from commit 99bb2c6698)
2025-04-14 22:25:32 +02:00
Meji
86a7f9e2ff Core/Players: Call OnQuestObjectiveChange after updating objective counters
Fix SMART_EVENT_QUEST_OBJ_COMPLETION trigger

(cherry picked from commit 7445d528d2)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2025-04-14 22:25:27 +02:00
Shauren
d0c47bd4b8 Dep/Boost: Support boost 1.88
(cherry picked from commit 1b353abbf7)
2025-04-13 19:22:05 +02:00
Shauren
3d81a7a196 Core/Network: Minor include cleanup and add more required functions and typdefs to SslStream and BoostBeastSocketWrapper
(cherry picked from commit c8ab1b58b1)
2025-04-13 19:21:56 +02:00
Meji
be288044ab Scripts/Spells: Implemented generic script to update phases on aura application/removal
(cherry picked from commit 7ed1523532)

# Conflicts:
#	src/server/scripts/Spells/spell_generic.cpp
2025-04-13 19:21:51 +02:00
Shauren
a08088b1c5 Core/Spells: Fixed SPELL_EFFECT_CHARGE trigggering arrival effects too early
(cherry picked from commit a97775ba26)

# Conflicts:
#	src/server/game/Spells/Spell.cpp
2025-04-12 14:04:47 +02:00
Shauren
160ed4abe3 Core/Commands: Allow non-const reference arguments in chat command handlers
(cherry picked from commit f1141d3638)
2025-04-12 14:03:12 +02:00
Shauren
086bc47b48 Core/Misc: Port C++23 std::forward_like
(cherry picked from commit 70a5bb451c)
2025-04-12 14:03:08 +02:00
Ovahlord
bf2ad10f9f nopch fix 2025-04-12 00:21:27 +02:00
Ovahlord
bc5698790a Core/Items: restore Heirloom stat scaling 2025-04-11 23:11:12 +02:00
Ovahlord
e3773a1fb6 Core/DataStores: load ScalingStatDistribution.db2 and ScalingStatValues.db2 2025-04-11 20:38:54 +02:00
Shauren
48c8c93ec4 Core/Network: Move to separate project
(cherry picked from commit 71b681bbf0)
2025-04-09 21:09:48 +02:00
Shauren
4aa991e7e4 Core/Network: Socket refactors
* Devirtualize calls to Read and Update by marking concrete implementations as final
* Removed derived class template argument
* Specialize boost::asio::basic_stream_socket for boost::asio::io_context instead of type-erased any_io_executor
* Make socket initialization easier composable (before entering Read loop)
* Remove use of deprecated boost::asio::null_buffers and boost::beast::ssl_stream

(cherry picked from commit e8b2be3527)
2025-04-08 19:57:45 +02:00
Shauren
a28b2999b1 Core/AuctionHouse: Fix mass replace mistake in log message
(cherry picked from commit d4585cf79e)
2025-04-08 07:07:01 +02:00
Shauren
f8a24a0767 Core/GameObjects: Define and use new gameobject dynamic flag to restore old visual behavior
(cherry picked from commit 6d78230d6b)
2025-04-08 07:06:37 +02:00
Ovahlord
0412678e50 Core/Packets: updated Auction House packets to 4.4.2 2025-04-08 07:02:13 +02:00
Shauren
e8a5b17e5d More nopch build fixes
(cherry picked from commit a4328a92e9)
2025-04-06 19:46:46 +02:00
Shauren
27b40d587f Nopch build fix
(cherry picked from commit 68e1db63db)
2025-04-06 19:46:42 +02:00
Shauren
245b15d4b9 Core/Objects: Support corpses in ObjectAccessor::GetObjectByTypeMask
(cherry picked from commit 77fe805d25)
2025-04-06 19:46:37 +02:00
Ovahlord
7a4666779b Core/Misc: fixed cherry-pick build errors 2025-04-06 19:45:45 +02:00
Shauren
b45e301f0e Core/Maps: Fixed dangling reference to a temporary variable
(cherry picked from commit cbad5fd894)
2025-04-06 19:40:50 +02:00
Shauren
1e284365d5 Core/Spells: Removed dead code and definitions
(cherry picked from commit f94472572a)
2025-04-06 19:40:45 +02:00
Shauren
22f005b292 Core/Spells: Merge Spell::SetSpellValue overloads
(cherry picked from commit e57b0296d6)

# Conflicts:
#	src/server/scripts/Spells/spell_monk.cpp
2025-04-06 19:40:30 +02:00
Shauren
1ccc48f42c Core/Misc: Simplify Trinity::invocable_r concept
(cherry picked from commit b267129ae0)
2025-04-06 19:40:19 +02:00
Shauren
5a8b91ab00 Core/Units: Fixed offhand melee damage
Closes #30809

(cherry picked from commit 3d045edd52)
2025-04-06 19:40:11 +02:00
Teleqraph
f27f9cdd83 Core/Transports: Fix triggering transport arrival events on stop waypoints (#30796)
(cherry picked from commit b4ccc8268b)
2025-04-06 19:40:00 +02:00