Commit Graph

445 Commits

Author SHA1 Message Date
hondacrx 33f62b27bf Core/GameObject: do not allow players to interact with gameobjects that use the "Point" icon.
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f8a6bac87e726f580247a601391e6286017468c)
2022-01-01 15:38:18 -05:00
hondacrx 60808a268d Core/Player: don't send errors to client from Satisfy* methods when Player::CanRewardQuest() is called with msg = false.
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc0a9d1fe96de7d59659c678814e6371be57774d)
2022-01-01 15:37:01 -05:00
hondacrx 8766de8286 Fixes loading server and loggin in. 2021-12-27 22:37:53 -05:00
hondacrx 74133edce1 Misc fixes/missed stuff 2021-12-27 18:11:38 -05:00
hondacrx 12f472cee1 Core/Chat: Rewrite some custom channel handling. Channel creation now properly saves passwords.
Port From (https://github.com/TrinityCore/TrinityCore/commit/ea753efb9370455979c8af8ebaafa734b77d6052)
2021-12-27 17:23:39 -05:00
hondacrx c209f30475 Battleground/Arena: Properly check RBAC arena join permission before allowing queue.
Port From (https://github.com/TrinityCore/TrinityCore/commit/a69a061d76fe4e142e84c775230e2fcbd6ddb9d4)
2021-12-27 17:06:18 -05:00
hondacrx 0dda317989 Core/Quest: Do not allow quests to be turned in if the player no longer satisfies level/skill/reputation requirements.
Port From (https://github.com/TrinityCore/TrinityCore/commit/925aaecbc0997a8fa3dea8de25f12258f889ffad)
2021-12-27 16:50:14 -05:00
hondacrx 8e06e237e0 Entities/Player: Properly restore PvP-enabled state on login
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5d8807af8cb0f257f81fa5cf3ac70769b677575)
2021-12-27 16:33:10 -05:00
hondacrx 7a47eaeb24 Core/Conditions: allow spellclick conditions to properly work for aura apply/remove
Port From (https://github.com/TrinityCore/TrinityCore/commit/edf12fd6a1b989d7785bc0619002eda1ccc87368)
2021-12-27 15:23:22 -05:00
hondacrx 08678c970e Core/Unit: Implement more helper methods
Port From (https://github.com/TrinityCore/TrinityCore/commit/104ec7a81a5bb782f81fd05b872bf664e4de1c89)
2021-12-26 20:04:34 -05:00
hondacrx 55189b9395 Core/Quest: Fix repeatable quest mark
Port From (https://github.com/TrinityCore/TrinityCore/commit/c5173aca15fcabba9ffce6393cf17868dc30750f)
2021-12-26 19:59:39 -05:00
hondacrx a3f2e9f372 Entities/Player: Fix an edge case where overlapping CCs could prevent player movement from being re-enabled.
Port From (https://github.com/TrinityCore/TrinityCore/commit/096269349cd82a44f57f36b17dfe4e5e32a39f9a)
2021-12-26 19:56:01 -05:00
hondacrx bddde92a0f Entities/Player: Clean up client control handling behavior around possession. Mind Control should no longer cause various weirdness.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bba4696de715b79b31e154d1a8e1597507812ece)
2021-12-26 19:54:55 -05:00
hondacrx 6d73a59f63 Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender
Port From (https://github.com/TrinityCore/TrinityCore/commit/27886c7f5d6cfc221ea67aab210f96859d725e05)
2021-12-26 19:51:26 -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 73fa489610 Misc: some corrections after recent merges
Port From (https://github.com/TrinityCore/TrinityCore/commit/cadbf42ea4489933f28caf356f8c8d09ca243083)
2021-12-24 21:38:37 -05:00
hondacrx 5de09a5046 Core/BattlePets: Added default cooldown to revive battle pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/1a846415493289fc3852e56c82514d85c421267c)
2021-12-24 20:41:51 -05:00
hondacrx e28b42b270 Entities/Unit: Fix an issue where Unit pointers could be left dangling if a channeled Charm was interrupted by a control aura application.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d10554da14fb8371072567f673c9f919cbe6b929)
2021-12-23 20:19:55 -05:00
hondacrx 1f58dc2b53 Entities/Unit: Cleanup all the direct accesses to m_unitMovedByMe. Refactor the field to be protected. Add assertions to catch dangling pointers.
Port From (https://github.com/TrinityCore/TrinityCore/commit/edc75831194bc2419e3abada47121fadf4b2aa8d)
2021-12-23 20:17:08 -05:00
hondacrx 8b23a77c5f Core/Loot: don't allow to regenerate chest loot inside instances and raids.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bfef73b5102201e85a31b39ae595da42d9750c7e)
2021-12-22 20:32:04 -05:00
hondacrx 85f24d047e Core/Player: Fix teleporting FlyPath dismounting the player
Port From (https://github.com/TrinityCore/TrinityCore/commit/2d7ec53330bda17704cf46a88785f40b95ce3bfb)
2021-12-17 19:37:23 -05:00
hondacrx 1bd33fce8e Core/Loot: implement automatic pass in group loot for items that cannot be looted.
Port From (https://github.com/TrinityCore/TrinityCore/commit/1c8f94a14f51e5ddfd0eb277e2b709da274e654d)
2021-12-17 19:33:22 -05:00
hondacrx b349f922b2 Core/Spells: don't allow spells with SPELL_EFFECT_CREATE_LOOT to be cast if there isn't enough space in inventory
Port From (https://github.com/TrinityCore/TrinityCore/commit/59da957165ef7d7529db30f90a30dc401d682052)
2021-12-17 19:26:43 -05:00
hondacrx 613fa25096 Core/Player: allow AutoStoreLoot to specify if the looted item should be shown as if created by the player.
Port From (https://github.com/TrinityCore/TrinityCore/commit/81a8366ce5659f3556a0b910a0437256d95b62f9)
2021-12-17 17:47:14 -05:00
hondacrx b84f88d98f Core/Player: Remove all Motion Masters when teleporting
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab3edebb5d824f7cb0d030daba168e2bb7900511)
2021-12-17 17:44:45 -05:00
hondacrx da41af6279 Core/BattlePets: Improvements when enabling battle pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a8f79ad5ad5afbf6a6aedc9ad46c3b774877b31)
2021-12-16 13:10:24 -05:00
hondacrx f7023cb290 Core/Spells: Implemented SPELL_ATTR1_CAST_WHEN_LEARNED
Port From (https://github.com/TrinityCore/TrinityCore/commit/747da1f804a05462fb0d542a9570f27a549688dc)
2021-12-16 13:00:53 -05:00
hondacrx 599eb14a16 Core/Map: Don't log errors about Area ID 0
Port From (https://github.com/TrinityCore/TrinityCore/commit/efbb6f5b7d66c31671aed47881825b6baa6f5019)
2021-12-16 12:59:09 -05:00
hondacrx a39fdef7c3 Core/Players: out of range group updates will now get sent every 5 seconds instead of as soon as they are available to reflect retail behaivior.
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d433b1bc89bf26585688d8041da500ff8dae364)
2021-12-16 12:42:19 -05:00
hondacrx 137546769e Core/Quest: improve source item deletion logic for items that give quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/558772a0bc7e0d8b768a5b1778a9d598a2288f6f)
2021-12-07 17:24:31 -05:00
hondacrx ab828b2cb6 Core/Quests: Allow more objects to update their dynamicflags in Player::UpdateForQuestWorldObjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e5f35a14ce0b894d95434f27fab8f7d0ba6dedc)
2021-12-07 17:07:38 -05:00
hondacrx c1fd2cef37 Core/Quests: Optimize Player::HasQuestForGO
Port From (https://github.com/TrinityCore/TrinityCore/commit/eb834272cb0c0a1b1bb102bcee1b2a18b27f862d)
2021-12-07 17:03:53 -05:00
hondacrx 0e8e2b7cc5 Core/Achievement: fix mistake related to ACHIEVEMENT_CRITERIA_TYPE_OWN_ITEM.
Port From (https://github.com/TrinityCore/TrinityCore/commit/238726b8241adea7819fe93f1af7bec8bd77f6e1)
2021-12-07 14:21:57 -05:00
hondacrx 7af628bccc Core/Achievement: correctly credit progress for skill-related achievements when learning a new skill.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3264ef1f75af2430301050df3831e20c51ecf512)
2021-12-07 14:21:03 -05:00
hondacrx 754ac90d50 Core/Misc: Apply fatigue when flying too
Port From (https://github.com/TrinityCore/TrinityCore/commit/eb25fbd485ccf7791fff415d5e0aaf5cb8329584)
2021-12-07 14:18:39 -05:00
hondacrx 2ded315eaa Core/Object: Range check vol. 2
Port From (https://github.com/TrinityCore/TrinityCore/commit/a13a765610d964a3aa1bab1b41331c05e24a1f78)
2021-12-07 13:53:35 -05:00
hondacrx a96fe1e47f Core/Movement: Add time synchronisation (Needs tested)
Port From (https://github.com/TrinityCore/TrinityCore/commit/c19a4db1c12b8864d6c486ee8e2f0e058fb4155a)
2021-12-02 22:34:04 -05:00
hondacrx f5695f0cf2 MMaps Updates, Needs tested.
Port From (https://github.com/TrinityCore/TrinityCore)
2021-12-02 14:50:55 -05:00
hondacrx c59535dc05 Core/Social: Separated checks for friend and ignored limits
Port From (https://github.com/TrinityCore/TrinityCore/commit/edd911b14d64369158db888fa4dc8d80a4f36f61)
2021-12-01 11:11:13 -05:00
hondacrx 850bc4edc4 Core/Creatures: Filter out trainer spells that belong to a skill that can never be learned by a player with given class and race combination
Port From (https://github.com/TrinityCore/TrinityCore/commit/10fcfde78b7ebf9008d148d5db67e183e3402d55)
2021-12-01 10:21:01 -05:00
hondacrx 8d8479b49e Core support for breadcrumb quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/0bde06c4027d2e60edc30b55fa7b42da8d253d29)
2021-12-01 10:19:39 -05:00
hondacrx 356bbb8823 Core/Objects: use the actual collision height of players and creatures to get more accurate liquid status results
Port From (https://github.com/TrinityCore/TrinityCore/commit/d5daa2ad49a5a5d23ec4fae7508998ff9b1b6ad1)
2021-11-29 17:27:43 -05:00
hondacrx 56f1c3d984 Core/BattlePets: Implemented BattlePetSpeciesFlags::NotAccountWide
Port From (https://github.com/TrinityCore/TrinityCore/commit/93c668ac50a529876054212dfef6544f70259035)
2021-11-29 17:09:03 -05:00
hondacrx e5148a7fd1 Core/Players: Fix logic in CanSeeSpellClickOn
Port From (https://github.com/TrinityCore/TrinityCore/commit/80421d7cacb5bac4d18ac03e25e007552af55370)
2021-11-29 14:26:15 -05:00
hondacrx cb74ab8075 Core/Players: Load faction change items from db2 instead of db
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b11d17f4928d17637ad8182f9c632d90f873db4)
2021-11-23 22:24:04 -05:00
hondacrx fad2eccc25 Core/Quest: Fix crash in GetQuestDialogStatus()
Port From (https://github.com/TrinityCore/TrinityCore/commit/b1b5a6a591be621e23905a7f320a3db1dc96cf7f)
2021-11-23 21:29:20 -05:00
hondacrx 501f280140 Core/Unit: rename & cleanup GetCreatePowers
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8ec1ba9bc2d6d24407670159a765099f2a3004d)
2021-11-23 21:26:01 -05:00
hondacrx e42059ac2b Core/Auras: Implemented SPELL_AURA_MODIFY_FALL_DAMAGE_PCT
Port From (https://github.com/TrinityCore/TrinityCore/commit/7c53be0210470d45efce672b5f3dbb3bc5bd857a)
2021-11-23 20:44:25 -05:00
hondacrx 0a8541a39c Core/BattlePets: Implemented battle pet name query packet
Port From (https://github.com/TrinityCore/TrinityCore/commit/8614690e27df8197586cc702760409293f3f6c3d)
2021-11-23 15:07:17 -05:00
hondacrx b3a92137d3 Core/Spells: SpellHistory updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/8cc6520b89583d4bf6549b28fa5b7390fc2b0b9d)
2021-11-23 14:36:54 -05:00