Commit Graph
100 Commits
Author SHA1 Message Date
Shauren d396a7aacc Core/Players: Fixed character selection showing transmog in slots that have no item equipped 2026-07-01 22:29:14 +02:00
Shauren d56e65b4a2 Scripts/Misc: Cherry-pick cleanups 2026-06-30 20:25:29 +02:00
Shauren c5a71e4796 Core/Units: Fixed crash caused by a gameobject dealing damage to units with SPELL_AURA_SPLIT_DAMAGE
Closes #31874

(cherry picked from commit 4ccebff43c5394c5ea053a4e7d0b2f41f7de58dc)
2026-06-30 20:22:04 +02:00
Shauren c89afa797d Core/Movement: Fixed deactivating movement generators when starting different movement with higher priority
(cherry picked from commit f908dbf75878de992dcdb77712bc2335bc82e595)
2026-06-30 20:22:03 +02:00
Shauren 0293d907d6 DB/SAI: Fix wrong path ids in waypoint reached events
(cherry picked from commit 5263dd00cd4eacc4ed375408daebf56ab60019c8)
2026-06-30 20:22:03 +02:00
Shauren a09efe1611 Core/Movement: Add more info to logs in mover guid validation
(cherry picked from commit 8a3847b302ba8bc063c6dc6c8396fe5db2696013)
2026-06-30 20:22:03 +02:00
Shauren 923cbcf59f Core/Items: Ignore item charges for item effects types other than on use
(cherry picked from commit ea29c5d667926380f7a31f44f0cd07a5b18d9200)
2026-06-30 20:22:03 +02:00
Shauren 2f1bf82b9d Core/Units: Fixed AttackStop NowDead field being set for the wrong unit
(cherry picked from commit 345e0586114c2f8b9d2d35b89b6a66f213558274)
2026-06-30 20:22:03 +02:00
Shauren d0e7cdf936 Core/Units: Remove duplicate WorldSession::SendAttackStop, it was duplicating Unit::SendMeleeAttackStop
(cherry picked from commit a006e66058a26d9514e6c8b78f903038fb30e1d2)
2026-06-30 20:22:03 +02:00
Shauren 3d757bb0ab Core/Movement: Fixed CMSG_DISMISS_CONTROLLED_VEHICLE handler assigning movement info to incorrect unit
Closes #31837

(cherry picked from commit f61656f0a7a4fb8ef371e1bd9f62faff4b090ac0)
2026-06-30 20:22:03 +02:00
Shauren 1d4e50505b Core/Movement: Refactor WorldSession::IsRightUnitBeingMoved to validate and return moved unit in one step
* Also move it to MovementHandler.cpp

(cherry picked from commit b227a57f5df8175e0f1f2f77bf56708bed658279)
2026-06-30 20:21:59 +02:00
Shauren 97836b72c5 Core/Movement: Stop movement and clear player movement flags from possessed units on possess end
(cherry picked from commit de42c9ba26678f3117e7afb9c9672384107437b1)
2026-06-30 19:35:34 +02:00
Shauren a348f6e35d Core/Movement: Remove unsafe target resetting in TimedFleeingMovementGenerator::Finalize (starts new movement inside MotionMaster::DirectAdd)
Closes #31824

(cherry picked from commit 7f36470a23b3794f6ddda6a55ca918d474750dab)
2026-06-30 19:16:20 +02:00
Shauren f85a3f3c16 Scripts/Spells: Rewrite warlock Soulwell using spells that summon different object ids (that create different item ids) instead of scripting soulwell object to do the selection
(cherry picked from commit b77cc28acb17ba02f1cb43bbedc1ea0d294d175b)
2026-06-30 19:16:20 +02:00
Shauren 897d969e9a Core/Movement: Prevent immediate movement generators from fully removing other movement
(cherry picked from commit 96b2385dce614ebb56a1918d9adf9f3f12dabe5f)
2026-06-30 15:07:46 +02:00
Shauren 3e70872594 Core/Movement: Fixed player movement being blocked if teleported within the same map while not being in control of their character
(cherry picked from commit 59e641daa683227932e1b32bc45bd4eb0f0e0207)
2026-06-30 14:26:21 +02:00
Shauren 7618ec2a99 Core/Auras: Removed unneccessary aura effect handler invocations in Player::SendInitialPacketsAfterAddToMap, already handled by SMSG_MULTIPLE_MOVES
(cherry picked from commit 8788094cd2c12b1fd19d445676f749f97f9e0bdd)
2026-06-30 14:19:13 +02:00
Shauren 22164bfb75 Core/Movement: Fixed players being able to control their characters after teleporting to a different map while feared or confused
(cherry picked from commit e5bee26e2ef5c48e1fabf21174e265d1f6cc9252)
2026-06-30 14:02:58 +02:00
Shauren 7350b76756 Core/Movement: Reduce code duplication in few MotionMaster::*Clear functions
(cherry picked from commit 76fe8ba73901b61856d1fdf2c28911275a6e6440)
2026-06-30 13:56:26 +02:00
Shauren aada290c8c Core/Movement: Fix movement generator priority sorting mismatch between MovementGeneratorComparator and MotionMaster::DirectAdd
* Also changed generators container from multiset to set because uniqueness was already ensured by deactivation logic in MotionMaster::DirectAdd

