From 57b6ac45c8a0d251d4816026da7bc828d85316c6 Mon Sep 17 00:00:00 2001 From: Karrz1 <127596890+Karrz1@users.noreply.github.com> Date: Sun, 15 Nov 2026 09:26:23 +0000 Subject: [PATCH] Darnassus, Ironforge: the guild vaults face the players The new vaults faced their banker, so players saw their backs. They now face the same way as the banker, toward the players at the counter. --- .../2026_11_15_50_world_forever_darnassus_guild_vault.sql | 5 +++-- .../2026_11_15_52_world_forever_ironforge_guild_vault.sql | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sql/custom/world/2026_11_15_50_world_forever_darnassus_guild_vault.sql b/sql/custom/world/2026_11_15_50_world_forever_darnassus_guild_vault.sql index 3f96f433c0..3746e2302f 100644 --- a/sql/custom/world/2026_11_15_50_world_forever_darnassus_guild_vault.sql +++ b/sql/custom/world/2026_11_15_50_world_forever_darnassus_guild_vault.sql @@ -1,14 +1,15 @@ -- Darnassus: no Guild Vault at the bank (Discord #bug-report "Missing guild bank/vault", 2026-11-14: "After creating a guild, I -- went to the Darnassus bank, but the guild vault appears missing"). The sniffed vaults (2026_10_01_03) stand in Stormwind, -- Undercity, Orgrimmar, Thunder Bluff and Ratchet; Darnassus had none. Fix pack idea from SIN (#team-members 2026-11-14), written --- again here: one vault in the Bank of Darnassus, 2.5 yd in front of the banker Idriana, facing her. +-- again here: one vault in the Bank of Darnassus, 2.5 yd in front of the banker Idriana, facing the same way she does, so +-- its front looks at the players who come to her (as SIN's own pack also has it). -- INFERRED: the place (no sniff of a Darnassus vault) and the look: the Alliance vault of Stormwind (630865, scale 0.66). The -- spot is taken from Idriana's own spawn, so it follows her. Safe to run again. DELETE FROM `gameobject` WHERE `guid` = 838001000; INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`,`ScriptName`,`StringId`,`VerifiedBuild`) SELECT 838001000, 630865, 1, 0, 0, '0', 0, 0, 0, -1, c.`position_x` + 2.5 * COS(c.`orientation`), c.`position_y` + 2.5 * SIN(c.`orientation`), c.`position_z`, - MOD(c.`orientation` + PI(), 2 * PI()), 0, 0, SIN(MOD(c.`orientation` + PI(), 2 * PI()) / 2), COS(MOD(c.`orientation` + PI(), 2 * PI()) / 2), + c.`orientation`, 0, 0, SIN(c.`orientation` / 2), COS(c.`orientation` / 2), 120, 255, 1, '', NULL, 0 FROM `creature` c JOIN `creature_template` t ON t.`entry` = c.`id` WHERE t.`name` = 'Idriana' AND c.`map` = 1 AND c.`position_x` > 9000 diff --git a/sql/custom/world/2026_11_15_52_world_forever_ironforge_guild_vault.sql b/sql/custom/world/2026_11_15_52_world_forever_ironforge_guild_vault.sql index 9c986f08f7..aa6702dc3f 100644 --- a/sql/custom/world/2026_11_15_52_world_forever_ironforge_guild_vault.sql +++ b/sql/custom/world/2026_11_15_52_world_forever_ironforge_guild_vault.sql @@ -1,6 +1,7 @@ -- Ironforge: no Guild Vault at the bank either. Found while checking the Darnassus fix (2026_11_15_50): the dev world has no -- Guild Vault gameobject (type 34) anywhere in Ironforge. Same fix as Darnassus: one vault in the Vault of Ironforge, --- 2.5 yd in front of a banker, facing them. +-- 2.5 yd in front of a banker, facing the same way the banker does, so its +-- front looks at the players who come to the counter. -- INFERRED: the place (no sniff of an Ironforge vault) and the look: the Alliance vault of Stormwind (630865, scale 0.66). -- The banker is the first one (npcflag BANKER) in the Ironforge box of map 0, so the spot follows our own spawn. Nothing is -- added if a vault already stands in Ironforge. Safe to run again. @@ -8,7 +9,7 @@ DELETE FROM `gameobject` WHERE `guid` = 838001001; INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`,`ScriptName`,`StringId`,`VerifiedBuild`) SELECT 838001001, 630865, 0, 0, 0, '0', 0, 0, 0, -1, c.`position_x` + 2.5 * COS(c.`orientation`), c.`position_y` + 2.5 * SIN(c.`orientation`), c.`position_z`, - MOD(c.`orientation` + PI(), 2 * PI()), 0, 0, SIN(MOD(c.`orientation` + PI(), 2 * PI()) / 2), COS(MOD(c.`orientation` + PI(), 2 * PI()) / 2), + c.`orientation`, 0, 0, SIN(c.`orientation` / 2), COS(c.`orientation` / 2), 120, 255, 1, '', NULL, 0 FROM `creature` c JOIN `creature_template` t ON t.`entry` = c.`id` WHERE c.`map` = 0 AND (t.`npcflag` & 131072) <> 0