Commit Graph
28009 Commits
Author SHA1 Message Date
Shauren 1b39612b33 Fix dynamic windows build 2021-05-12 18:08:53 +02:00
Shauren 2906926173 Core/Scenes: Fix scenes played by package id storing pointers to stack variables 2021-05-12 14:23:21 +02:00
Shauren f072bc4ca1 Core/Commands: Add ItemContext argument to .additem and .additemset commands 2021-05-11 18:25:22 +02:00
Shauren 8a551d598d Core/Misc: Define new ItemContext values 2021-05-11 18:24:58 +02:00
Shauren d9d242bea4 Core/Quests: Set quest accept time updatefield 2021-05-11 15:47:58 +02:00
Shauren 2ffedf30a9 Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_KILL_PLAYERS_SAME_FACTION 2021-05-11 12:32:22 +02:00
Shauren 254d5af7c2 Core/Quests: Implement new quest objective types QUEST_OBJECTIVE_LEARNSPELL, QUEST_OBJECTIVE_AREA_TRIGGER_ENTER, QUEST_OBJECTIVE_AREA_TRIGGER_EXIT 2021-05-11 11:45:12 +02:00
Shauren 3ad389efee Core/Quests: Un-deprecate QUEST_SPECIAL_FLAGS_EXPLORATION_OR_EVENT 2021-05-11 00:38:08 +02:00
Shauren 2d7411c9fa Core/Quests: Fix loading quest_template.AreaDescription 2021-05-11 00:37:42 +02:00
Shauren 6352a84bf7 Core/Quests: Unify quest objective updating into one function and replace iterating entire quest log to find objective with direct {type, id} lookup 2021-05-10 22:45:54 +02:00
Shauren 63fa66620e Core/Auras: Use owner instead of caster for same map check in SPELL_EFFECT_APPLY_AREA_AURA_SUMMONS 2021-05-09 20:22:23 +02:00
Shauren 91b91b502f Core/Quests: Quest improvements
* Add quest log slot argument to functions dealing with objective progress
* Implemented QUEST_OBJECTIVE_FLAG_SEQUENCED (prevent progressing hidden objectives)
2021-05-09 20:21:32 +02:00
Shauren dd8aed421a Core/Quests: Drop unneeded QuestSpecialFlags 2021-05-09 16:01:34 +02:00
ariel- 9bf5a03bc4 Core/Scripts: fix Millhouse Manastorm resetting dialogs after Skyriss encounter
Closes #21159

(cherry picked from commit fd7fff80c9ce9954c58fa3fa35eadcdfe5648e3d)
2021-05-06 07:06:27 +02:00
ariel- 82fa6ede59 Core/Scripts: cast "Trial of the Naaru: Tenacity" credit spell when criteria is achieved
Closes #21155

(cherry picked from commit 036a05458eb90f137326885651dec05b303116f9)
2021-05-06 07:06:27 +02:00
ariel- f77bd1e7c9 Core/Scripts: fixed npc immunity flags during Harbinger Skyriss encounter
- Added missing _Reset
- Properly register Skyriss summons in SummonList

Closes #21154

Who ordered up an extra large can of whoop-ass?

(cherry picked from commit f8b148c3346e6d5017bf3b044cc36bce32c0cf45)
2021-05-06 07:06:27 +02:00
ariel- 87d5544f05 Core/Scripts: Implemented Shifting Naaru Sliver
(cherry picked from commit a5d4f34c3158bbbd65436bd2bd1dd8a9fad1ff52)
2021-05-06 07:06:27 +02:00
ariel- 5ac40cf9d1 Core/Scripts: fix issues with 'Squeeze' on Yogg-Saron encounter
- Unassigned spell script for 25-man difficulty
- Didn't remove aura on 25-man when tentacle killed

