Commit Graph

61 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 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 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 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 cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx 3c28432a49 Core/Quest: Allow quests flagged as QUEST_FLAGS_AUTO_COMPLETE to be valid in CMSG_QUESTGIVER_REQUEST_REWARD
Port From (https://github.com/TrinityCore/TrinityCore/commit/a9d459962b221fd2033efa02f059b602c5a546f6)
2023-09-14 04:50:51 -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 9d4be0003b Core/Creature: Added possibility to give creatures multiple gossip menu ids and control them via conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/36044a9470e9c39a71916e908ab6cf4f95677793)
2023-04-25 08:02:18 -04:00
hondacrx bc8dc03724 Core/Creatures: Allow overriding default gossip menu id
Port From (https://github.com/TrinityCore/TrinityCore/commit/09568736134372ec1a79b936a248eec30f071c8d)
2023-03-14 02:22:08 -04: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 fca1e3d98a Core/Battlegrounds: Fixed AV turnins being counted when opening quest completion UI instead after completing the quest
Port From (https://github.com/TrinityCore/TrinityCore/commit/5dca7309f4db9de348525987d236cd03657ef21f)
2022-07-09 12:40:12 -04:00
hondacrx 42e17b0c6f Core/QuestHandler: Fix potential crash caused by QUEST_FLAGS_PARTY_ACCEPT with conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/c50c877bdbbce4453fee6ef756822c96988a60df)
2022-05-29 22:38:16 -04:00
hondacrx 820eea5949 Core/Creature: Add new db field InteractionPauseTimer
Port From (https://github.com/TrinityCore/TrinityCore/commit/5180abfb19b9c1c4f2df2fbfa918a62f1c4ae995)
2022-05-24 19:13:45 -04:00
hondacrx 52b9e6cb31 Core/Quest: Fix wrong feedback sent to the quest sharing sender with auto-accept quests.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bfdabb8c378a6b37580d5138ed86523bfcde1876)
2022-05-24 10:10:10 -04:00
hondacrx eb95b0106d Core/Quests: Fixes response selection to use correct referenced identifier
Port From (https://github.com/TrinityCore/TrinityCore/commit/8de5053a655a59cc1d38b1e1de59950ab32629cf)
2022-05-23 17:18:01 -04:00
hondacrx 52ce6b2700 Add "On" to some gossip methods in AI
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc04acb72652882290cef49b2055d3cf1ab12f36)
2022-05-04 09:26:05 -04:00
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx fcc371968a Core/Quests: Set quest slot earlier when abandoning a quest
Port From (https://github.com/TrinityCore/TrinityCore/commit/a17944e91e2ceec693c8e286b4eabecbd08493c6)
2022-02-25 17:35:18 -05:00
hondacrx ed761eb400 Core/Pooling: Quest pooling rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/51fbda4223442635a35d3225c0797d0151ea7051)
2022-01-04 17:35:29 -05:00
hondacrx ce3b99471d Core/Quest: do not send SMSG_QUESTGIVER_OFFER_REWARD right after SMSG_QUESTGIVER_QUEST_FAILED.
Port From (https://github.com/TrinityCore/TrinityCore/commit/ecce30a8072fd9352edae378a182f6bf6619d412)
2021-12-26 19:32:56 -05:00
hondacrx c6dbd790c1 Core/PacketIO: Updated SMSG_QUEST_PUSH_RESPONSE to 9.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/122fe7549db0e499560b748156592862623cb6b4)
2021-11-07 17:02:09 -05:00
hondacrx c9b8f09fbc Core/Achievements: Update CriteriaType enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a83f748766c49775d76412d2b98bb9b9dc8c4df)
2021-09-09 14:49:19 -04:00
hondacrx 103d78dccc Core/Criteria: Add all values of CriteriaStartEvent
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b2087ae4185fa53cd3b5d7206f7fd3726fd642f)
2021-06-04 14:08:02 -04:00
hondacrx 852cd21cae Core/Quests: Drop unneeded QuestSpecialFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd8aed421a48225b0e60c677969d1fc133954279)
2021-05-11 10:15:44 -04:00
hondacrx cb471274e8 Core/AI: Kick Gossip functions upstairs, from UnitAI to CreatureAI - they only make sense for Creatures anyway.
Port From (https://github.com/TrinityCore/TrinityCore/commit/0aed5a35efd0305c1c3046430a1b348f2049a1c5)
2021-04-28 10:53:26 -04:00
hondacrx b1ea7212f3 Move some packets processing to map context
Port From (https://github.com/TrinityCore/TrinityCore/commit/2ea8f5e6fced094f28c45ac84123c85477122567)
2021-04-18 14:06:00 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx 5b09d675dd Scripts/Quests: Implemented new quest scripting hook, OnQuestAcknowledgeAutoAccept, used when player closes quest frame after viewing details of autoaccept quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/f269f60d8a5f6b0982eb46dc583e2618c98931fb)
2021-03-04 12:13:43 -05:00
hondacrx 87c54f63ec Core/Quests: Fixed crash happening when a player is quest ender
Port From (https://github.com/TrinityCore/TrinityCore/commit/1000f670d211f2ac5aef3351af0f08de06e13097)
2020-12-31 15:51:22 -05:00
hondacrx f0037ab99f Core/DataStores: Updated db2 structures to 9.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/b82a3a557a7bf13d48342ea189325550059b622d)
2020-12-12 23:20:41 -05:00
hondacrx 87160961fa Core/PacketIO: Fill new packet fields with data
Port From (https://github.com/TrinityCore/TrinityCore/commit/83eecaf2c40cc72c1dc42335766534eb8d227e60)
2020-12-10 10:22:13 -05:00
hondacrx c46c7ba2dc Core/PacketIO: Updated most packet structures to 9.0.1
Port From (https://github.com/TrinityCore/TrinityCore/commit/cab4c87d2d7f6d734ef067d6bf50f4b1d338a7bc)
2020-12-09 14:01:38 -05:00
hondacrx d40c2938a3 Core/PacketIO: Renamed a bunch of opcodes based on more research (only those added after 6.0)
Port From (https://github.com/TrinityCore/TrinityCore/commit/f922c6e7a46a7c712daaaef9b1a72ca865fbe94b)
2020-09-22 20:05:58 -04:00
hondacrx d9770ed0f9 Followup to waypoint movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a133e77d61fc6bafad7b60b74604d5da648ece9)
2020-08-24 17:52:09 -04:00
hondacrx 3d3fd0f55f Core/Movement: waypoint movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/97585597f0b1aff93873fe4d757556731bc0c1b2)
2020-08-24 17:02:02 -04:00
hondacrx 3c054eb054 Core/Player: Keep shared quests through map changes instead of getting stuck in busy state
Port From (https://github.com/TrinityCore/TrinityCore/commit/c12ee97f122acfd77bd81cf178a77d5054c312b6)
2020-07-24 14:55:22 -04:00
hondacrx 581d077acd Refactoring of BNetServer 2020-07-12 00:06:43 -04:00
hondacrx c2aee387a8 Core/Scripts: unified scripted gossip/quest api
Port From (https://github.com/TrinityCore/TrinityCore/commit/6604849716bc73d82a4cdbf8c66bb188086ceae4)
2020-05-22 13:28:20 -04:00
hondacrx 46d9b510b7 Core/Quests: implemented MSG_QUEST_PUSH_RESULT notifications
Port From (https://github.com/TrinityCore/TrinityCore/commit/3eee76b1c63469152a9e531da4f973d0e0471ac6)
2020-05-19 13:56:05 -04:00
hondacrx 65c6731974 Core/Quest: always send the specified RewardNextQuest regardless of eventual scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/2bd7c9aa40cefcfc401b81cfacd7dd832a3a736b)
2020-05-18 22:46:04 -04:00
hondacrx 230453c451 New Year 2020 :) 2020-01-09 11:35:00 -05:00
hondacrx 63105504a4 Core/Items: Add ItemContext param to Item::Create function
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a2d9ad2f7673e2b7ee62b7cc6f1a19639d37864)
2019-11-23 00:44:38 -05:00
hondacrx 570aebce26 More refactoring of code. 2019-09-23 21:41:13 -04:00