Commit Graph

30548 Commits

Author SHA1 Message Date
Shauren fbbcc31670 Core/Misc: Simplify LinkedListHead::isEmpty and rename to empty to fit standard container naming 2025-07-11 17:47:14 +02:00
Shauren cbb532e4be Core/Groups: Use iterators instead of raw LinkedListElement to interact with group members 2025-07-11 17:40:34 +02:00
Shauren ae197a62b7 Core/Logging: Remove temporary string creation when logging opcode names 2025-07-10 19:19:18 +02:00
Shauren b4f7948dfb Core/Database: Add Empty and CancelAll functions to AsyncCallbackProcessor and enable callback concept check 2025-07-09 20:14:21 +02:00
Shauren 6daf472e81 Core/Spells: Fixed Revive Pet not being usable if pet corpse is still in world 2025-07-09 16:01:34 +02:00
Shauren 2c74626e66 Core/Random: Use standard aligned operator new and remove RandomEngine singleton instance (it is trivially constructible) 2025-07-09 12:20:10 +02:00
Jason Dove c7f5696479 Core/Scenarios: Allow scripts to set instance scenario by id (#31104)
* add example at Stratholme service entrance
2025-07-09 00:26:37 +02:00
Shauren 04d44bd3a0 Core/Spells: Fix group member classification in SelectRandomInjuredTargets 2025-07-08 16:40:25 +02:00
Shauren dc0c707213 Core/CrashHandler: Remove MAX_PATH limit 2025-07-06 21:58:33 +02:00
Naddley 5a4f5c2547 Scripts/Tirisfal: Implement Quest: "A Legend You Can Hold" (#31110) 2025-07-06 16:20:31 +02:00
Shauren c02e311eef Core/Gossip: Track started interaction types and reset only questgiver on quest accept
Closes #31120
2025-07-05 22:34:45 +02:00
Naddley 2a2e09e8f4 Scripts/DalaranLegion: Implement Quest: "Weapons of Legend" (Hunter) (#31099) 2025-07-05 16:13:58 +02:00
Shauren 21712f4753 Core/Objects: Add missing grid workers 2025-07-04 23:56:22 +02:00
Aqua Deus a8e6866a02 Scripts/Spells: Implement warlock talent Channel Demonfire (#31112) 2025-07-04 23:12:05 +02:00
Shauren 8d1d1aa434 Core/PacketIO: Define enum for TreasurePickerBonus Context field 2025-07-03 13:17:17 +02:00
Shauren 1c175b8145 Core/PacketIO: Fixed SMSG_UPDATE_OBJECT BankTabSettings and DeclinedNames structures 2025-07-02 11:11:02 +02:00
Shauren 57483bb815 Core/PacketIO: Fixed SMSG_UPDATE_OBJECT ActivePlayerData structure 2025-07-01 00:18:55 +02:00
Shauren b405d04599 Core/DataStores: Fixed loading GameObjectLabel.db2
Closes #31102
2025-06-30 16:42:08 +02:00
Shauren 79347f72db Core/Quests: Allow quest objective items with effect type other than "On Looted" to be put in inventory even when QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM is set
Closes #29579
2025-06-30 15:34:37 +02:00
Shauren ca5928b8de Core/Achievements: Fix setting count for CriteriaType::ReachRenownLevel 2025-06-30 12:19:13 +02:00
Aqua Deus 9cc6cf45b6 Scripts/Spells: Implement mage talent Meteor (#31094) 2025-06-29 23:03:56 +02:00
Aqua Deus 44b4019127 Scripts/Spells Fix mage talent Flamestrike target cap (#31095) 2025-06-29 21:31:19 +02:00
Shauren 1e7725c15b Core/Objects: Added grid searchers for SceneObject and Conversation 2025-06-29 00:58:59 +02:00
Shauren 5334467f49 Scripts: Fixed possible crashes caused by passing nullptr to Trinity::WorldObjectListSearcher constructor 2025-06-29 00:23:21 +02:00
Shauren 62ac0d4a1c Core/Objects: Unify Visit for all object searchers and add PhaseShift constructor overloads to object searchers 2025-06-29 00:21:48 +02:00
Shauren 68588dbb25 Core/Objects: Modernize updatefield internals - replace tag dispatch and std::enable if 2025-06-28 19:43:01 +02:00
Meji 4c92d3550b Core/Gossip: Send correct response depending on how the interaction was started (#31046) 2025-06-28 18:17:10 +02:00
Aqua Deus c4c721cb7d Scripts/BlackRookHold: Implement Amalgam of Souls encounter (#31025) 2025-06-28 15:22:46 +02:00
Naddley 58cb1620a7 Core/Spells: Change target type for spell Summon Faol in Tirisfal (#31107) 2025-06-28 11:45:25 +02:00
Meji 138b1b1a21 Core/SpawnTracking: Allow linking a spawn to more than one quest objective (#30995) 2025-06-28 01:38:43 +02:00
Shauren 60400d25f5 Core/Players: Implemented PlayerDataElementAccount, PlayerDataElementCharacter, PlayerDataFlagAccount and PlayerDataFlagCharacter 2025-06-27 15:29:30 +02:00
Shauren f84cd43b36 Core/Chat: Fixed chat language translations for messages containing item links using new 11.1.5 color format 2025-06-26 15:37:57 +02:00
Shauren db4af7ca4c Core/LFG: Change InstanceScript::UpdateLfgEncounterState to only pass valid dungeon encounter ids to LFGMgr 2025-06-26 15:24:16 +02:00
Shauren 9247723c07 Core/LFG Fix crash on lfg boss kills 2025-06-26 01:19:14 +02:00
Shauren 247c25abc9 Core/Database: Improve code generated by DEFINE_FIELD_ACCESSOR_CACHE 2025-06-25 13:38:28 +02:00
Shauren e284dc0a80 Core/Commands: Waypoint command fixes
* .wp add will now add data to waypoint_path table
* .wp reload will no longer crash the server
* Replace deprecated command handler arguments
2025-06-25 12:16:03 +02:00
Shauren fd26363940 Core/Commands: Enable setting linked aggro and formation movement with .npc add formation and fix swapped saved dist/angle values 2025-06-24 23:31:53 +02:00
Shauren 39c06d40e2 Core/Misc: Use new Field::Get*OrNull where possible 2025-06-24 16:11:11 +02:00
Shauren d89ebc125c Core/Database: Add new member functions to Field class that return empty optionals if database result was NULL 2025-06-24 15:41:25 +02:00
Shauren d62b412c92 Core/Misc: Remove StringFormat exception handling code from the header 2025-06-23 11:38:34 +02:00
Shauren be44801728 Core/Players: Add missing playerchoice expiration initialization 2025-06-23 11:09:05 +02:00
Shauren e59059e1bd Core/Players: PlayerChoice improvements
* Add missing choice properties to database (InfiniteRange, ShowChoicesAsList)
* Allow limiiting the number of responses sent at the same time
* Fixed duration sent in SMSG_DISPLAY_PLAYER_CHOICE
* Remove dynamically generated response identifiers from database
* Remove auto rewarding choice responses
* Change response scripts to be bound to scriptname
2025-06-22 21:56:58 +02:00
Shauren 7ca6b226a7 Core/Conditions: Fix validation for CONDITION_SOURCE_TYPE_PLAYER_CHOICE_RESPONSE 2025-06-22 21:41:28 +02:00
Shauren 7c32af9a27 Core/Gossip: Use std::variant to store InteractionData 2025-06-21 13:25:30 +02:00
Shauren a562f4fafa Core/Gossip: Use algorithms from std::ranges namespace in gossip menu code 2025-06-21 01:00:29 +02:00
Shauren c896303577 Core/Database: Fixed DEFINE_FIELD_ACCESSOR_CACHE_ANONYMOUS macro arguments 2025-06-21 00:26:11 +02:00
Shauren 952f322710 Core/Conditions: Implemented new condition source type CONDITION_SOURCE_TYPE_PLAYER_CHOICE_RESPONSE 2025-06-20 23:09:01 +02:00
Shauren b1e096f44a Tools/Extractors: Update db2 metadata 2025-06-18 13:15:57 +02:00
Shauren ceb8d561b4 Core: Updated to 11.1.7 2025-06-18 11:37:07 +02:00
Shauren e02e8a4742 Core/Movement: Spline code cleanup
* Remove unneccessary reserve in MoveSplineInitArgs constructor - MoveTo always resizes it
* Remove unused function computeDuration
* Split cyclic spline reinitialization to separate function
* Don't expose TransportPathTransform outside of MoveSplineInit
* Ensure function argument names are the same in declaration and definition
2025-06-17 23:09:08 +02:00