Commit Graph

2938 Commits

Author SHA1 Message Date
Shauren
8b2fc59397 Core/Players: Fixed buying bank tabs 2025-09-01 00:11:04 +02:00
Shauren
5cf0c6c8bb Core: Updated to 11.2.0 2025-08-13 00:31:39 +02:00
Shauren
82f19c8988 Core/Quests: Fixed quest experience rewards - it should always be awarded for all completions of repeatable quests 2025-08-11 15:10:54 +02:00
Shauren
782ee42989 Core/Items: Send CreateObject for items in buyback inventory slots 2025-08-11 13:05:47 +02:00
Shauren
2c9b67f00b Core/Quests: Fixed QuestScript::OnQuestStatusChange incorrectly triggering with QUEST_STATUS_INCOMPLETE when removing items from quest objectives on rewarding quest
Closes #31181
2025-07-30 18:35:39 +02:00
Shauren
5de252ae84 Core/Misc: Move large functions out of header files 2025-07-13 13:40:31 +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
c02e311eef Core/Gossip: Track started interaction types and reset only questgiver on quest accept
Closes #31120
2025-07-05 22:34:45 +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
Meji
4c92d3550b Core/Gossip: Send correct response depending on how the interaction was started (#31046) 2025-06-28 18:17:10 +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
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
7c32af9a27 Core/Gossip: Use std::variant to store InteractionData 2025-06-21 13:25:30 +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
Jason Dove
8e6c7bdc5d Core/AreaTriggers: Add AREATRIGGER_ACTION_TAVERN (#31035) 2025-06-15 15:54:43 +02:00
Shauren
e6b553b913 Core/Players: Fixed traits not updating aura values when changing rank 2025-06-14 14:55:06 +02:00
Shauren
357a6b6397 Core/PacketIO: Migration to PacketUtilities bit/string operations part 2 2025-05-21 18:45:37 +02:00
Shauren
fe788a5eeb Core/Misc: Silence some statis analysis false positive warnings 2025-05-19 14:41:23 +02:00
Meji
553ce72707 Core/SpawnTracking: Check if the objective is completable to get correct spawn tracking state (#30923) 2025-05-17 13:31:03 +02:00
Shauren
546d23264c Core/Misc: Make string and string_view literal suffixes globally available 2025-05-13 11:41:54 +02:00
Meji
260fab2378 Core/Misc: Added new CanSeeOrDetectExtraArgs to CanSeeOrDetect (#30882) 2025-05-11 21:10:21 +02:00
Shauren
b6d64447ba Core/World: Refactor World::LoadConfigSettings to unify validation of all config options and reduce its impact on compile time 2025-05-08 14:24:29 +02:00
Shauren
b5c99939a8 Core/Misc: Minor compile time improving changes 2025-05-07 15:41:41 +02:00
Jason Dove
39e9a5e193 Core/Players: Fix deleting favorite spells (#30905) 2025-04-30 10:19:47 +02:00
Shauren
f9bf082be9 Core: Updated to 11.1.5 2025-04-25 22:50:11 +02:00
Shauren
2e79d3524f 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
2025-04-20 15:41:58 +02:00
Shauren
7eaa695581 Core/Conditions: Added conditions for automatic learning spells with SkillLineAbility::AcquireMethod = 4 2025-04-19 17:50:49 +02:00
Shauren
531afa6bcc Core/DataStores: Convert SkillLineAbilityAcquireMethod to enum class 2025-04-18 23:58:18 +02:00
Shauren
821ecf8fa3 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
2025-04-16 16:16:49 +02:00
Meji
7445d528d2 Core/Players: Call OnQuestObjectiveChange after updating objective counters
Fix SMART_EVENT_QUEST_OBJ_COMPLETION trigger
2025-04-13 20:31:30 +02:00
Shauren
dfcd41abef Core/Spells: Apply spell modifiers multiple times to each cast, based on number of matched SpellFamilyFlags bits 2025-03-28 23:42:39 +01:00
Shauren
4c605ce621 Core/Auras: Fixed SPELLVALUE_AURA_STACK adding incorrect number of stacks on aura refresh 2025-03-22 20:20:18 +01:00
Ovahlord
6de1e51a2f Core/Database: Implement accessing query result fields by name 2025-03-13 12:41:00 +01:00
Shauren
44b51616a5 Core/Players: Removed old unneccessary death knight and demon hunter riding workaround 2025-03-10 19:06:53 +01:00
Shauren
29e0327076 Core/Players: Implement warband scene collection 2025-03-04 13:52:20 +01:00
Shauren
23624ed75a Core: Updated to 11.1.0 2025-03-02 15:43:34 +01:00
Shauren
e233079d2d Core/Units: Refactor GetCastSpellInfo to return values via return value and hide internal lookup state tracker 2025-02-24 14:33:56 +01:00
Shauren
00223f3bee Core/Misc: Add a bunch of examples for 67418a1aee 2025-02-23 12:10:33 +01:00
Shauren
ff6a107ac0 Core/Misc: Reduce differences between branches 2025-02-20 23:57:25 +01:00
Shauren
12197b7cff Core/Guilds: Don't require vendor bought items to have limited quantity to show up in guild news 2025-02-19 23:23:31 +01:00
Shauren
9201c0f035 Core/Misc: Reduce code differences between branches 2025-02-05 20:20:17 +01:00
Shauren
5875058ed8 Core/Quests: Updated quest future status checks to include all variants of that status 2025-02-03 00:07:02 +01:00
Shauren
ace6342aea Core/Spells: Refactor SpellHistory ModifyCoooldowns and ResetCooldowns callbacks to use CooldownEntry argument instead of internal iterator 2025-01-30 18:27:38 +01:00
Shauren
561b122364 Core/Spells: Replace MAX_SPELL_EFFECTS loop limits with correct upper bound depending on how many effects the spell has 2025-01-09 17:48:41 +01:00
Shauren
97f58a59f1 Core/Auras: Make iteration over Aura::GetAuraEffects safe by automatically skipping nullptr elements 2025-01-09 13:23:48 +01:00
Meji
c9099c8756 Core/Misc: Implemented spawn tracking (#30247) 2025-01-04 18:08:09 +01:00
Shauren
c72de2fbbc Core/Objects: Use span/array instead of vector for raw ObjectGuid manipulations 2025-01-03 13:47:24 +01:00
Shauren
27860c3316 Core/Database: Added std::span based functions to Field and PreparedStatement 2025-01-03 13:04:19 +01:00