Commit Graph
28009 Commits
Author SHA1 Message Date
ccrs 7b21b53ac9 Core/Movement: d033032 followup
now THATS a typo... sorry folks

(cherry picked from commit bc9a9ad7e1226573493e3cb10885365322fdbbbf)
2021-12-18 23:18:16 +01:00
ccrs a59e4da7f5 Core/Movement: d033032 followup
ty jackpoz

(cherry picked from commit 5d056f37c74b652b3a3372d6aa88ac5e183f9d98)
2021-12-18 23:14:40 +01:00
ccrs 50c90728b2 Core/AI: 06443e3 followup
(cherry picked from commit bb9af06cd4ff80f078fcb6ae4871c74a1a174bcc)
2021-12-18 23:13:20 +01:00
ccrs 2f5d97b951 Core/AI: add missing public tag & correct alignment
(cherry picked from commit fe7c2c377288339a2ba95e2bba226b815d79ba55)
2021-12-18 23:10:45 +01:00
ccrs c658ba2fc9 Core/Movement: d033032 followup
ty jackpoz

(cherry picked from commit bc507209a706cddb33a0a14bffc94d4db50ddce6)
2021-12-18 23:03:00 +01:00
ccrs d3ddb3726a Core/AI: 06443e3 followup
cause its not "that" horrible

(cherry picked from commit a71c5f4c7f35b074397abfcc9b925e80720f8c75)
2021-12-18 23:03:00 +01:00
ccrs dfb2221552 Core/Movement: delay movement update in MotionMaster until its owner signals AddToWorld
ref #23199
closes #23876

(cherry picked from commit d033032d33cff5dae76000f8432d78746cda9e06)
2021-12-18 23:03:00 +01:00
Aokromes 7f074efa04 Core/Totem: Change log level of a log
To much spam of people doing quests with totem-like creatures

