Commit Graph
35901 Commits
Author SHA1 Message Date
Killyana 0ed9429233 DB/GameObject: Stonebreaker Brew
(cherry picked from commit 52460203d231b980cdee74cfe952da2141a884af)
2021-11-21 21:50:35 +01:00
Killyana e8d978f639 DB/Quest: Deactivating the Spire
Closes #22966

(cherry picked from commit 18d07e6c4e9bda7af75f9a71179f19bc8672d345)
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 813cf761fcf8737e50486672be28900c9cf4f36f)
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 518e6299ca08a362bc3709daaaa5e5d5633d1bf1)
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 372de1cafea6a10ba157e3e468ab17809ce5c0a5)
2021-11-21 21:07:45 +01:00
jackpoz d532420d79 Core/Misc: Update 85e3169fbd7b2da70e0f054399f4db64ded36325 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 d05ab073cb102a4f868b0fda51ef4368350ded32)
2021-11-21 20:16:46 +01:00
jackpoz f83601de2f Core/Networking: Set SO_REUSEADDR on *nix platforms
(cherry picked from commit 46f2595f511011d577be0ecee3d9f44c980ddc92)
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 85e3169fbd7b2da70e0f054399f4db64ded36325)
2021-11-21 20:16:03 +01:00
Shauren c28ffca616 Core/Misc: Port style changes from d8819147b023f318c0ca2c42da4d05e4f9551cce 2021-11-21 20:15:35 +01:00
Killyana e6534eb619 DB/Creature: North Fleet Marksman
Closes #22949

(cherry picked from commit 52b0280a81ffe67cf376b50f225236423a39747c)
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 75a987ccf83becd140fb71b75acb0269f9a98323)
2021-11-21 20:04:18 +01:00
ccrs 2218297037 Scripts/ICC: npc_suppresser corrections
closes #22908

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

(cherry picked from commit 519b99ac9a7a1726775a0b1ed98acbc68ef6d8c2)
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 cf5302c8228aa3d63e395d28f5c78a0863733ba6)
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 ec1cfa36f4c286ad8037516460a4e99ea5d7a5ed)
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 6859dfa2d157f0d174004a00a9d047d6eb38f9a1)
2021-11-21 19:51:52 +01:00
Killyana 4c4aad1c4b DB/Gossip: Add missing gossip
(cherry picked from commit d755ef1e8b303d285b82c37f9470b3080f641dd3)
2021-11-21 19:50:00 +01:00
Killyana 102d364382 DB/Gossip: Update gossip menus with the correct entry
(cherry picked from commit a2241a7b920464bdda6e7ff5d26cca853d60242b)
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 d609e515d7f5ab2f250fec409d9fb690f301b906)
2021-11-21 19:32:45 +01:00
Killyana 6711664a59 DB/Creature: Giant Tidecrawler
(cherry picked from commit cf8017f71862c4a59934362e7c0170a15aef2fde)
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 09ac56e3ab66cae2006009f1bd432b6b69536775)
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 954fd2639a5745c8f5165f329f64a143c6ffc5f7)
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 8f9654d8176646c3076482477fc4b91011fb83cc)
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 a8558c4361a7e3560c094886ef3072d46c64de44)
2021-11-21 15:27:39 +01:00
Killyana 0bbe8bf28a DB/Creature: Add missing spawns on The CrystalSpine
(cherry picked from commit 7b40303a488ef3edcee0930aee5171bb3df97688)
2021-11-21 15:27:34 +01:00
Killyana d00bac924b DB/Creature: Abyssal Flamebringer
(cherry picked from commit 7cf7a3fd108d3d36da356c7cac73ea9a8af6adf9)
2021-11-21 15:10:33 +01:00
Killyana f066142f99 DB/Creature: Daggertail Lizard
(cherry picked from commit 5be2cf5ec32cc025bed1d3b63815ee20680ae69a)
2021-11-21 15:09:35 +01:00
Killyana 841776b51e DB/Creature: Wrath Speaker
(cherry picked from commit a05950e43d0e44321066a86ff062a084527ff0e4)
2021-11-21 15:08:11 +01:00
Killyana 3df832e3e2 DB/Creature: Wrath Reaver
(cherry picked from commit 58c6e1374e26b4b760cb041647294f0077b94900)
2021-11-21 15:04:58 +01:00
Shauren ae84dd2a65 Buildsystem: Configure boost to return error messages encoded using utf8 instead of whatever current system code page is on windows
(cherry picked from commit 5b4eefb6d8231db95c4ff9cb4090a27683ff3a48)
2021-11-21 15:03:48 +01:00
Shauren a9018d1609 Core/CLI: Fixed utf-8 console input on windows
(cherry picked from commit 901af6546bed3e707b81c272774c414baaf8dd50)
2021-11-21 15:03:48 +01:00
Killyana 6f958e3868 DB/GameObject: Fel Cannonball Stack
(cherry picked from commit d431ce3bb7ffcd47374a0f00bae6c3c92c359ce3)
2021-11-21 15:03:44 +01:00
Killyana 5f5f0e8eee DB/Creature: Wrath Hound
(cherry picked from commit b98735ab4b6de269a2d00665b28eca46a2f7471c)
2021-11-21 15:01:21 +01:00
Killyana 08288b7d51 DB/Creature: Furnace Guard
(cherry picked from commit 0ddbdee4394fd60f74d5ebe08df9bc839e1c0a32)
2021-11-21 14:57:23 +01:00
Killyana a1c413fa9e DB/Creature: Witness of Doom
(cherry picked from commit 2574aab9ad33ceccfb98667369fca93f3c814190)
2021-11-21 14:56:09 +01:00
Killyana 637dddfc44 DB/Creature: Vile Fire-Soul
(cherry picked from commit 0af0bd4ffd219f8dd99597b1080febc864b1a147)
2021-11-21 14:54:01 +01:00
Killyana d97df4d134 DB/Creature: Legion Flak Cannon
(cherry picked from commit 68f12454eee81f05856eb8b2e7a539d8ac3ecbc3)
2021-11-21 14:51:42 +01:00
Killyana 697f9f9869 DB/Creature: Fear Fiend
(cherry picked from commit 6d9c3d87c564690e6fa67d2e2110d2f103b5c4db)
2021-11-21 14:50:31 +01:00
Killyana c418b956aa DB/Creature: Hemathion
(cherry picked from commit 233259b69da51d42ef9eec0ccba66dccd2a81cbe)
2021-11-21 14:49:18 +01:00
Killyana 33b79cbfed DB/Creature: Fix some spawns on Crystal Spine
(cherry picked from commit 1cb8f7374122ec5efa41608f1fd4f0f7a414cc0b)
2021-11-21 14:45:15 +01:00
Killyana aaed9e8fbd DB/Misc: Fix spawns on Skyguard Outpost and add missing spawns for Simon Game
(cherry picked from commit dc16cf89b7205288f30291a6f62289cf48d14528)
2021-11-21 14:40:45 +01:00
jackpoz e9e3d2d69d Core/Utils: Handle UTF-8 conversion errors
Replace the output string when a UTF-8 conversion error happen with an error message instead of using an empty string, swallowing any message that the caller wanted to log.