(cherry picked from commit 1cfb430d7518ce6bc302a4a6a26a36b0cbbbf775)
2026-06-30 13:56:04 +02:00
Shauren b2895a89e7 Core/Movement: Added new immediate movement generator that handles movement without delaying anything to next update tick (for use with instant "movement" like facing changes)
(cherry picked from commit 2d5430e3ac2387adc7745b1d85c3906ab1cf70a1)
2026-06-30 13:51:00 +02:00
Shauren 71e6f58e08 Core: Updated allowed build to 12.0.7.68367 2026-06-30 10:11:03 +02:00
Shauren ad50edf7e4 Scripts/Spells: Get rid of remaining database spell scripts 2026-06-29 15:35:48 +02:00
Shauren 22dde9ee14 Core/Items: Replace hardcoded spell id 483 and 55884 checks with item_template.spelltrigger ITEM_SPELLTRIGGER_LEARN_SPELL_ID
(cherry picked from commit 3f1085245cece16c5a3110f56bcfb39f94e12f6c)
2026-06-28 20:54:47 +02:00
Shauren 6f40090a7b Core/Items: Fix item spell selection for items that have multiple on-use effects
(cherry picked from commit 06dee8eabfa02879c5c22b4f083272b84d59d93f)
2026-06-28 20:42:44 +02:00
Shauren 2698482140 Core/Misc: Use a more accurate year definition
(cherry picked from commit 9cbff6a661d59337a07c68ef45bce129cc63d364)
2026-06-28 20:17:01 +02:00
Shauren 645d549fe8 Core/PacketIO: Adjust pvp title source used in SMSG_PVP_CREDIT to take highest lifetime pvp rank instead of current chosen title
(cherry picked from commit 432d17483e59f22079762453e49e69930065f8d8)
2026-06-28 19:55:28 +02:00
Shauren 141d4fa3f4 Scripts/Eversong Woords: Fix path id selection after 91dcae540ea8c7ecfe5794b9020fe93173b42102
Closes #31474

(cherry picked from commit 2221ad3105450c83aca2d28bb134ef03a400a39f)
2026-06-28 19:55:28 +02:00
Shauren 7c3d56a9b2 Core/Units: Correct Z coord change when enabling hover above ground
(cherry picked from commit 8d49be5e1cb84e26b93fa2cde415b3eba9353164)
2026-06-28 15:12:02 +02:00
Shauren d121d183c4 Core/Players: Revert unintended change 2026-06-28 14:53:41 +02:00
Shauren 2c13cc2915 Core/Players: Implement Vulpera bag size racial 2026-06-28 14:33:07 +02:00
Shauren a861b1b250 Core/Crypto: Check openssl legacy provider load result at startup instead of only failing after first login attempt
(cherry picked from commit 171a1e29d7c6492596c225ddd22a6c56a3e906c5)
2026-06-27 19:01:01 +02:00
Shauren d7e6d338a8 Core/Spells: Remove health override for Lightwell summon
Closes #31269

(cherry picked from commit b64567f98fc217c670416a3bfebefecef288a314)
2026-06-27 00:33:01 +02:00
Shauren 3586bd0432 Core/Items: Allow moving openable items that have been opened once (except currently opened item)
Closes #30686
Closes #31184