(cherry picked from commit 69b7958ebcebbf52e95323f4578cfbffe51635d6)
2021-12-18 23:03:00 +01:00
jackpoz 7d63166ff3 Core/GameObject: Fix battleground flags not showing burning animation
Fix battleground flags not displaying the typical burning animation when they "despawn" (they don't actually despawn, they just change state)

(cherry picked from commit 90bb10aa3a490fc701e6f98b32310687af80dea5)
2021-12-18 23:02:49 +01:00
jackpoz d5d04a6c55 Core/Misc: Fix C++17 build errors
(cherry picked from commit 30823f9b79b4ad16f96e90692a900f68a7f63c0a)
2021-12-18 22:51:50 +01:00
ForesterDev 4a47e1c6be Core/Defines: define UNIT_FLAG_SWIMMING (#23630)
(cherry picked from commit c03c88d0c02c5dda9f14dec1ed151ca30a92118e)
2021-12-18 22:50:52 +01:00
Giacomo Pozzoni 3da3683a90 Scripts/Kologarn: Fix "stuck in combat" issues (#23866)
Fix players stuck in combat with NPC_ARM_SWEEP_STALKER and/or both arms after killing the boss.

(cherry picked from commit fed030da190c9c53ad013d3e460ba1afbe1f02a2)
2021-12-18 22:47:49 +01:00
ForesterDev 915d13020a Core/Achievements: fixed bug with counting honorless units for achievement type ACHIEVEMENT_CRITERIA_TYPE_SPECIAL_PVP_KILL (#23844)
* Core/Achievements: fixed bug with counting honorless units for achievement type ACHIEVEMENT_CRITERIA_TYPE_SPECIAL_PVP_KILL

* Remove codestyle changes

* Remove codestyle changes

(cherry picked from commit f4be5446293e9896fe8e1cd9db8dc739af848cae)
2021-12-18 22:47:37 +01:00
jackpoz 7d78ddcbd5 Core/AI: Add new method to force creatures around to stop combat
(cherry picked from commit 06443e38e761ed8ac7ce803c39bbbc7263983479)
2021-12-18 22:46:24 +01:00
Ovah 14c2a7fb92 Core/Taxis: teleport players to the destination taxi node location instead of their current ground position (#23835)
* Core/Taxis: teleport players to the destination taxi node location instead of straight to their current ground position

* fixed a typo

(cherry picked from commit 7fcb77ecd12c42b8a468e8f932948c99c249a458)
2021-12-18 22:45:49 +01:00
Giacomo Pozzoni 4062c9763f Core/LFG: Fix re-queueing while in a dungeon (#23862)
Fix an issue that wouldn't allow to re-queue after joining a dungeon, having 1 member leave/get kicked, queue, leave, queue.
In this case a message "One or more dungeons was not valid" would be displayed because LFG would try to queue the group as "continue dungeon" but the current group was not marked as "in dungeon" state anymore.

(cherry picked from commit abcad7cda5375478f475bb9624c578169e84c559)
2021-12-18 22:43:38 +01:00
jackpoz 6c0412c3d9 Core/LFG: Remove Dungeon Cooldown when getting kicked
(cherry picked from commit ada4e431ae77cf56e6f5e4441b494dd25d6b3fb9)
2021-12-18 22:42:38 +01:00
jackpoz d15b3c48b4 Core/Misc: Fix issues reported by static analysis
Fix issues reported by Coverity Scan

(cherry picked from commit 88317a4ec8a4fae2f914fb699e8fb0fff1da3205)
2021-12-18 22:41:20 +01:00
Keader db03975a57 Scripts/ICC: Fixed some issues with Rotface Oozes (#23845)
(cherry picked from commit a108f2ba61db47d60dc6698ec202dfd0a6574ac4)
2021-12-18 22:40:29 +01:00
Keader e5accfa71a Scripts/ICC: Fixed Death Plague (Frost Giant) (#23847)
(cherry picked from commit 8210b4a53976266f12585a2a4f546b33e25343af)
2021-12-18 22:40:16 +01:00
Keader 03a1b03633 Scripts/Forge of Souls: Fixed spell Soul Sickness (#23843)
(cherry picked from commit 34ee2effc89dc5bb34b4873dbfed6081ea8cb685)
2021-12-18 22:37:30 +01:00
Keader 9abdc4ee3d Scripts/ICC: Fixed Tear Gas not getting removed of Abomination in phase change of PP (#23846)
(cherry picked from commit 16fde1ffad38306f1f21eab6496f4826d6ed3498)
2021-12-18 22:33:47 +01:00
Giacomo Pozzoni 6e1ed95a63 Core/Pet: Fix guardians low damage (#23840)
Fix guardians low damage for unhandled cases in Guardian::InitStatsForLevel()

(cherry picked from commit b3b8ec811daab65d4b94cad950a460240b02390b)
2021-12-18 22:30:38 +01:00
Giacomo Pozzoni 02c2ee9a43 Scripts: Fix crossfaction combat issue (#23818)
* Scripts/PitOfSaron: Fix Martin Victus combat in crossfaction groups

Fix Martin Victus attacking players in crossfaction groups because it was spawned as summon of the boss, triggering DoCombatInZone()

* Scripts/ForgeOfSouls: Fix guards combat in crossfaction groups

Fix Devourer of Souls guardians attacking players in crossfaction groups because they were spawned as summons of the boss, triggering DoCombatInZone()

* Scripts/Misc: Fix no PCH build

(cherry picked from commit ef694cc251844d34a64ae03f79d28a5c76719f6b)
2021-12-18 22:27:40 +01:00
Ovah 0910843538 Core/Movement: fixed taxi pathings getting finalized earlier than intended (#23830)
* Core/Movement: fixed taxi pathings getting finalized earlier than intended

Since we handle the intial starting point of a spline properly now the update logic was still expecting the old handling which resulted in incrementing the current node index earlier than intended

* apply a missing change

(cherry picked from commit c1e3d79a4fb5b7b1a9bca36ecd16b9bb902ced92)
2021-12-18 22:27:20 +01:00
Giacomo Pozzoni 157eca58d7 Core/Misc: Fix static analysis issues
Fix static analysis issues reported by Coverity

(cherry picked from commit ca8953a0ec8356345147b2bbc7bbdf0fa97cd625)
2021-12-18 22:26:58 +01:00
Keader 5d2b37634b Scripts/Tempest Keep: Fixed a typo in Nethermancer Sepethrea
Closes #23828
Ty Rizztazz

(cherry picked from commit 746a1d89b34984f31ab66ef00e93a648dc42af5d)
2021-12-18 22:24:21 +01:00
Giacomo Pozzoni c886e87991 Core/Misc: Fix static analysis issue
Fix static analysis issue

(cherry picked from commit ed087546635331e4cff4e97772a9f9978f4b1833)
2021-12-18 22:24:09 +01:00
tarwyn 474d903d79 Fix inconsistent NPC aggro on spell miss (#23816)
(cherry picked from commit c8dc9fdc418d9703893e21603b7593b015f08fea)
2021-12-18 22:23:00 +01:00
Ovah f4ae34c5c9 Core/Movement: provide an extra spline path vertex for taxi pathings … (#23817)
* Core/Movement: provide an extra spline path vertex for taxi pathings so the first path point wont get lost.

* Update FlightPathMovementGenerator.cpp

(cherry picked from commit cf3277c641bd877b9fa1939da5da7cde1778561b)
2021-12-18 22:21:57 +01:00
Killyana f6e176b7d7 Instance/Script: Gorkun Ironskull & Martin Victus
(cherry picked from commit 8e3862cfbd9ee677866fbbee60c3b96ee3f4868a)
2021-12-18 22:21:41 +01:00
jackpoz 044cb4ff34 Core/Map: Move a log from ERROR to WARN
Move "Could not load MMAP" log from ERROR to WARN as 99% of times is a false positive

(cherry picked from commit 42ab6010f862e530517e2acd347ef6230bcf1c3b)
2021-12-18 22:21:01 +01:00
Gildor 6c239a8612 Scripts/Icecrown Citadel: Remove duplicated Spell enum (#23810)
(cherry picked from commit a392216d209c6c4184581eca58e014c8babe24e1)
2021-12-18 22:19:35 +01:00
Giacomo Pozzoni 562c567b1e Core/Calendar: Add some additional validation when creating events (#23797)
* Core/Calendar: Add some additional validation when creating events

Allow only 30 player events and 100 guild events to be created.
Don't allow to create guild events if player is not in guild.
Send some more error messages to the client (not blizzlike errors but better than nothing).

* Core/Calendar: Add some additional validation/checks

Add guild id check in GetPlayerEvents().
Change error message in HandleCalendarCopyEvent() to be the same as in HandleCalendarAddEvent() when creating an event in the past.

* Core/Calendar: Add some additional validation/checks

Reduce the number of CMSG_CALENDAR_ADD_EVENT packets a seconds allowed from 10 to 3.

* Core/Calendar: Add some additional validation/checks

Implement 5 seconds cooldown between the creation of calendar events

* Core/Calendar: Add some additional validation/checks

Don't allow to copy events of a different player/guild

* Core/Calendar: Implement automatic deletion of old events

Implement automatic deletion of events older than 1 month (30 days).
Fix debug assertion triggered when deleting a character with calendar events.
Avoid double std::set lookup when deleting events when deleting a character.

NB: The whole CalendarMgr/CalendarHandler code should be checked line by line for bugs/crashes/exploits.
(cherry picked from commit fb059722fdb18a94d47b3f44a5b2d7f183bf5a29)
2021-12-18 22:19:05 +01:00
Kelno 368d99787c Core/Commands: Fixed wrong permissions for .lookup map commands (#23800)
(cherry picked from commit 6fc7ab3448850199835f9ee9dca6991b511eba09)
2021-12-18 22:19:05 +01:00
jackpoz f012d4b7fc Core/Movement: Fix LoS issue of NPCs chasing targets
Add Line of Sight checks to ChaseMovementGenerator::Update(), fixing to ChaseMovementGenerator not reaching a point with valid LoS to the target.

Fix re-implements 8927a04253 after 2a84562dc85516f432bb1e5de9add23c28b26ce4 partially removed it.

Fix #23724

(cherry picked from commit 215a6cee24896f2def2a5af390c089ac1d947e65)
2021-12-18 22:19:03 +01:00
jackpoz 50df50930d Core/MovementGenerator: 680e1cbd6cf7c52abe104fb87d8fa6dba83fb633 follow-up
(cherry picked from commit 7c0b31b8b52903ec233ad863597965594196a8e8)
2021-12-18 21:51:58 +01:00
jackpoz 2eea34fb47 Core/MovementGenerator: Fix crash in taxi paths
Fix a crash in taxi paths happening when joining a battleground/dungeon while on a taxi path after second last node but close to last node, then leaving/finishing the battleground.

(cherry picked from commit 680e1cbd6cf7c52abe104fb87d8fa6dba83fb633)
2021-12-18 21:47:11 +01:00
Gildor cc0940fe25 Core/Misc: Fix parry-haste mechanic. (#23773)
* Should check victim that do a parry instead of the unit that deal the damage (Wrong implementation of this commit: 4a46fee03ef204289bbd96e8e1e07117b3bebd9f )

Closes #23754

(cherry picked from commit f8d7b260476c69e09ab0329cb7cd6c277f5473a7)
2021-12-18 21:45:45 +01:00
Artamedes 4e487c35a7 Scripts/Pet: Fix npc_pet_gen_soul_trader not following owner (#23772)
(cherry picked from commit 8ecc45cd1aac1c33c8b4cb2f269ac24d728570cc)
2021-12-18 21:45:25 +01:00
Artamedes e3cb89c168 Scripts/PitOfSaron: Make sure ick stops moving when casting Explosive Barrage (#23768)
(cherry picked from commit 88e74ac3855ebd5ba818c3b12899337829ce2999)
2021-12-18 21:45:15 +01:00
Artamedes a2e792f0bc Scripts/PitOfSaron: Fix Krick sometimes stuck in combat after finish kill Ick (#23767)
(cherry picked from commit a17c83bde84a9f54ad5702f40ff9dd8b54e0afe0)
2021-12-18 21:45:06 +01:00
Artamedes 8fbaab7337 Scripts/Ulduar: Fix Stormcaller Brundir walking into walls (#23755)
* Scripts/Ulduar: Fix Stormcaller Brundir walking into walls

* Cleanup and fix logic + review

* Review: remove autos

(cherry picked from commit 876a8487301088fec1580e7c9ef6bf98783d9d7d)
2021-12-18 21:44:43 +01:00
Artamedes 0b43b43566 Scripts/ScarletMonastery: Rewrite Mograine and Whitemane encounter (#23761)
* Scripts/ScarletMonastery: Rewrite Mograine and Whitemane encounter

* qq

* qq 2

* tryfix circleci build

* review suggestions

(cherry picked from commit 832c95fa4f3bb8897481b0c65975b14674bbf7ee)
2021-12-18 21:41:10 +01:00
Artamedes e4607725dd Scripts/Outland: Change auto to TempSummon* (#23764)
(cherry picked from commit 1b095811b82e7bf390e3a3e522e768fc2b42d2b0)
2021-12-18 21:37:15 +01:00
Artamedes 913f0903a3 Scripts/Outland: Fix npc_ancestral_wolf not starting waypoint (#23763)
* Scripts/Outlands: Fix npc_ancestral_wolf not starting waypoint, and also add a way to not follow owner automatically in CreatureAI::JustAppeared() for tempsummons

* fix nopch

(cherry picked from commit 0b3a9e2a2b2537e7224d103947ad6028c6d2e5fe)
2021-12-18 21:37:02 +01:00
Artamedes 00ba5df52b Core/Handlers: Handle CMSG_REQUEST_PET_INFO - this fixes when you /reload and the pet bar disappears (#23762)
(cherry picked from commit 6ebe1afeeccb847702c12e522bddaa7b5694dc38)
2021-12-18 21:35:41 +01:00
jackpoz 18d1f0c964 Core/Creature: Fix another pet assert
Fix an assert triggered when dismissing a Warlock pet while it's casting a spell

(cherry picked from commit 4074cb0f01d106c69546c3cb944d6fcf92ade456)
2021-12-18 21:32:51 +01:00
Treeston 0bffed380d Scripts/ICC: Professor Putricide no longer tries to add threat on units it cannot add threat on because of immunity flags. Instead, its AI manually controls the engagement state. Should close #23727.
(cherry picked from commit 23fd193e4e489bb5f231653987e98ba24448832b)
2021-12-18 21:31:31 +01:00
AlιAѕѕaѕѕιN e1598fa1d6 [3.3.5] Fix spell_area not checking for zoneID for quests (#23719)
* Fix spell_area not checking for zoneID for quests

* Addendum to bdffe0a4a641414fe26c9b75b00f8e70ff0f1cb8

* Fix spell_area handle same spell with the same quests

Also fix not checking for quest_end at all.

* Addendum to 2d6b0545e3762b3a25005726d4093cf4a7945a8d

* Better commenting for 7a50189de3104f000d8b31fa6c415bb69cf1a3e7

* Addendum to 2d6b0545e3762b3a25005726d4093cf4a7945a8d

(cherry picked from commit 92d83c3c2eaba3f5b58dc98472318872f3a54706)
2021-12-18 21:31:17 +01:00