(cherry picked from commit bdb7e6e5e81e0d9376c9c803bae9da470b02d8cd)
2021-11-21 14:38:29 +01:00
Killyana d8b76a6e6d DB/Creature: Wrath Corruptor
Thanks to Keader for the spell_script
Original sql by Tobschinski https://github.com/cmangos/tbc-db/commit/c8f1753834ba3dba4c6263346afe29cd363c2431

(cherry picked from commit fb28083b3b2966952b1227f6585b48fcc70dbe7a)
2021-11-21 14:38:17 +01:00
Shauren c2eff8fabc Core/LFG: Ignore LFG cooldown when joining queue to replace missing party member when dungeon is already in progress
(cherry picked from commit 7fb52334b2fea4bdd3a83c6af4dbcc39cacb41a9)
2021-11-21 14:35:00 +01:00
Trond B. Krokli e26b667742 Scripts/Quest: make Wounded Skirmisher reply talk show class & race (#22936)
Quest 12288: Overwhelmed!
- Upon casting the healing quest spell, Wounded Skirmisher (npc_wounded_skirmisher)
  shows $r and $c in their reply talk text because of the missing target argument,
  hence not targeting the player on the quest (or the specific caster, in this case).

Text used by the NPC Wounded Skirmisher:
    0  Ahh.... better.
    1  Whoa - I nearly died there. Thank you, $r!
    2  Thank you, $c.

Solution: add the missing target name, caster, to the Talk() script line.
(cherry picked from commit 95398fadf958d40ba6755a6c2f7b374f0a36b7c7)
2021-11-21 14:34:43 +01:00
Killyana a65c27c07a DB/GameObject: Fel Crystalforge
Fix positions and add missing spawns

(cherry picked from commit 14cf9c3fba7d209f82f2588babd7c80178254017)
2021-11-21 14:34:25 +01:00