Commit Graph

144 Commits

Author SHA1 Message Date
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
hondacrx 25ede0f0e7 Core/Quests: Send Offer Reward Window for non-repeatable autocomplete quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/283837271eb10bf702f3201514546a6dc27ceb38)
2022-10-26 09:15:08 -04:00
hondacrx d457828f3b Core/GameObjects: Implemented AllowMultiInteract for GAMEOBJECT_TYPE_GOOBER
Port From (https://github.com/TrinityCore/TrinityCore/commit/f52f2cc67ad91fa9017f6739e0efdf9677c5d629)
2022-10-22 22:32:25 -04:00
hondacrx f441175665 Core/Garrisons: Implement SMSG_GARRISON_OPEN_TALENT_NPC opcode
Port From (https://github.com/TrinityCore/TrinityCore/commit/4772c4817f1b34553f1c697e2aedc0372af9aea2)
2022-10-11 20:27:05 -04:00
hondacrx 3102a12bfe Core/Players: Prevent sending QuestUpdateAddCredit on QUEST_OBJECTIVE_ITEM
Port From (https://github.com/TrinityCore/TrinityCore/commit/55d0adf15e310e95576fdc4ec406ec154c23ffbb)
2022-08-06 12:22:18 -04:00
hondacrx ce16bc0611 Fixes a crash when loading. 2022-07-19 20:26:39 -04:00
hondacrx 9961b71f17 Core/Players: Cleaned some old updatefield definitions and updated values for completed quests size
Port From (https://github.com/TrinityCore/TrinityCore/commit/26d757946f4e26397930e2d8733c0b1c7f76d0a6)
2022-07-18 22:07:17 -04:00
hondacrx 357b1fed30 Fixed a crash when loading into world. 2022-07-11 15:38:24 -04:00
hondacrx c7123ad860 Core/Quests: Reset seasonal quests based on saved completion time and intended holiday start time
Port From (https://github.com/TrinityCore/TrinityCore/commit/49ad0d2d495a9f817ad2820f8e616f3a6564b480)
2022-07-04 01:15:52 -04:00
hondacrx dfee7691f7 Core/Battlegrounds: Replaced overriding m_team with more fine grained approach
Port From (https://github.com/TrinityCore/TrinityCore/commit/55587694053583b4cb85be38a47563a9fdf77271)
2022-05-31 13:45:46 -04:00
hondacrx 60ab157ba1 Core/Quests: Improve ItemRemovedQuestCheck logic
Port From (https://github.com/TrinityCore/TrinityCore/commit/62df5e860fd3ecfcedbcca14a6d90bf5d8a1bbef)
2022-05-29 16:08:45 -04:00
hondacrx 8f66ab059d Core/Quests: Do not tell the client to request questgiver details for the next quest in chain on quest reward if the player cannot accept it yet
Port From (https://github.com/TrinityCore/TrinityCore/commit/cec71e83017bd22036a80c7747535ac3c9ee60d4)
2022-05-23 17:25:04 -04:00