Commit Graph

39720 Commits

Author SHA1 Message Date
Keader cfd0e18b81 Core/Misc: Fixed shaman elementals and magister terrace first boss access
(cherry picked from commit 6545cd33b9)
2021-11-23 00:39:59 +01:00
Keader 4a943fd3d2 Scripts/Utgarde Keep: Fix Ingvar Evading (again)
UNIT_FLAG_NON_ATTACKABLE makes ingvar become a invalid target and lose threatlist, so me->IsThreatened() will return false.
We dont need it at all, since UpdateAI will handle evade already.

(cherry picked from commit 71dde16ce9)
2021-11-23 00:39:17 +01:00
Keader 5c48cac6f9 Scripts/Temple of Ahn Qiraj: Scripted doors of AQ40
Doors added in https://github.com/TrinityCore/TrinityCore/commit/1ba09572b5a49d5cd247cdca47109d3325ec12f3

(cherry picked from commit 06078e30c6)
2021-11-23 00:39:17 +01:00
Ovah 3027458338 Scripts/Magister Terrace: Update InstanceScript and more fixes
Cherrypicked of https://github.com/Ovahlord/TrinityCore/commits/4.3.4

(cherry picked from commit 1b346485e4)
2021-11-23 00:39:13 +01:00
Ovah 3847d7b277 Scripts/Magister Terrace: Felblood Kaelthas rewrite
Cherrypick of https://github.com/Ovahlord/TrinityCore/commit/ae440400aaf90de11cf92010839ab98a8403c003

(cherry picked from commit 00958c9178)
2021-11-23 00:21:42 +01:00
Keader 4af2894626 Scripts/Black Temple: Mother Shahraz fatal attraction need be random
Higher distance showed in my sniffs is 48 yards (rounding 50 yards). If someone find more then that, please let me know.
Ty killerwife

(cherry picked from commit fd69c133b1)
2021-11-22 23:57:54 +01:00
Keader c3210798f0 Scripts/Black Temple: Fixed some issues in Illidari Council
Ty killerwife for all help :)

(cherry picked from commit ef6240312c)
2021-11-22 23:57:19 +01:00
jackpoz 3f4bedd803 Tools/MMaps: Allow to specify different Recast settings for different maps
Allow to specify different Recast settings for different maps, currently handled in GetMapSpecificConfig() as a switch statement.
Set walkableRadius to 0 in Blade's Edge Arena (Map ID 562) so the pets can walk on the thin rope between the bridge and the pillar.

(cherry picked from commit e4658a1307)
2021-11-22 23:54:43 +01:00
Shauren 7b11d17f49 Core/Players: Load faction change items from db2 instead of db 2021-11-22 23:54:14 +01:00
Killyana f5ab650f9c DB/Quest: Remove deprecated mount quests
(cherry picked from commit 75c553fe59)
2021-11-22 23:25:08 +01:00
Killyana 2f2c7275f9 DB: Fix WrathGate spell area and npcs reaction
Closes #20772

(cherry picked from commit 342e009c3e)
2021-11-22 23:22:50 +01:00
Killyana e73cca8e79 DB/Creature: Scholomance Occultist
(cherry picked from commit 1972760a86)
2021-11-22 23:16:34 +01:00
Shauren 630adfec22 Core/Phasing: Fixed inverse phaseshift logic 2021-11-22 22:39:16 +01:00
jackpoz cb8b637061 Dep/Recast: Update recastnavigation to https://github.com/recastnavigation/recastnavigation/commit/14b2631527c4792e95b2c78ebfa8ac4cd3413363
Rebuilding mmaps IS required

(cherry picked from commit 5ff88ea04a)
2021-11-22 00:17:11 +01:00
Killyana b6c9ebec71 DB/Creature: Update visibility distance for difficulty entry
(cherry picked from commit 03b4b8bdab)
2021-11-22 00:12:38 +01:00
Killyana 9d99eae86c DB/Quest: The Sun Gate
Closes #22977