(cherry picked from commit de3fd4d076a1d02c5b75ab5d2f32bfb7ecb202a5)
2021-05-06 07:06:27 +02:00
ariel- b11c1e7141 Core/Player: fix issue with SendLoot when using Disarm Trap at maximum range
(cherry picked from commit a0dcd9c7988912e97909df2ba9ab0b86d20ff22d)
2021-05-06 07:06:27 +02:00
Shauren 73099df047 Core/Misc: Remove incorrect uses of std::unordered_map<T>::rehash and replace them with intended reserve 2021-05-05 22:57:50 +02:00
Shauren 1cf5f6e82e Core/PacketIO: Fixed combat log packets not being sent to self 2021-05-05 22:10:55 +02:00
Shauren 3169695247 Core/Auras: Fixed possible crash on login with SPELL_EFFECT_APPLY_AREA_AURA_SUMMONS 2021-05-05 21:32:15 +02:00
Shauren 6d746a706a Core/Chat: Updated item chat link format to 9.0 2021-05-04 00:00:07 +02:00
Shauren af5202b528 Core/Auras: Add missing SPELL_AURA_COMPREHEND_LANGUAGE check for serverside chat translations 2021-05-03 23:53:24 +02:00
Shauren 67e16888ac Core/Chat: Chat translation improvements
* Remove hyperlinks from translated chat messages
* Implement case preservation rules depending on receiver client locale
2021-05-03 23:53:24 +02:00
Shauren 14098b28b3 Core/Chat: Allow incorrect spell/skill language assignments to mirror client behavior 2021-05-03 23:53:24 +02:00
Shauren ede3e415ab Core/Chat: Apply chat translation also to messeges sent to self 2021-05-03 23:53:24 +02:00
Shauren bd3bb17512 Core/Chat: Only exclude LANG_UNIVERSAL, LANG_ADDON and LANG_ADDON_LOGGED from chat translations instead of all languages that don't have a skill 2021-05-03 23:53:24 +02:00
Shauren c8e5f78b82 Core/Chat: Apply language translations to creature chat 2021-05-03 23:53:24 +02:00
Matan Shukry 3b578fc6b9 Core/Chat: Load chat language data from db2 and implement serverside chat translations 2021-05-03 23:53:24 +02:00
Shauren fb66575d38 Core/Grids: Move packet sending functionality out of MessageDistDeliverer and into separate, customizable class and unify LocalizedPacketDo, LocalizedPacketListDo as generic localizable action 2021-05-01 20:16:10 +02:00
Shauren d6dfb6c54c Dynamic linking build fix 2021-04-30 11:51:44 +02:00
Shauren 3a37a2e0d7 Core/Grids: Allow customizing packets sent with MessageDistDeliverer and MessageDistDelivererToHostile depending on receiver
* Switch combat log sending to that implementation
2021-04-30 00:08:07 +02:00
Matan Shukry cd8edc6895 Core/DataStores: Load LanguageWords.db2 and Languages.db2 for future use 2021-04-29 21:18:08 +02:00
Shauren 8e6821648b Core/Spells: Only interrupt spells with interrupt flag Combat when spell also has SPELL_ATTR0_CANT_USED_IN_COMBAT attribute 2021-04-29 18:51:56 +02:00
ariel- b426e64c39 Core/Entities: fix crash
- m_currentSpells and spell would be different in case cancelation of a channeled spell would remove the aura, and aura scripted to cast another channeled spell on remove
- In the above situation, we would lose reference of currentSpell and remove reference from wrong one, this was fixed by clearing the pointer before spell cancelation.

Closes #20172

(cherry picked from commit 5e284d4b3826cd345193298688c1d2bc5b3c8f72)
2021-04-27 23:56:35 +02:00
Treeston e0afca513a Core/AI: UnitAI.h trimming part two. WaypointX methods kicked upstairs to CreatureAI.h.
(cherry picked from commit 9c1e675590c1fa61a80b3f2c856aaf97c549f202)
2021-04-27 23:51:40 +02:00
Treeston 0aed5a35ef Core/AI: Kick Gossip functions upstairs, from UnitAI to CreatureAI - they only make sense for Creatures anyway.
Also change a very ugly hack in GetDialogStatus. Ew.

(cherry picked from commit eacfa9d89afcfad0cbd0715c8a84890c3ccd1c74)
2021-04-27 23:49:36 +02:00
funjoker f4ef40d968 Core/Conversations: Fix conversation data handling (#26375) 2021-04-27 11:06:56 +02:00
Matan Shukry 8b0de23d0e Core/SAI: Don't clear stored pathid if it changed after processing waypoint events (#26334) 2021-04-26 21:39:22 +02:00
Shauren e5ef649634 Tools/vmap_extractor: Unify version printed to console with shared vmap version definition 2021-04-25 12:33:33 +02:00
Shauren db18228174 Tools/vmap_extractor: Fix MOVX implementation for "small" vmaps (-s or no command line argument) 2021-04-25 12:32:32 +02:00
Shauren 20aeb63026 Core/Vmaps: Extract more doodad sets 2021-04-25 00:11:42 +02:00
Shauren d0ca535ab8 Core/Vmaps: Prepare vmaps for reading new WMO chunk - MOVX, replacement for MOVI using larger data type (currently unused in 9.0.5 client) 2021-04-25 00:11:42 +02:00
Shauren e821693c16 Core/Vmaps: Reduce memory used by vmaps, part 2 2021-04-25 00:11:42 +02:00
Shauren bb8f22ed20 Core/Vmaps: Reduce memory used by vmaps (and their size, slightly) 2021-04-25 00:11:36 +02:00
Shauren 4e00cb7c15 Core/Spells: Fix feed pet effect after wrong merge conflict resolution 2021-04-22 22:57:00 +02:00
Matan Shukry c99f93d53d Scripts/Spells: Implemented monk stagger (#26295) 2021-04-22 22:45:26 +02:00
Matan Shukry 60df74933f Core/Spells: Removed extra health from feed pet (#26305) 2021-04-22 22:02:19 +02:00
Shauren 8a452c3d10 Scripts/Spells: Implemented discipline priest PvP talent Trinity 2021-04-21 23:14:02 +02:00