Commit Graph

167 Commits

Author SHA1 Message Date
Hondacrx 06030a7ce8 Core/Quests: Fixed QuestScript::OnQuestStatusChange incorrectly triggering with QUEST_STATUS_INCOMPLETE when removing items from quest objectives on rewarding quest
Port From (https://github.com/TrinityCore/TrinityCore/commit/2c9b67f00be95bd816dbaa9db43838a67e187753)
2025-08-20 22:30:52 -04:00
Hondacrx 2e0d590901 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
Port From (https://github.com/TrinityCore/TrinityCore/commit/79347f72db13600a0cc326d9a61c4cf0396777d0)
2025-08-19 18:50:20 -04:00
Hondacrx 877fb1a76f Core/SpawnTracking: Allow linking a spawn to more than one quest objective
Port From (https://github.com/TrinityCore/TrinityCore/commit/138b1b1a21ff871b54f1f2bd815de30a93b803eb)
2025-08-19 17:18:59 -04:00
Hondacrx 4f2a1e7d92 Core/SpawnTracking: Check if the objective is completable to get correct spawn tracking state
Port From (https://github.com/TrinityCore/TrinityCore/commit/553ce72707c39d1ab7127c42f233ef27f1a7fa4d)
2025-08-14 20:55:44 -04:00
Hondacrx 0fe016c3dd Core: Updated to 11.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/f9bf082be962d45de79f936d625f644253e9b810)
2025-08-11 21:28:27 -04:00
Hondacrx 5096795793 Core/DataStores: Convert SkillLineAbilityAcquireMethod to enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/531afa6bcc485db7c115e5ab5d874bda2cbf642e)
2025-08-10 17:16:47 -04:00
Hondacrx b1027ff2ed Core/Players: Call OnQuestObjectiveChange after updating objective counters
Port From (https://github.com/TrinityCore/TrinityCore/commit/7445d528d24c8ae84784806cb8792d34cc0c301f)
2025-08-10 12:58:45 -04:00
Hondacrx f5f5de1c86 Core/Quests: Updated quest future status checks to include all variants of that status
Port From (https://github.com/TrinityCore/TrinityCore/commit/5875058ed813b90aa37c403a044d471e6ab39a89)
2025-06-08 18:23:04 -04:00
Hondacrx 2043ac37f9 Core/Misc: Implemented spawn tracking
Port From (https://github.com/TrinityCore/TrinityCore/commit/c9099c87567ead635811ef71b990ae7f19103509)
2025-05-25 20:13:24 -04:00
Hondacrx e44861a629 Core/AI: Implemented conversation ai
Port From (https://github.com/TrinityCore/TrinityCore/commit/309ba22a15e5e0b4321b99f7157ccb18e0adc8dd)
2025-05-19 17:23:36 -04:00
Hondacrx 4f63e81373 Core/Players: Added helper function to check quest completion using QuestV2 bits
Port From (https://github.com/TrinityCore/TrinityCore/commit/d78c3bb33afeb319ef0cf09171aabd8952a928fa)
2025-05-19 15:26:49 -04:00
Hondacrx 5b992859d0 Core: Updated to 11.0.7
Port From (https://github.com/TrinityCore/TrinityCore/commit/4f7079f471401d5cf7885351baabc027813f60f5)
2025-05-18 19:05:48 -04:00
Hondacrx 0e050f6c54 Core/Quests: Improved criteria tree quest objective type
* Fixed _completedObjectives not being cleaned when adding quest
* Fixed objective credit being granted if just the criteria tree row containing criteria id was completed (instead of the entire tree linked to objective)
* Retroactively grant progress on quest accept for criteria types that require action that cannot be repeated (such as learning a spell)
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e89a302fcce7644bcd8cf239edad3b409950438)
2025-02-24 11:21:04 -05:00
Hondacrx 644206f0d5 Core/Quests: Implemented QUEST_OBJECTIVE_KILL_WITH_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/1fb4acc25ae89360e71d33a8f7cba99bcc028b32)
2025-02-23 14:20:00 -05:00
Hondacrx 3a2439ba15 Core/Quests: Change Player::KilledMonster arguments to take Creature directly
Port From (https://github.com/TrinityCore/TrinityCore/commit/49699bc966e4543044da7f1fd75d57fbebfac4e4)
2025-02-23 13:13:57 -05:00
Hondacrx 447c222665 Core/PacketIO: Named a bunch of unknown/unused fields
Port From (https://github.com/TrinityCore/TrinityCore/commit/806611075659ddde60f3003763e442a46d70f993)
2024-11-17 13:07:52 -05:00
Hondacrx b30fb05495 Core/Quests: Fix QuestGiverStatus for QUEST_TYPE_TURNIN
Port From (https://github.com/TrinityCore/TrinityCore/commit/c68f4ceeb58d9e113510359eb4b7e87ef270cc9e)
2024-11-17 12:06:43 -05:00
Hondacrx 9087e3dc30 Core/Quests: Don't send SMSG_QUEST_GIVER_QUEST_COMPLETE for tracking quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/57f297b4e72c7a2639fa5a8f123cc6bbb3943be3)
2024-11-10 22:21:12 -05:00
Hondacrx 4c3074d462 Core/Loot: Implemented currency loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e28ee080a1cf3c7cd332a8d1e0808505b4ea9d4)
2024-10-09 00:18:14 -04:00
Hondacrx 6bdb8a6c70 Core: Updated to 11.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/df1ec76d54db3a91759fc93f4d6b6828d4ec0f59)
2024-09-08 15:09:30 -04:00
Hondacrx f38ad4607e Core/PacketIO: Updated to 11.0.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/e59eef5432c7b70679d33f4911c88d0f7d75fd39)
2024-09-02 18:44:55 -04:00
Hondacrx a21c82d0c0 Core/Quests: Fix case where source item provided isn't added to the bag
Port From (https://github.com/TrinityCore/TrinityCore/commit/65ef114879f201cc2784f2f948a967a7583c0583)
2024-08-25 14:49:02 -04:00
Hondacrx 2e65879fff Core/Quests: Update phaseshift when taking or abandoning quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/c90dbeb648f4bba2c354ed37b89f696f99e5bc94)
2024-08-05 14:42:58 -04:00
Hondacrx e9b21a91be Core/Battlegrounds: Move to scripts And a lot of misc commits i couldn't recover.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0d5d309bb5877dc2fcb27f6cb123707a31ec1e8)
2024-08-04 15:18:22 -04:00
hondacrx 9d7a84d3a3 Core/Objects: Added ToWorldObject and ToItem
Port From (https://github.com/TrinityCore/TrinityCore/commit/6f6af6a1a1508508d0e42b90f0acf4f363cf91bd)
2024-03-14 11:26:01 -04:00
hondacrx e646b8008d Core/Creatures: Implemented serverside checks for UNIT_FLAG2_INTERACT_WHILE_HOSTILE and UNIT_FLAG3_ALLOW_INTERACTION_WHILE_IN_COMBAT
* Also stop sending npc flags for hostile creatures
Port From (https://github.com/TrinityCore/TrinityCore/commit/c2e36dea6c6af6139bf60454e9299447ec7d9897)
2024-03-05 18:16:38 -05:00
hondacrx 0325d8b523 Core/Quests: Merged UpdateNearbyCreatureNpcFlags, UpdateVisibleGameobjectsOrSpellClicks and SendQuestGiverStatusMultiple on quest actions
* Fixes quest markers above NPC heads not disappearing when player stops seeing questgiver npc flag
Port From (https://github.com/TrinityCore/TrinityCore/commit/97d7ccd180f96a414f205396261907e1e87d491a)
2024-03-04 12:18:45 -05:00
hondacrx fa5e0f0c14 Core/Creatures: Implemented UNIT_NPC_FLAG_GOSSIP as viewer dependent and update npcflags on quest changes
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd15d763cc0529afc9b7f077817645d875608626)
2024-02-24 16:07:23 -05:00
hondacrx f99c371a85 Core/Quests: Don't send update of already completed CriteriaTree objectives to the client when accepting quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ac0f7bd1c4260cc7258f23a2f69a38e5ee7606b)
2024-02-21 17:44:48 -05:00
hondacrx 47a64b8782 Misc cleanups 2024-02-21 00:06:06 -05:00
hondacrx 80936edeab Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b5406dd882c6d96bc1be6fd0a78375c3b316415)
2024-02-06 09:39:26 -05:00
hondacrx aa696fb176 Core/Creatures: Added possibility to automatically despawn personal summons on quest remove
Port From (https://github.com/TrinityCore/TrinityCore/commit/b3dce0ac08d4f740505037aff2cad7685444db15)
2024-02-05 17:36:50 -05:00
hondacrx 3deec204bf Core/Player: Added Player::SkipQuests helper to skip quests (without rewards)
Port From (https://github.com/TrinityCore/TrinityCore/commit/e10f7e6d45a06af8eb809b7d134ed79829c09411)
2024-02-05 13:36:01 -05:00
hondacrx 7e07cd08e7 Core/Player: Rename GetQuestSlotObjectiveData to GetQuestObjectiveData
Port From (https://github.com/TrinityCore/TrinityCore/commit/38a80d7566e7a919ad5ab0bcd8b93aab52174e73)
2024-02-05 13:24:54 -05:00
hondacrx 5043b5ca8a Core/Quests: Removed slow queries from daily and weekly resets
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee7b0e82fa076ad4338b1c362235cec6739f00e0)
2024-02-05 13:20:21 -05:00
hondacrx ad880fc6b5 Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM that makes required items not be stored in inventory
Port From (https://github.com/TrinityCore/TrinityCore/commit/4dce6ab228c54319032b346d2d791262eac3d9cd)
2024-02-04 17:13:17 -05:00
hondacrx 64d80537ed Core/Quests: Fixed accessing freed memory after .reload quest_template
Port From (https://github.com/TrinityCore/TrinityCore/commit/308a34ab41241022c7fd2fb42b0c6c9bad94f07e)
2024-02-04 13:44:50 -05:00
hondacrx 47355bfa52 Core/Player: Added helpers to check quest objective status
Port From (https://github.com/TrinityCore/TrinityCore/commit/9dd8647125a020ca2dccdf26d6839f4665ff9870)
2024-02-04 00:32:24 -05:00
hondacrx a1cb1d95ee Core/Achievements: Fixed achievement criteria StartEvent and FailEvent
* Criteria using StartEvent cannot be updated without that event triggering first (not only for timed achievements)
* Implemented most StartEvent and FailEvent types
* Fixed saving criteria removed by RemoveCriteriaProgress
Port From (https://github.com/TrinityCore/TrinityCore/commit/41a20b1e4008d450d075847ef1fe367f0e3a240f)
2024-01-30 10:22:01 -05:00
hondacrx 5010d90d05 Core/Spells: Removed unneccessary checks from skill spell effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/77429d679a484379f077c1fe2b50f0fd8f742e78)
2024-01-30 09:37:07 -05:00
hondacrx 29a34bbf5d Core/Quests: Fixed optional quest objectives incorrectly changing quest state when they change completion state
Port From (https://github.com/TrinityCore/TrinityCore/commit/4362a8c3f6aff1a8403ab9c1dee3fd23a82db339)
2024-01-30 09:21:07 -05:00
hondacrx 3080eac1ce Core/Quests: Fix questgiver status for trivial and future quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d9dd75fe2112bcc119ee0209eef00eabfbe0bce)
2024-01-29 15:24:56 -05:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx 6dbfdf51f6 Core/Misc: Updated more enums for 10.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b1281e73ff2c8bfe11789c88fc1caaca6584a03)
2023-09-04 08:00:58 -04:00
hondacrx f6807e152c Core: Update to 10.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cea730fa23473a85c47451c3bd13df816f2b6e4)
2023-08-21 07:22:33 -04:00
hondacrx 8d1a496463 Core/Quests: Make completion of tracking quests completed by SPELL_EFFECT_QUEST_COMPLETE visible to client
Port From (https://github.com/TrinityCore/TrinityCore/commit/768bf46043f81a2a8fce7f28e944c1e1a47ce0ca)
2023-07-18 07:53:26 -04:00
hondacrx 8b746a8996 Core/Quests: Fixed crash in Player::RewardQuest
Port From (https://github.com/TrinityCore/TrinityCore/commit/f93b4d6c438b337d15bf1666f6f0e050beb97ce4)
2023-06-24 08:52:27 -04:00
hondacrx 49a07ebcce Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
Port From (https://github.com/TrinityCore/TrinityCore/commit/0fb8765a6638fd947b59fce44d5c31251d0cdadd)
2023-06-21 09:19:40 -04:00
hondacrx 264647c611 Core/Quests: New FlagsEx implementations
* QUEST_FLAGS_EX_REWARDS_IGNORE_CAPS
* QUEST_FLAGS_EX_NO_CREDIT_FOR_PROXY
* QUEST_FLAGS_EX_RECAST_ACCEPT_SPELL_ON_LOGIN
* QUEST_FLAGS_EX_REMOVE_ON_PERIODIC_RESET
* QUEST_FLAGS_EX_NO_ABANDON_ONCE_BEGUN
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cb8965de22c5da3887b8f8b5c08b9f5034b3cc6)
2023-06-13 09:11:55 -04:00
hondacrx e6432f8c97 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
Port From (https://github.com/TrinityCore/TrinityCore/commit/4d4c7e68935df9ca40bd5539d602ac4e779f53d5)
2023-06-13 08:52:22 -04:00