(cherry picked from commit 717e050edb)
2021-11-21 22:51:35 +01:00
Killyana 403e15c5cc DB/Quest: Alien Egg
Closes #22668

(cherry picked from commit 71fd5f19dc)
2021-11-21 22:43:18 +01:00
Killyana 1684ac4558 DB/Spell: Fix some dbc spells
(cherry picked from commit c62b38e562)
2021-11-21 22:29:19 +01:00
Killyana d4e59baff0 DB/Quest: The Final Code (horde version)
(cherry picked from commit af46f3fd4c)
2021-11-21 22:07:17 +01:00
Killyana 0ed9429233 DB/GameObject: Stonebreaker Brew
(cherry picked from commit 52460203d2)
2021-11-21 21:50:35 +01:00
Killyana e8d978f639 DB/Quest: Deactivating the Spire
Closes #22966

(cherry picked from commit 18d07e6c4e)
2021-11-21 21:44:36 +01:00
jackpoz 3acb420444 Core/MapScripts: Allow GameObjects to be caster of SCRIPT_COMMAND_CAST_SPELL
(cherry picked from commit 813cf761fc)
2021-11-21 21:10:10 +01:00
jackpoz 36468203dd Core/Spells: Fix assert triggered
Fix assert triggered when a spell would trigger another spell in OnEffectHitTarget that would kill the target, then processing the main spell effects. The triggered spell can kill the target, changing its death state to CORPSE and removing auras created.
Fix #22306

(cherry picked from commit 518e6299ca)
2021-11-21 21:09:36 +01:00
Kittnz bdcec63b61 DB/Creature: Fix visibility for every creature
A lot of creatures didn't have an entry in creature_template_addon

(cherry picked from commit 372de1cafe)
2021-11-21 21:07:45 +01:00
jackpoz d532420d79 Core/Misc: Update 85e3169fbd about SOAP
Change again how SOAP is stopped if SOAP successfully binds but worldserver fails to bind its sockets.
A crash remains if SOAP fails to bind because it calls exit() and that triggers asserts everywhere.

(cherry picked from commit d05ab073cb)
2021-11-21 20:16:46 +01:00
jackpoz f83601de2f Core/Networking: Set SO_REUSEADDR on *nix platforms
(cherry picked from commit 46f2595f51)
2021-11-21 20:16:26 +01:00
jackpoz 05210c2a34 Core/Misc: Fix shutdown with SOAP enabled
Fix worldserver entering a loop when having SOAP enabled but failing to bind both SOAP and worldserver listened socket. SOAP thread would keep trying to bind the socket over and over checking World::IsStopped() condition that was never set to true

(cherry picked from commit 85e3169fbd)
2021-11-21 20:16:03 +01:00
Shauren c28ffca616 Core/Misc: Port style changes from d8819147b0 2021-11-21 20:15:35 +01:00
Killyana e6534eb619 DB/Creature: North Fleet Marksman
Closes #22949

(cherry picked from commit 52b0280a81)
2021-11-21 20:05:41 +01:00
Killyana 77ca7393ca DB/Quest: Meet Lieutenant Icehammer...
Closes #22951
Thanks to Sorikoff for the initial script

(cherry picked from commit 75a987ccf8)
2021-11-21 20:04:18 +01:00
ccrs 2218297037 Scripts/ICC: npc_suppresser corrections
closes #22908

(cherry picked from commit c5423fa474)
2021-11-21 20:02:01 +01:00
Shauren f2688f3abe Remove whitespace (63ea6a50e8) 2021-11-21 20:01:49 +01:00
Killyana e5a3bba3e7 DB/Gossip: Shayis Steelfury
(cherry picked from commit 583eba3688)
2021-11-21 19:59:09 +01:00
Killyana 0174382242 DB/SAI: Warlord Zol'Maz
Ref #20246