(cherry picked from commit 70ddb077e621be52184e2c34896cd1635d058542)
2026-06-26 21:13:19 +02:00
Shauren d956ceba27 Core/Pools: Remove ReSpawn1Object and optimize single object despawn case in DespawnObject
(cherry picked from commit 4be538f521a9ebbbb1d054d05bd87bc4df4e5ee0)
2026-06-25 23:54:26 +02:00
Shauren 957296db22 Core/Scripts: Corrected log message copypaste from fdb71ce19e02b44323fbb9dfa5f07dae2a35f8ba
(cherry picked from commit d125285de92ee3fe22e7d424d251f1d5ca27819f)
2026-06-25 21:46:53 +02:00
Shauren 96fdf4e786 DB/GameObject: Resolve guid conflict 2026-06-25 21:29:30 +02:00
Shauren 5d41e99f1b DB/Creatures: Remove conflicting spawns for Operation: Gnomeregan 2026-06-25 18:19:13 +02:00
Shauren 4e914749c6 DB/SAI: Fix wrong "any waypoint" values for waypoint events in cherry-picked paths 2026-06-25 00:45:00 +02:00
Shauren b04fab2dd4 Scripts/Spells: Cleanup includes after 53daa087aedcc0f68c935628f181256d89914ae2
(cherry picked from commit 7760b8e4ed5f9b2a44eba50adf1dc1d14d0dd953)
2026-06-24 23:37:20 +02:00
Shauren a46f35e70d Core: Updated allowed build to 12.0.7.68275 2026-06-24 10:00:53 +02:00
Shauren b8c6e941db Core/Loot: Fix checking reference loot in HasQuestDrop/HasQuestDropForPlayer
(cherry picked from commit 5bace54513cebcb0d7f5e84a3c94a9e8654c195d)
2026-06-23 23:18:07 +02:00
Shauren 1ed565e761 Scripts/Misc: Remove TaskContext copies 2026-06-23 22:48:57 +02:00
Shauren f4680d71f5 Scripts/Spells: Correct CalcValue uses from cherry-picks 2026-06-23 22:48:26 +02:00
Shauren 16432c0d70 Scripts/Stratholme: Move Timmy the Cruel to database 2026-06-23 22:48:26 +02:00
Shauren 8238185ae3 Core/GameObjects: Fixed GameObject::SetRespawnTime putting gameobjets not using compatibility spawning mode into invalid state
Closes #31047

(cherry picked from commit 49e02d7c30a39c03c9cb59790d1410c72208c687)
2026-06-23 22:44:09 +02:00
Shauren be32917cf5 Core/Players: Unbreak dual wield
(cherry picked from commit 1a5af00760e8ba96a01c0e9049cca9de30ded567)
2026-06-23 22:44:05 +02:00
Shauren b3505a3de9 Scripts/The Escape From Durnholde: Fixed Thrall not resetting state after combat
Closes #28797
Closes #30739

(cherry picked from commit 5c5a047342b417a8363765a7b174fdf1c9f8bd5a)
2026-06-23 22:44:05 +02:00
Shauren 2168f9af1d Core/Players: Fix Titan's Grip weapon type restrictions
Closes #20972
Closes #30747

