Commit Graph

981 Commits

Author SHA1 Message Date
hondacrx 0d68984717 Misc fixes, and added GetDebugInfo() which was missed. 2022-01-05 13:11:32 -05:00
hondacrx 1a35b4c6f7 Core/Pet: Fix guardians low damage
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e1ed95a63b12d7eb94bfb06b9e2569c4f15e5d2)
2022-01-04 20:51:40 -05:00
hondacrx 7f053ea099 Core/Movement: Fix LoS issue of NPCs chasing targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/f012d4b7fcf0376de75f09c2b59509247fd133cb)
2022-01-04 20:09:33 -05:00
hondacrx b3eb0ef4c5 Core/Misc: Fix parry-haste mechanic.
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc0940fe25bc4627ad0be47243992a4733ab43a8)
2022-01-04 20:04:11 -05:00
hondacrx 6fe5a31fab Scripts/Outland: Fix npc_ancestral_wolf not starting waypoint
Port From (https://github.com/TrinityCore/TrinityCore/commit/913f0903a3264f14ea44356bc86dade81348a546)
2022-01-04 20:01:29 -05:00
hondacrx 5f25f86b81 Core/Creature: Fix another pet assert
Port From (https://github.com/TrinityCore/TrinityCore/commit/18d1f0c964a17cc79732eb20958b9c594ebd3628)
2022-01-04 19:58:28 -05:00
hondacrx 9f5414d894 Fix spell_area not checking for zoneID for quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/e1598fa1d64b46fc53607182898fae2da172957b)
2022-01-04 18:56:51 -05:00
hondacrx 673d2fff40 Core/Map: Kill zoneId from RespawnInfo, all it did was significantly slow down startup to make one gm command faster
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f3904f8fd4e7536d1e7ba8e701f4774519fd867)
2022-01-04 18:46:40 -05:00
hondacrx 021f342502 Entities/Creature: Fix an edge case assertion failure with pets dying in specific situations while casting spells.
Port From (https://github.com/TrinityCore/TrinityCore/commit/97bf9278a8d347badc85d7bcefdba0c1afb275e3)
2022-01-04 17:56:58 -05:00
hondacrx 8c8e78bcbf Core/Creature: Fix an issue that sometimes prevented spellcast focus targets from being reacquired.
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b588694caed2ccab36241abb61e2c93ce8b5bb1)
2022-01-04 17:55:02 -05:00
hondacrx 964542023c Core/Channels: Fix a bug that would cause channel settings to disappear in certain settings. Fix a bug that would cause channels to not be saved on .server shutdown without delay.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f434241305089942e7df5579e81137624c3ae0ef)
2022-01-04 17:51:57 -05:00
hondacrx 97ce4d6db7 Misc fixes and missed stuff. 2022-01-04 17:37:55 -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 9e61335fe8 Core/Vehicle: Change vehicle accessories' phase according to the player on the vehicle
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d5086da1747816e1a4e8518e16ab1923de22e1a)
2022-01-02 19:54:18 -05:00
hondacrx 92c90bf777 Core/Unit: Spell focusing now no longer nonsensical. HasSpellFocus always const. Error logs for various stuff.
Port From (https://github.com/TrinityCore/TrinityCore/commit/14c38a1c529e634b068a67b3e7475ddcf599086b)
2022-01-02 19:49:21 -05:00
hondacrx 45fba1e81a Core/Creature: add a spell-focus-check method.
Port From (https://github.com/TrinityCore/TrinityCore/commit/44e9572a77061a8ddf04940f8e76f6585ad4ca05)
2022-01-02 19:31:22 -05:00
hondacrx 6a42e70544 Core/Unit: rename more things
Port From (https://github.com/TrinityCore/TrinityCore/commit/4db13853f7707c168c1297e662f9e6085d2f01be)
2022-01-02 19:28:27 -05:00
hondacrx a2a2eb3581 Core/Unit: rename more methods
Port From (https://github.com/TrinityCore/TrinityCore/commit/a58881d6dac1975b77abf361c5dc5ffcd755d2be)
2022-01-02 19:26:31 -05:00
hondacrx 6ad0b6f159 Core/Unit: rename IsFocusing method
Port From (https://github.com/TrinityCore/TrinityCore/commit/be4ed9152c1a9c3dab9949eb36d867b763603f60)
2022-01-02 19:25:23 -05:00
hondacrx 32a3480c0f Core/Spell: honor IsStackableOnOneSlotWithDifferentCasters() when deciding if an aura should stack from different casters or not.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2f2de263114e1227e348a9177bf8b60076a17553)
2022-01-02 19:16:31 -05:00
hondacrx e70e2d0088 Core/SmartAI: SmartAI creatures no longer process health-based hooks after death.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3db58c4d96c446b736b84d4954f8fd9c9e309e33)
2022-01-02 19:15:03 -05:00
hondacrx 81ab3b4080 Don't allow to summon dead hunter pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/92fc09b1b5507c11c9e7ca63e6de0ec7574f0810)
2022-01-02 19:12:50 -05:00
hondacrx 4c0eb3f2e2 Scripts/FollowerAI: Some cleanup:
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c3eb07889f72955879c8a0e0881b51befb60067)
2022-01-02 13:06:01 -05:00
hondacrx c4bc8c6362 Core/Spells: fixed root behaivior of creatures that are being rooted via movement template while getting a root aura removed
Port From (https://github.com/TrinityCore/TrinityCore/commit/d01a22f58ea19ce9ec71ea7c26adfbdea183fbd2)
2022-01-02 12:40:12 -05:00
hondacrx c9621dcbe1 Entities/Unit: fix an unrelated check from doing nothing because somebody didn't understand how type-casting works
Port From (https://github.com/TrinityCore/TrinityCore/commit/4330b7c921203486174fa818908b74d06f61c9f8)
2022-01-02 12:36:51 -05:00
hondacrx 24e4068761 Entities/Unit: Add a missing underflow check to prevent really really low damage from underflowing when paired with flat damage modifiers.
Port From (https://github.com/TrinityCore/TrinityCore/commit/970a89a8c3e615244b5968e04d888100fba2cff0)
2022-01-02 12:35:46 -05:00
hondacrx f954046c4c Core/Combat: Properly unset engagement flag on death.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b1ca0ca128425677043d36a147a019f6d2ac6e6)
2022-01-02 12:32:11 -05:00
hondacrx c7224deafe Core/Misc: Kick a Totem error log upstairs one stack frame to give it access to various debug info
Port From (https://github.com/TrinityCore/TrinityCore/commit/2b65dbbeabc3cde156d43e8e2657195e813821f1)
2022-01-02 12:26:12 -05:00
hondacrx 86f7a08870 Core/Spells: Fix infinite loop
Port From (https://github.com/TrinityCore/TrinityCore/commit/e6e73b7b13ddc48f98f46d1af13a95b9cf67cccd)
2022-01-01 17:55:01 -05:00
hondacrx c900592e1c Core/BattlePets: Misc fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/446997cdf2bf24163141d7dcaa80bb6ef891f933)
2022-01-01 17:37:27 -05:00
hondacrx a2dcceb4f2 Core/Auras: Implemented ChangeSpec, ChangeTalent and ChangeGlyph interrupt flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/05037bd936756b8ae553d17fd920ad8316f27487)
2022-01-01 17:13:41 -05:00
hondacrx 2842cc9c91 Core/AI: Finally move the "is creature engaged" flag to be a property of the creature AI, where it honestly always belonged.
Port From (https://github.com/TrinityCore/TrinityCore/commit/c13d83796f7b2111c5dcf8546bdd84eccd232ae3)
2022-01-01 17:05:29 -05:00
hondacrx 263ad06c82 Core/Creature: honor existing DB data for health and mana in case of summoned pets that don't have pet-specific stat data.
Port From (https://github.com/TrinityCore/TrinityCore/commit/434ef51c10535a4ef79e6210a762b9680518442b)
2022-01-01 15:55:33 -05:00
hondacrx acda66329b Core/Creature: don't set guardian stats in Creature::UpdateEntry(), because stat calculation from guardians is already done in Guardian::InitStatsForLevel.
Port From (https://github.com/TrinityCore/TrinityCore/commit/537b425377c065e5a99486387247349bde0a37ea)
2022-01-01 15:50:59 -05:00
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 55c298be9f Core/Misc: Various dynspawn cleanup and refactors split off from pooling rewrite:
Port From (https://github.com/TrinityCore/TrinityCore/commit/eee950cdd7bcbe9443a53ea5c4cce35444a503f7)
2021-12-27 18:09:58 -05:00
hondacrx 9b2d1e67b6 Core/Spawns: Exterminate CONFIG_SAVE_RESPAWN_TIME_IMMEDIATELY with extreme prejudice. (It didn't work anyway.)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d5e58cef694d3db65f0a27b93099ae4e517685a4)
2021-12-27 17:39:42 -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 5e193139a2 Core/Unit: movement related corrections prior to getting Charmed
Port From (https://github.com/TrinityCore/TrinityCore/commit/ef6a5d3c3c010f9ad63a71015a533a3894ab38b9)
2021-12-27 17:10:23 -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 828fafbcc8 Entities/Unit: Nuke Map::ForceRespawn from orbit, with the following implications:
Port From (https://github.com/TrinityCore/TrinityCore/commit/2532de6acb7d73957a8fca44e7fc26160f47cc47)
2021-12-27 16:29:29 -05:00
hondacrx a693bed211 Entities/Creature: Some asserts are now LOG_ERRORs that block spawning. Fix a group spawning bug exposed by the CoS merge. Improve some command output.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2225cb120100da741814dec7515b191cc68f07be)
2021-12-27 15:51:24 -05:00
hondacrx dfcdade81a Core/Vehicle: prevent creature vehicles from following their old movement generator when a player enters them in some cases.
Port From (https://github.com/TrinityCore/TrinityCore/commit/24c07367f109aa19a51defdf77c50d389ed90845)
2021-12-27 15:40:37 -05:00
hondacrx c154984847 Core/Quest: fix icon in gossip window for repeatable, non-autocomplete quests.
Port From (https://github.com/TrinityCore/TrinityCore/commit/004602f3e4ece8ee601c09d869f1531518313c94)
2021-12-27 15:37:55 -05:00
hondacrx dafb8637d9 Core/Entities: Regenerate updatefields
Port From (https://github.com/TrinityCore/TrinityCore/commit/776298207a9522858af7b00ea2f5b0c65bbe049e)
2021-12-27 15:27:41 -05:00