(cherry picked from commit 519b99ac9a)
2021-11-21 19:55:02 +01:00
Killyana 64ad0f60fe DB/Creature: Re-script for Valis Windchaser, Rugan Steelbelly and Jeran Lockwood
(cherry picked from commit cf5302c822)
2021-11-21 19:54:10 +01:00
Shauren dcd69240b6 Core/Commands: Fixed creature/gameobject move commands not updating which cell they belong to
Closes #22720

(cherry picked from commit ec1cfa36f4)
2021-11-21 19:52:26 +01:00
Giacomo Pozzoni b1b5a6a591 Core/Quest: Fix crash in GetQuestDialogStatus()
Fix possible NULL dereference in GetQuestDialogStatus()
Fixes #22516

(cherry picked from commit 6859dfa2d1)
2021-11-21 19:51:52 +01:00
Killyana 4c4aad1c4b DB/Gossip: Add missing gossip
(cherry picked from commit d755ef1e8b)
2021-11-21 19:50:00 +01:00
Killyana 102d364382 DB/Gossip: Update gossip menus with the correct entry
(cherry picked from commit a2241a7b92)
2021-11-21 19:48:33 +01:00
Killyana f497534b15 DB/Creature: Update Lord Victor Nefarius gossips with the correct entry
Closes #22946
2021-11-21 19:45:48 +01:00
Killyana 8d6eda6ba7 DB/Loot: Fix loots for Kim'jael's Equipment
Closes #22809

(cherry picked from commit d609e515d7)
2021-11-21 19:32:45 +01:00
Killyana 6711664a59 DB/Creature: Giant Tidecrawler
(cherry picked from commit cf8017f718)
2021-11-21 19:31:28 +01:00
Sorikoff 8deac0d39c DB/SAI: North Fleet Sailor, Vengeance Bringer, North Fleet Medic, Winterskorn Scout
Closes #22941
Closes  #22943
Closes #22944
Closes #22947

(cherry picked from commit 09ac56e3ab)
2021-11-21 19:29:22 +01:00
ccrs a8ec1ba9bc Core/Unit: rename & cleanup GetCreatePowers
it hurted my eyes too much

(cherry picked from commit 954fd2639a)
2021-11-21 19:28:17 +01:00
Shauren de8e1a4820 Core/Units: Fixed crash with charm/possess
Closes #27168
Closes #27247
2021-11-21 18:49:55 +01:00
Giacomo Pozzoni ed88435494 3.3.5 UnitAI (#22911)
* Core/AI: Revamp how UnitAI changes are applied

Revamp how UnitAI changes are applied by storing current AI in a variable and all previous AIs plus current in a stack.
The callers can push/pop AIs on the stack that will take effect only in next Unit::Update() call.
The current AI will be a valid object for the whole duration of Unit::Update() and until next Unit::Update() call.

* Core/AI: Apply new AI change code

* Core/AI: Fix build

* Core/AI: Fix crash on Creature::AIM_Create()

* Core/AI: Fix crash

* Core/AI: Restore ASSERT

* Core/AI: Fix UnitAI not being popped properly when restoring a charmed AI

(cherry picked from commit 8f9654d817)
2021-11-21 15:36:57 +01:00
Trond B. Krokli 159e6521cc Scripts/Borean Tundra: Corastrasza gossip menu improvements (#22942)
- split the quest status check, the quest gossips are different
- remove old hardcoded text (deprecated method)
- enumerate already existing DB gossip menu option items

(cherry picked from commit a8558c4361)
2021-11-21 15:27:39 +01:00
Killyana 0bbe8bf28a DB/Creature: Add missing spawns on The CrystalSpine
(cherry picked from commit 7b40303a48)
2021-11-21 15:27:34 +01:00
Killyana d00bac924b DB/Creature: Abyssal Flamebringer
(cherry picked from commit 7cf7a3fd10)
2021-11-21 15:10:33 +01:00
Killyana f066142f99 DB/Creature: Daggertail Lizard
(cherry picked from commit 5be2cf5ec3)
2021-11-21 15:09:35 +01:00