(cherry picked from commit b610048f892e36aadabe2c75c13b2e84f4796f64)
2026-06-23 22:44:04 +02:00
Shauren 4cfb6b8c48 Core/Async: Add another boost asio forward declaration hack for io_context executor 2026-06-22 10:42:08 +02:00
Shauren f133c4b4d6 Core/Objects: Fix previous commit 2026-06-21 16:11:54 +02:00
Shauren f0f4987799 Core/Objects: Minor ObjectGuid packet reading and writing optimization 2026-06-21 14:52:45 +02:00
Shauren c8ec374026 Core: Updated to 12.0.7 2026-06-20 15:34:23 +02:00
Shauren b3b080eedd Core/PacketIO: Remove undesired implicit conversions to bool with Optional updatefields 2026-06-19 22:08:55 +02:00
Shauren ad3f7233ac Core/Proto: Updated protobuf messages and services 2026-06-17 12:35:55 +02:00
Shauren 913da780a4 Core/Misc: Remove non-array version of RaceMask util 2026-06-17 00:23:19 +02:00
Shauren a448309c49 Core/Reputation: Removed duplicate function to get base reputation with a faction 2026-06-16 21:54:14 +02:00
Shauren 239c703486 Core/Reputation: Removed unneccessary condition when determining data index for reputation, fixes Shadowmoon Exiles not being a hidden faction 2026-06-16 21:34:09 +02:00
Shauren 66b9c833ab Core/PacketIO: Add packet reading functions returning raw packet bytes without copying 2026-06-16 00:49:23 +02:00
Shauren 71da9dda4d Core/Utils: Fix HashFnv1a compile error when hashing uint64 values with 32 bit variant at compile time 2026-06-15 00:25:51 +02:00
Shauren 3032bdcd89 Core/Bnet: Move all protobuf related code to proto service classes 2026-06-14 00:22:04 +02:00
Shauren 7643211ebb Core/Bnet: Fixed handling 0 sized client packets 2026-06-13 21:05:25 +02:00
Shauren 04ca53c213 Core/JSON: Allow deserializing from string_view 2026-06-13 18:52:31 +02:00
Shauren 8db9498cde Core/Scripts: Replace std::invoke in spell script internals to slightly reduce compile time 2026-06-12 23:34:06 +02:00
Shauren 72c360185c Core/Misc: Build fix for gcc on windows 2026-06-10 22:46:56 +02:00
Shauren c3de0e6731 Core/Quests: Fail quests with QUEST_FLAGS_COMPLETION_NO_DEATH when releasing spirit instead of immediately on death 2026-06-08 14:51:43 +02:00
Shauren a197c33391 Core/Battlegrounds: Fix possible shutdown crash
Closes #30725

(cherry picked from commit b8582e71caf2154ac9232d337973dfc285f80981)
2026-06-08 00:06:43 +02:00
Shauren c924a39e4f Core/Players: Port refactor from 48baec04dfd3b654c945df9b4fc2e8feadad760a 2026-06-07 22:12:33 +02:00
Shauren b7fd7f8c53 Scripts/Spells: Fix wrong proc target for spell 23552
Closes #30697

(cherry picked from commit b32ff0c8b6042873628f2a217def90f8422f41a2)
2026-06-07 21:50:29 +02:00
Shauren d0890e651e DB/GameObjects: Resolve some guid conflicts 2026-06-07 18:07:38 +02:00
Shauren 05a69b6d56 DB/Creatures: Add missing PvPFlags to many creatures
(cherry picked from commit 21a4acfb283f1301dadef1d497aa00e7632276fe)
2026-06-07 13:32:03 +02:00
Shauren e6550d1898 Core/Players: Add separate config option for starting money for DHs, Evokers and allied races 2026-06-07 02:03:26 +02:00
Shauren bce6a8144e Core/Spells: Don't treat pets as permanently crowd controlled
Closes #30445

(cherry picked from commit 32b54ffb66676ec47d7153c1b897770bc5d08493)
2026-06-07 00:11:59 +02:00
Shauren 45dbebb629 Core/Spells: Improve handling cooldowns on hold
* Exclude them from ModifyCooldown/ResetCooldown
* Remove InfinityCooldownDelay constant and add OnHold checks in Update
* Fixed Seething Shore battleground resetting profession cooldowns
2026-06-06 16:07:22 +02:00
Shauren 26f1f94bb0 Core/Spells: Rewrite potion cooldown handling using spell category flags 2026-06-06 14:01:20 +02:00
Shauren b192dd047f Core/Spells: Fixed range checks for ON_NEXT_SWING spells broken in f02ac75007 2026-06-05 16:45:39 +02:00
Shauren 031f28f82e DB/GameObjects: Resolve guid conflict 2026-06-04 21:09:53 +02:00
Shauren a57913e2a6 DB/GameObjects: Delete a bunch of duplicated objects 2026-06-04 20:25:06 +02:00
Shauren f0b36adb89 Core/GroupHander: Simplify 5e95f4db66aad68b67db351605cddf37cc5cdcb9
(cherry picked from commit f57647287af1f47a1c4a503cde654d6ff8f4261c)
2026-06-01 21:52:35 +02:00
Shauren d2c627d3bc Core/Spells: Implement sending FailedBy in spell failure packets 2026-06-01 18:36:14 +02:00
Shauren dfd5c3d9c2 Core/Players: Add location restrictions for race and faction changes 2026-06-01 16:36:07 +02:00
Shauren 0c46a7b187 Core/Spells: Corrected SpellCastResult values sent on spell interrupts
(cherry picked from commit b1c15cbfe61884664ed7615a34ca77ad0db3d95c)
2026-06-01 16:10:34 +02:00
Shauren e40c7fbb38 Core/Spells: Restore sending SMSG_CAST_FAILED for spells in SPELL_STATE_PREPARING state (cast bar in progress) unintentionally removed in 63bc405faeb7afcf99de6f7531e4ea59065165f4
(cherry picked from commit 844efbfca84580f7b2bd700f40209515f2aaa959)
2026-06-01 16:10:34 +02:00
Shauren 3e2bde32b8 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

