Commit Graph

35901 Commits

Author SHA1 Message Date
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
Killyana
841776b51e DB/Creature: Wrath Speaker
(cherry picked from commit a05950e43d)
2021-11-21 15:08:11 +01:00
Killyana
3df832e3e2 DB/Creature: Wrath Reaver
(cherry picked from commit 58c6e1374e)
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 5b4eefb6d8)
2021-11-21 15:03:48 +01:00
Shauren
a9018d1609 Core/CLI: Fixed utf-8 console input on windows
(cherry picked from commit 901af6546b)
2021-11-21 15:03:48 +01:00
Killyana
6f958e3868 DB/GameObject: Fel Cannonball Stack
(cherry picked from commit d431ce3bb7)
2021-11-21 15:03:44 +01:00
Killyana
5f5f0e8eee DB/Creature: Wrath Hound
(cherry picked from commit b98735ab4b)
2021-11-21 15:01:21 +01:00
Killyana
08288b7d51 DB/Creature: Furnace Guard
(cherry picked from commit 0ddbdee439)
2021-11-21 14:57:23 +01:00
Killyana
a1c413fa9e DB/Creature: Witness of Doom
(cherry picked from commit 2574aab9ad)
2021-11-21 14:56:09 +01:00
Killyana
637dddfc44 DB/Creature: Vile Fire-Soul
(cherry picked from commit 0af0bd4ffd)
2021-11-21 14:54:01 +01:00
Killyana
d97df4d134 DB/Creature: Legion Flak Cannon
(cherry picked from commit 68f12454ee)
2021-11-21 14:51:42 +01:00
Killyana
697f9f9869 DB/Creature: Fear Fiend
(cherry picked from commit 6d9c3d87c5)
2021-11-21 14:50:31 +01:00
Killyana
c418b956aa DB/Creature: Hemathion
(cherry picked from commit 233259b69d)
2021-11-21 14:49:18 +01:00
Killyana
33b79cbfed DB/Creature: Fix some spawns on Crystal Spine
(cherry picked from commit 1cb8f73741)
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 dc16cf89b7)
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 bdb7e6e5e8)
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 c8f1753834

(cherry picked from commit fb28083b3b)
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 7fb52334b2)
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 95398fadf9)
2021-11-21 14:34:43 +01:00
Killyana
a65c27c07a DB/GameObject: Fel Crystalforge
Fix positions and add missing spawns

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