Commit Graph

178 Commits

Author SHA1 Message Date
Ovahlord 9cc6dcd379 Core/Packets: fixed SMSG_GOSSIP_MESSAGE packet structure 2024-06-15 03:47:00 +02:00
Ovahlord 3d8602276d Core/Quests: update quest_template fields to 4.4.0 2024-06-13 19:23:44 +02:00
Shauren 20b0ad736c Core/Gossip: Rename and document text id field in SMSG_GOSSIP_MESSAGE to include classic differences 2023-11-01 23:43:12 +01:00
Shauren 19db88fd1b Core/PacketIO: Fixed structure of SMSG_GOSSIP_MESSAGE and SMSG_QUEST_GIVER_QUEST_LIST_MESSAGE
Closes #29161
Closes #29163
2023-07-19 20:58:27 +02:00
Shauren 4d4c7e6893 Core/Quests: Quest flag fixups
* Update flag names
* Implemented QUEST_FLAGS_COMPLETION_NO_DEATH and QUEST_FLAGS_FAIL_ON_LOGOUT
* Started using QUEST_FLAGS_COMPLETION_EVENT and QUEST_FLAGS_COMPLETION_AREA_TRIGGER instead of a custom SpeclalFlag
* Renamed Quest::IsAutoComplete to Quest::IsTurnIn to better describe what it means (a quest that can be turned in without accepting it to quest log)
* Implemented QUEST_FLAGS_UPDATE_PHASESHIFT and removed forced phaseshift updates on every quest status change
* Implemented QUEST_FLAGS_LAUNCH_GOSSIP_ACCEPT - reopens gossip menu with questgiver
2023-06-10 20:31:33 +02:00
Shauren d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Meji fd364fe522 Core/Quests: Set QuestGiverCreatureID for QuestGiverQuestDetails packet (#28655) 2023-01-04 14:08:25 +01:00
Shauren c7e89d3576 Core/Gossip: Move setting ActionMenuID and ActionPoiID directly into GossipMenu::AddMenuItem and remove GossipMenu::AddGossipMenuItemData 2022-12-28 15:17:21 +01:00
Shauren e98e1283ea Core: Updated to 10.0.2 2022-12-04 15:13:20 +01:00
Meji 25fd57c768 Core/Misc: Rename POI field Unknown905 to WMOGroupId (#28384) 2022-10-25 21:57:52 +02:00
Shauren 6d9625802c Core/Gossip: Preserve OptionID from database when menu option is added from a script
(cherry picked from commit 4ef99cfdfa)
2022-10-13 12:52:23 +02:00
Shauren 49709e4273 Core/Gossip: Remove gossip menu option fallback code, all menus are now required to have options defined instead of trying to get them from menuid = 0 2022-10-09 18:43:35 +02:00
Meji 69e0249807 Core/Gossip: Drop OptionType for gossip_menu_option and rename OptionIcon to OptionNpc as it also determines functionality on client side (#28220)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-09-08 14:49:03 +02:00
Meji 1bbc8592d9 Core/Gossips: Added support for FriendshipFactionID (#28192) 2022-08-13 20:17:58 +02:00
Shauren 2213d87a45 Core/Gossip: Send broadcast text id in SMSG_GOSSIP_MESSAGE instead of npc_text id 2022-06-02 15:12:24 +02:00
Shauren 9f30afe352 Core/PacketIO: Updated packet structures to 9.2.0 2022-02-24 23:16:55 +01:00
Shauren 88659dcebf Core/Gossip: Sync naming and db structure with 3.3.5 2022-01-26 23:49:42 +01:00
Shauren b87f56d070 Core/Quests: Sync comments/log with 3.3.5 2022-01-26 20:46:42 +01:00
funjoker 4c5f57d712 Core/Quests: Remove RewardMoney from quest_template as it is not a static value and depends on receiving player (#27590) 2022-01-18 21:22:41 +01:00
Wyrserth 004602f3e4 Core/Quest: fix icon in gossip window for repeatable, non-autocomplete quests.
Closes #23572.

(cherry picked from commit 9f6d3e93f9)
2021-12-14 22:17:47 +01:00
Giacomo Pozzoni c5173aca15 Core/Quest: Fix repeatable quest mark (#23338)
(cherry picked from commit 2cb4517303)
2021-12-14 00:13:47 +01:00
ModoX 0146eefee4 Core/Quests: Fill QuestPackageID field in SendQuestGiverQuestDetails (#27016) 2021-10-03 16:26:51 +02:00
Meji 5c287929b2 Core/Gossip: Update GossipOptionIcon enum (#26906) 2021-10-03 16:24:07 +02:00
Shauren 8a4e1119ac Core/Spells: Unify spell effect access api in both branches 2021-09-04 15:13:15 +02:00
Shauren cd5357dc18 Core/PacketIO: 9.1.0 opcodes and packet structures 2021-08-08 00:18:05 +02:00
Shauren dd8aed421a Core/Quests: Drop unneeded QuestSpecialFlags 2021-05-09 16:01:34 +02:00
Shauren f2202869f7 Core/PacketIO: Updated packet structures to 9.0.5 2021-04-09 20:57:47 +02:00
Shauren 5f3a2d2abf Core/Quests: Fixed questgiver icons
Closes #25702
2020-12-11 22:19:19 +01:00
Shauren 83eecaf2c4 Core/PacketIO: Fill new packet fields with data 2020-12-08 18:16:46 +01:00
Shauren 56c097c129 Core/Misc: Remove custom quest levels in title 2020-12-08 18:16:46 +01:00
Shauren cab4c87d2d Core/PacketIO: Updated most packet structures to 9.0.1 2020-12-08 18:16:41 +01:00
Shauren 1340f2cdb3 Core/Creatures: Move gossip trainer assignment to creature_trainer table - same gossip can open different trainers depending on which creature it is assigned to
Closes #21723
2020-07-31 11:21:24 +02:00
Cannix c12ee97f12 Core/Player: Keep shared quests through map changes instead of getting stuck in busy state (#19821)
(cherry picked from commit c14b448d63)
2020-07-16 22:00:29 +02:00
Shauren c7306439e7 Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower 2020-06-12 01:29:18 +02:00
ariel- 4472a3cbf3 Core/Globals: Fix Quest codestyle and member variable initialization
(cherry picked from commit 09701b0229)
2020-04-24 17:18:48 +02:00
Aokromes b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
Shauren ee2e49429f Core/PacketIO: Update opcodes and packet structures to 8.2.5 2019-10-27 00:12:41 +02:00
Lopfest 7d2cbd4e7c Core/Quests: Implement new logic for selecting spell casters for accept/reward spells based on quest flags (#21316) 2019-08-30 19:36:10 +02:00
funjoker b4d30bb92c QueryCache port
partial port of:
(ae9d01a324)
(dd1aa64563)
2019-08-17 20:04:14 +02:00
vincent-michael 5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren f94deace76 Merge branch 'bfa' 2018-12-09 14:45:03 +01:00
Alan Deutscher df7c048fe6 Strip QUEST_FLAGS_AUTO_ACCEPT from quest details sent to client if ignoring auto-accepts in config
(cherry-picked from 7a245c4b69)
2018-12-09 14:18:42 +01:00
Shauren 0a779bd791 Core/PacketIO: Updated packet structures to 8.0.1 2018-11-05 00:00:34 +01:00
Shauren b172ba7b8a Core/Quests: Implemented quest greeting locales 2018-04-24 23:59:37 +02:00
Shauren 4af15915bc Core/PacketIO: Updated opcodes and packet structures to 7.3.5 2018-02-18 16:33:49 +01:00
Shauren b3f9d5e5af Core/Gossip: Revert renaming/changing types part of 853df91048
Closes #21186
2018-02-01 12:09:58 +01:00
vincent-michael 7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren 107ed5dc99 Build fix 2017-11-28 00:09:22 +01:00
Ovalord 1b16534e21 Core/Quests: Implemented quest popups 2017-11-28 00:04:03 +01:00
Aokromes 853df91048 Core/Misc: Update locales_gossip_menu_option to simple system 2017-11-10 00:41:32 +01:00