Commit Graph
37587 Commits
Author SHA1 Message Date
Ovahlord 0ff1dd577e DB/Creatures: corrected several movement template flight values for creatures all accross Northrend. No more raining Gargoyles, Frost Wyrms, Birds and other flying things
(cherry picked from commit 8a9f80909387615fb7e22a0f8a042c3ad7a10cfc)
2022-01-04 15:33:04 +01:00
Ovahlord 0c15b2ac7c Core/Objects: fixed destination calculation for destination based spells casted by flying units
* Additionally he PathGenerator will now check for realtime movement flags instead of creature based template data only so scripted flying movement and players will now correctly get their path calculated

(cherry picked from commit fdcb7388a64bf61a691535933a9fbae0504b80cc)
2022-01-04 15:33:04 +01:00
Shauren 98272944ee Core/Commands: Fixed .npc add overwriting existing spawns when used on transports
(cherry picked from commit 75ab3619bdec058dcc848ad134c6d5e838e8f6fb)
2022-01-04 15:33:04 +01:00
Giacomo Pozzoni 9cb01a7904 Fixes/3.3.5 aura infinite loop (#24631)
* Core/Auras: Attempt to fix infinite loop with aura 18950 on map unload

* Core/Auras: Log a detailed error and assert when failing to remove all auras after a few tries

* Code cleanup

* Fix build warnings

* Fix more build warnings

(cherry picked from commit bd2d60c2676a1d7e843a2a5673b8216bad0768c7)
2022-01-04 15:33:04 +01:00
offl 2256735a77 DB/SAI: Black Morass - Infinite mobs
Closes #4613

(cherry picked from commit 8ad0ab362ee3e8ff5563d0ea3383d3d32969d27e)
2022-01-04 15:33:04 +01:00
joshwhedon e95215e9ae Removing a duplicate item combat spell handling causing poisons (and others) to proc twice. (#24627)
https://github.com/TrinityCore/TrinityCore/issues/24608
(cherry picked from commit 4db77bc913a24ce7a14428a2936c836728ba4100)
2022-01-04 15:33:04 +01:00
Giacomo Pozzoni 89afeed41b Core/MMAPs: Adjust walkable climb and fix a lot of mmap raycast issues (#24539)
* Core/MMAPs: Adjust walkable climb

Adjust walkable climb as recast using walkableClimb also to find the poly from a position, giving priority to polys that are below the position but closer than walkableClimb.

* Temporarily disable static collision (the whole check should be removed)

* Core/Spells: removed deprecated mmap path check for TARGET_DEST_CASTER_FRONT_LEAP

* Core/Objects: allow flying units to use the helper as well (flying units casting radius based spells)

* Code refactor

* Handle raycasts that end in a point with no height in the mmap mesh as PATHFIND_NOPATH

* Walk back a bit from raycast hitpoints as sometime the 2D result point is outside of the polygons due to floating point errors.

* Remove whitespace

* Revert 4a197ba22a as a raycast point path should have the Z retrieved with getPolyHeight(). Raycast will only return a 2-point path with Start and Hitpoint/End

* Cleanup PathGenerator raycast case

* Fix PathGenerator raycast broken if start and end are on same poly.
Fix PathGenerator raycast broken if no wall is hit.
Remove unused case of using raycast with an existing previous path (can be added back properly if needed).
Remove forcing poly length to 2 when we actually have already the right number.

* Use closestPointOnPolyBoundary on the second try of finding a point on poly for raycast.
Note that in this case the mesh height is not used which might cause issues. The poly boundary height will be used instead.

* Handle cases where getPolyHeight() fails because the point is on polygon border (and caused by floating point imprecision)

* Add far from poly flags

* Set PATHFIND_INCOMPLETE in raycast case if startFarFromPoly or endFarFromPoly

* Fix blink close to walls with no valid polygon behind the wall

* Require to re-extract mmaps

Co-authored-by: Ovah <[email protected]>
(cherry picked from commit c0b75bf40da8b447a2f3533dabbfad9eba7c6ea1)
2022-01-04 15:33:04 +01:00
HelloKitty 406c7219ad Further improve ChrRace DBC handling (#24508)
* Core/DBC: Added ChrRacesAllianceType for ChrRaces.dbc

* Core/Character: Check ChrRace DBC playable in HandleCharCreateOpcode

* Core/DBC: Implement ChrRacesFlags removing literals

Cannot take credit for this enum, derived from documentation in
https://wowdev.wiki/DB/ChrRaces

* Core/Character: Check CHRRACES_FLAGS_NOT_PLAYABLE on creation

* Core/DBC: Fix formatting of ChrRaces enums

* Core/DBC: Use ChrRaces CreatureType instead of hardcoded humanoid assumption

* Address enum style code changes

(cherry picked from commit 43b595111dce03258c29fd926201660b9d3acb8d)
2022-01-04 15:33:04 +01:00
Shauren 5e37b1cd5d Scripts/Icecrown Citadel: Fixed Professor Putricide oozes not moving during their channel
(cherry picked from commit 1d43003cfa29cee2c7921fdeaa5c1714d085c770)
2022-01-04 15:33:04 +01:00
Metalaka d62886685b Core/CreatureAI: Shambling Horror re-cast Enrage as soon as it is not stun (#24618)
(cherry picked from commit e2434e4f4726f9c99f9260607b78ece09b5df249)
2022-01-04 15:33:04 +01:00
Killyana 6b49c52f0b DB/Gameobject: Shaffar's Stasis Chamber & Mana-Tombs Stasis Chamber
Closes #17328
By @offl and @dr-j

(cherry picked from commit 07842547b4f4ed47295ea6d1754f46e9152274a4)
2022-01-04 15:33:04 +01:00
offl c55e296cfe DB/Loot: Remove remaining herbs and ore with low chance to drop pt 4
Closes #24614

(cherry picked from commit 128684f077ee4fba86178156d6bb17ee34aece8a)
2022-01-04 15:33:04 +01:00
offl 56a6a69975 DB/Creature: Sunblade Protector & Sunblade Scout
Closes #15665

(cherry picked from commit f28d19666a674353cb17f1725cb9a26f4527a29b)
2022-01-04 15:33:04 +01:00
dr-j a85819f549 DB/GameObject: Netherwing Egg Pooling
Closes #24611

(cherry picked from commit e069372de914b2bf7e6d4c14bdafc2a89a7a25a6)
2022-01-04 15:33:04 +01:00
offl edb8e97bd3 DB/Creature: Add formations for some creatures in SWP
Closes #24612

(cherry picked from commit 5fc54f948170ee53780171617632c3d7ea61710c)
2022-01-04 15:33:04 +01:00
ccrs 9fd26c5f09 Core/Movement: 9080e78 followup
actually port back the previous implementation, now correctly
this implies that a unit that has a different victim than the one its chasing will stand still till either:
- a new movement replaces the current, for w/e reason
- the chase target is again the current victim

probably a pause implementation on the generator is a more elegant solution...

updates #24600

(cherry picked from commit 472e1fd8aeea80c6b32253007a204e645f89dc2e)
2022-01-04 15:33:04 +01:00
offl a0538f979a DB/Loot: Add references for rare items from RFK, RFD & Scarlet Monastery
Closes #24597

(cherry picked from commit 874b149923594c71cbd0b49fa8ef8c5e9cd0ea6e)
2022-01-04 15:33:00 +01:00
ModoX 5b38a8101b DB/Quest: Fixed Thirst Unending for priests & dhs
Closes #18411
2022-01-04 01:07:02 +01:00
offl 0485c3f0ba DB/Quest: Gaining the advantage - Nether residue - Add Missing drops
Closes #16536

(cherry picked from commit 16d4a39c7d32e6d269f7926228b0df539722f44e)
2022-01-04 01:02:22 +01:00
offl 63e1c04b4c DB/Loot: Remove more incorrect items from loot
Closes #24596

(cherry picked from commit a64d5c74522b3ed87e2c30f6b3285ea4cd093530)
2022-01-04 00:59:26 +01:00
Jildor 9d27de8b80 DB/Spell: Arm Dead Damage Kologarn
Closes #24577

(cherry picked from commit 91705672181204b8d5f61a1f180b8efa36f57055)
2022-01-04 00:55:07 +01:00
VanDobben 5d0b43cec4 DB/Loot: Fix some loots in The Obsidian Sanctum
Closes #24598

(cherry picked from commit 267e707fe3404788df8316166bd31ab139909fd1)
2022-01-04 00:52:09 +01:00
dr-j dd5dd45caa DB/GameObject: Supply Crate
Closes #23962

(cherry picked from commit 3e1aede6fadd7ed17f099182abb0e1e41383c80c)
2022-01-04 00:50:56 +01:00
offl 148b534eba DB/Loot: Remove remaining herbs and ore with low chance to drop pt 3
Closes  #24591

(cherry picked from commit b518457604a534162508bd4c7a192e995e88ec38)
2022-01-04 00:47:11 +01:00
offl 0faed2df98 DB/Loot: Remove excess items from some creatures
Closes #24589

(cherry picked from commit fc80c41079e7271f230c0942253a04ce40c518e9)
2022-01-04 00:45:26 +01:00
funjoker 0e05dbd3b5 DB/Hotfixes: Update hotfixes to build 41488 2022-01-03 21:02:52 +01:00
Shauren c0f976d23d Core/Spells: Added helper function to select random injured healing spell targets 2022-01-03 13:07:30 +01:00
Shauren 08b5a0586a Core/Util: Added iterator range overload for Trinity::Containers::RandomShuffle 2022-01-03 12:48:40 +01:00
Shauren 3a67e37681 Core/Time: Remove artificially high minimal update intervals 2022-01-03 11:26:23 +01:00
TDB Release 87a85dd9d2 TDB 915.22011 - 2022/01/02 2022-01-02 21:29:31 +00:00
jackpoz 79250cb0df CI/CircleCI: Switch to Ubuntu 20.04 and MySQL 8
(cherry picked from commit e3dfab52a639275ea130d279f4a6fe4312d34b06)
2022-01-02 21:29:32 +01:00
Shauren c981af6b31 Rename sql 2022-01-02 20:44:58 +01:00
Giacomo Pozzoni 528e9959e8 DB: Add drop script compatible with MySQL 8
(cherry picked from commit 7e5c1cf453972e142613ab828b75c8635edf697d)
2022-01-02 19:55:05 +01:00
Sorikoff 74174332c6 Scripts/Pet: Lil' K.T (#24528)
* Lil' K.T.

* Rename 9999_99_99_99_world_335.sql to 2020_05_10_00_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 34fecde022e6e2a228111ee79a0e9f5f8a7bed12)
2022-01-02 19:24:18 +01:00
Shauren d30e4a20e5 Core/Misc: Define and use ChrRacesFlag and CreatureModelDataFlags (ref 772f506a3b426e27ee64b0506aed06219c8d7747) 2022-01-02 19:14:32 +01:00
offl 2d07cf9570 DB/Loot: Add references for Level 70 Darkmoon Cards (5-8) & Books and use them in TK & SSC
Closes #24584

(cherry picked from commit 0b60b482730f03399104b64a69a14598cf137edc)
2022-01-02 18:47:00 +01:00
offl cd11896cf9 DB/Loot: Add some references for Black Temple
Closes #24585

(cherry picked from commit 2ada2cfaea96c535d2996aad50ea14af50db25a7)
2022-01-02 18:46:22 +01:00
offl 804a2b8d14 DB/Loot: Remove remaining herbs and ore with low chance to drop
Closes #24586
Closes #24587

(cherry picked from commit 85e5735c0c464ab7d614e8e390c6f53b075b0cfc)
2022-01-02 18:45:55 +01:00
offl d91f692d87 DB/loot: Fix some Azjol Nerub loots and skinning
Closes #24582

(cherry picked from commit ae9646641f6cdb7624398073ccc086ac3ee5ba72)
2022-01-02 18:44:22 +01:00
Shauren 3a2eb806f8 Misc: Made gdb crash reporting script more automation friendly
* Don't block on successful exit
* Generate timestamped filenames to avoid overwriting old logs

(cherry picked from commit 58d3f17430bb0ab64c9da157bdbc842098d96370)
2022-01-02 16:32:47 +01:00
offl 1e5ccc89b7 DB/Loot: Remove some wrong loots
Ref #18182

(cherry picked from commit 7395eadd3afaa98e7c04e6c573015f015594e309)
2022-01-02 16:32:36 +01:00
offl d6488f985b DB/Loot: Add more items for Crimson Hand Battle Mage
Closes #24576

(cherry picked from commit 63b1c740941e3b6af537b27024b12982064eddfa)
2022-01-02 16:31:43 +01:00
offl 16735c0ec2 DB/Loot: Add reference for TK & SSC recipes
Closes #24575

(cherry picked from commit bda7c385ee09b55068f2930cb1720ac160b862ed)
2022-01-02 16:31:14 +01:00
offl ef1b737f8c DB/Loot: Adjust LootMode & QuestRequired for some gameobjects loot
Closes #24574

(cherry picked from commit bcafbcf68d7b825b82da142a1cf6e61dabce45f4)
2022-01-02 16:30:33 +01:00
offl c5071416aa DB/Loot: Remove more incorrect items from creatures
Closes #24573

(cherry picked from commit e64ed729d7bb17074b9f4fc1de80c726a2ae4903)
2022-01-02 16:29:23 +01:00
Shauren d56d92fbe7 Core/Units: Allow mind controlling non-controllable vehicles (for example players that become vehicle during boss encounters or creatures that only are vehicles to show non standard power type)
Closes #24562

(cherry picked from commit 1fecbc6892b41bfe9d1e474d038c3b1f6e2dd125)
2022-01-02 16:17:18 +01:00
NoName 0aa98a5bc9 Core/Maps: fix respawn times for manual respawns (#24571)
by joshwhedon

(cherry picked from commit 5bbab32793eb66ffb05e88d5dac2bce3de249477)
2022-01-02 13:56:18 +01:00
Killyana 2cb559e4a7 DB/Spawn: Fix some under-map creature and gobs
(cherry picked from commit 4e4a999e49fc7a9d0b55e19bd77fffd59683621a)
2022-01-02 13:55:55 +01:00
offl b067344203 DB/Loot: Remove Motes of Shadow from nearly all demons and fix db errors
Closes #24563

(cherry picked from commit 2384d1d8e4fb667ac6d7103c4cf465a97b21a084)
2022-01-02 13:54:47 +01:00
offl ebcf5a66fd DB/Loot: Restore some incorrectly removed references
Closes #24559

(cherry picked from commit 6df0b7acdbfb83df2ba45355f59c648eae8a4213)
2022-01-02 13:54:16 +01:00