(cherry picked from commit 63bc405faeb7afcf99de6f7531e4ea59065165f4)
2026-06-01 16:10:34 +02:00
Shauren 2bcf150968 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

(cherry picked from commit 4a30ca00c7d9adc3ec46267ca267d36c46a3c88e)
2026-06-01 00:08:12 +02:00
Shauren 9c8203cbff Core/Spells: Fixed TargetB selectoin after d6ccdbea10a29091afc20471331f50260f65ac46
(cherry picked from commit eba78de1eeb824fec5fcdc50fc08196419605b7c)
2026-05-31 22:30:46 +02:00
Shauren 8744c5440e 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

(cherry picked from commit d6ccdbea10a29091afc20471331f50260f65ac46)
2026-05-31 22:22:32 +02:00
Shauren 33d8ff9a19 Misc/Extractor: Update extractor.bat - vmaps are not optional anymore 2026-05-31 22:09:25 +02:00
Shauren af227b2345 Core/Auras: Implement aura SPELL_AURA_DETECT_VISIBLE_WHILE_INVISIBLE 2026-05-31 15:52:43 +02:00
Shauren 42a5162f0c Revert "Spells/Mage: Mages should be able to see everything while on Invisibility"
This reverts commit 456d9a6cea.
2026-05-31 15:26:15 +02:00
Shauren 49675e2f8b DB/Creature: Fix empty spawnDifficulties for Crystalline Ice Giant 2026-05-31 14:02:30 +02:00
Shauren 32d22a6513 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

(cherry picked from commit 5d7ae76d6f2a0f6f6416ff754d2243f3aafcc7d5)
2026-05-30 18:28:18 +02:00
Shauren db8220eb11 Core/Auras: Fixed SPELL_AURA_PREVENT_REGENERATE_POWER for power types other than mana 2026-05-29 23:57:59 +02:00
Shauren 03a4386a8b Core/Chat: Control CHAT_MSG_PARTY_LEADER serverside
Closes #14868
Closes #29689

(cherry picked from commit e835ab5014345962d84590cdd2ce71cc27608c80)
2026-05-29 00:04:32 +02:00
Shauren f7bb84e6de Core/PacketIO: Removed wrong error packet used when trying to leave party in battleground
Closes #29726

(cherry picked from commit 39fd26ef41b802f937695a57ae10dbfc476d51c0)
2026-05-29 00:02:08 +02:00
Shauren 746174314b Core/PacketIO: Implemented SMSG_REAL_GROUP_UPDATE, used to access information about original group data while being in a lfg/bg group at the same time
Fixes GetRealNumPartyMembers, GetRealNumRaidMembers and IsRealPartyLeader lua functions

(cherry picked from commit c5d63ee1fc24a01710f069b8dc6442c3c5983311)
2026-05-29 00:01:10 +02:00
Shauren 64032a59c7 Core: Updated allowed build to 12.0.5.67823 2026-05-28 10:01:35 +02:00
Shauren 69df7ffa39 DB/Achievements: Added reward mail data for achievements 61809,42767,42768,42769,42770 2026-05-27 22:10:49 +02:00
Shauren c95cdd29c6 Core/Cells: Improve cell copy constructor and argument passing codegen (now fully done through a single register)
(cherry picked from commit 8a619460e21a9603a45894db88e344a0499c2d0f)
2026-05-26 23:08:27 +02:00
Shauren c7cc9fb6b0 Core/Battlefield: Fixed using invalidated iterator when a player queued for wintergrasp is inside a battleground
Closes #29405

(cherry picked from commit 63cbef9e893d19318e97aab67dff7bc7e82e6544)
2026-05-26 23:08:27 +02:00