Commit Graph

155 Commits

Author SHA1 Message Date
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
hondacrx 48f8d37ccb Core/Quests: Only launch gossip menu on quest completion when quest has QUEST_FLAGS_LAUNCH_GOSSIP_COMPLETE flag
Port From (https://github.com/TrinityCore/TrinityCore/commit/e746cb2f28a07520b51a7a258958d9da8237fbf1)
2023-06-13 05:18:04 -04:00
hondacrx f5108cbb94 Core/Quests: Fixed quest dialog not closing automatically when there are no other follow-up quests for the quest giver
Port From (https://github.com/TrinityCore/TrinityCore/commit/78b3f6309fa2d20fdd8a45a442cef55054b44ac6)
2023-06-13 05:11:52 -04:00
hondacrx dfdd88a2fc Core/Quests: Implemented new db table quest_objectives_completion_effect
* Turn off automatic phase updates on quest objective completion
* Allow more convenient conversation and spell casts on quest objective completion
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2be8d202823706ad4b29c2dc988c0fe978ae652)
2023-06-13 04:38:50 -04:00
hondacrx 71cc0bb2ec Core/Quests: Fixed typo in raid group requirements check
Port From (https://github.com/TrinityCore/TrinityCore/commit/5e47a3522a03ac193bad819e5ff04e11e6c65645)
2023-04-26 07:08:05 -04:00
hondacrx 6361e60c8b Core/Quests: Fixed crash happening when a quest is marked as rewarded without a questgiver (for example lfg)
Port From (https://github.com/TrinityCore/TrinityCore/commit/5332098e76bf5f1f46b5a7984fc00b4e493cd4c8)
2023-04-05 08:14:11 -04:00
hondacrx 4b798e7cab Core/Players: Several currency fixes and improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/03918978c166c9fb191117a0cae9ba1285bf0e37)
2023-02-11 23:28:57 -05:00
hondacrx 69a413006c Core/Quests: Dont immediately update object visibility at PhaseShift and wait for the AI Hooks to be called in Player::RewardQuest
Port From (https://github.com/TrinityCore/TrinityCore/commit/b5886f6a2d1756357a9240703306e9efc82771d7)
2023-01-30 10:14:03 -05:00
hondacrx 08fcedaf21 Core: Updated to 10.0.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/4bec7233badf9d3ab71dbdde8b24f66f7c4eedfb)
2023-01-30 10:07:42 -05:00
hondacrx 873a1df596 Core/Reputation: Implemented renown reputation (Dragonflight)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d64d84dfa68da4ff83f0b88ad4e88dccc5ace623)
2023-01-24 23:35:51 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx d644418262 Core/Spells: Implemented SPELL_EFFECT_GIVE_EXPERIENCE and SPELL_EFFECT_GIVE_RESTED_EXPERIENCE_BONUS
Port From (https://github.com/TrinityCore/TrinityCore/commit/ade34a7f484dfcc7e41eddfd1014e7728c8dc2c1)
2023-01-05 17:05:01 -05:00
hondacrx 989b80b056 Core: Updated to 10.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/e98e1283ea0034baf6be9aa2ffb386eb5582801b)
2022-12-28 15:25:15 -05:00