import enhancements and npc spawn sketches

This commit is contained in:
uprightbass360
2025-11-10 01:59:47 -05:00
parent fbf6b23f56
commit 68dc21d5ef
21 changed files with 1351 additions and 24 deletions

View File

@@ -0,0 +1,24 @@
-- Fix Silvermoon Walk of Elders NPCs - Step by step approach
-- Remove old Eye of the Storm Envoys
DELETE FROM creature WHERE guid IN (208304, 208305);
-- Add the two main NPCs first
INSERT INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(208304, 199999, 530, 9513.94, -7302.81, 14.5485, 3.14, 300),
(208305, 601015, 530, 9514.06, -7298.59, 14.5415, 0.0, 300);
-- Add remaining NPCs with new GUIDs
INSERT INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(999911, 601016, 530, 9514.0, -7295.0, 14.5, 4.71, 300),
(999912, 601026, 530, 9518.0, -7297.0, 14.5, 3.93, 300),
(999913, 601072, 530, 9519.0, -7300.5, 14.5, 3.14, 300),
(999914, 190010, 530, 9518.0, -7304.0, 14.5, 2.36, 300),
(999915, 190011, 530, 9514.0, -7306.0, 14.5, 1.57, 300),
(999916, 290011, 530, 9510.0, -7304.0, 14.5, 0.79, 300),
(999917, 300000, 530, 9509.0, -7300.5, 14.5, 0.0, 300),
(999918, 999991, 530, 9510.0, -7297.0, 14.5, 5.50, 300),
(999919, 9000000, 530, 9514.0, -7292.0, 14.5, 4.71, 300),
(999920, 500030, 530, 9522.0, -7300.5, 14.5, 3.14, 300),
(999921, 500031, 530, 9514.0, -7310.0, 14.5, 1.57, 300),
(999922, 500032, 530, 9506.0, -7300.5, 14.5, 0.0, 300);

View File

@@ -0,0 +1,31 @@
-- Replace Eye of the Storm Envoys in Silvermoon Walk of Elders District
-- with Custom NPCs from AzerothCore modules
-- Remove existing Eye of the Storm Envoy spawns in likely Walk of Elders area
-- Based on coordinates, these appear to be in central Silvermoon districts
-- Delete Eye of the Storm Envoys that appear to be in pairs in central areas
DELETE FROM creature WHERE id1 = 22015 AND map = 530 AND
((position_x BETWEEN -1670 AND -1665 AND position_y BETWEEN 5188 AND 5193) OR
(position_x BETWEEN -1870 AND -1865 AND position_y BETWEEN 5144 AND 5150));
-- Add Kaylub (Professions NPC) - First location in central area
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999901, 199999, 0, 0, 530, 3487, 3487, 1, 1, 0, -1668.0, 5190.0, -42.0, 3.14, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Kaylub - Free Professions NPC - Silvermoon Walk of Elders');
-- Add Beauregard Boneglitter (Enchanter) - Second location in central area
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999902, 601015, 0, 0, 530, 3487, 3487, 1, 1, 1, -1866.5, 5146.5, -42.8, 0.0, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Beauregard Boneglitter - Enchanter - Silvermoon Walk of Elders');
-- Alternative: If you want different NPCs, uncomment these and comment out above
-- Add White Fang (BeastMaster) instead of Kaylub
-- INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
-- (999901, 601026, 0, 0, 530, 3487, 3487, 1, 1, 1, -1668.0, 5190.0, -42.0, 3.14, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'White Fang - BeastMaster - Silvermoon Walk of Elders');
-- Add Buffmaster Hasselhoof (Buffer) instead of Beauregard
-- INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
-- (999902, 601016, 0, 0, 530, 3487, 3487, 1, 1, 1, -1866.5, 5146.5, -42.8, 0.0, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Buffmaster Hasselhoof - Buffer - Silvermoon Walk of Elders');
-- Reload creature spawns to apply changes
-- Note: You may need to restart the worldserver or use .reload creature command

View File

@@ -0,0 +1,31 @@
-- Replace Eye of the Storm Envoys in Silvermoon Walk of Elders District
-- Location: Eastern Silvermoon (x:~9514, y:~-7300)
-- GUID: 208304 and 208305
-- Remove the specific Eye of the Storm Envoys at Walk of Elders
DELETE FROM creature WHERE guid IN (208304, 208305);
-- Replace with Kaylub (Free Professions NPC) at first location
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(208304, 199999, 0, 0, 530, 3487, 3431, 1, 1, 0, 9513.94, -7302.81, 14.5485, 3.14, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Kaylub - Free Professions - Silvermoon Walk of Elders');
-- Replace with Beauregard Boneglitter (Enchanter) at second location
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(208305, 601015, 0, 0, 530, 3487, 3431, 1, 1, 1, 9514.06, -7298.59, 14.5415, 0.0, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Beauregard Boneglitter - Enchanter - Silvermoon Walk of Elders');
-- Alternative NPC combinations (uncomment desired option and comment above):
-- Option 2: Professions + Buffer
-- INSERT INTO creature VALUES (208304, 199999, 0, 0, 530, 3487, 3431, 1, 1, 0, 9513.94, -7302.81, 14.5485, 3.14, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Kaylub - Free Professions');
-- INSERT INTO creature VALUES (208305, 601016, 0, 0, 530, 3487, 3431, 1, 1, 1, 9514.06, -7298.59, 14.5415, 0.0, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Buffmaster Hasselhoof - Buffer');
-- Option 3: Enchanter + Transmog
-- INSERT INTO creature VALUES (208304, 601015, 0, 0, 530, 3487, 3431, 1, 1, 1, 9513.94, -7302.81, 14.5485, 3.14, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Beauregard Boneglitter - Enchanter');
-- INSERT INTO creature VALUES (208305, 190011, 0, 0, 530, 3487, 3431, 1, 1, 0, 9514.06, -7298.59, 14.5415, 0.0, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Ethereal Warpweaver - Transmog');
-- Option 4: BeastMaster + Assistant
-- INSERT INTO creature VALUES (208304, 601026, 0, 0, 530, 3487, 3431, 1, 1, 1, 9513.94, -7302.81, 14.5485, 3.14, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'White Fang - BeastMaster');
-- INSERT INTO creature VALUES (208305, 9000000, 0, 0, 530, 3487, 3431, 1, 1, 0, 9514.06, -7298.59, 14.5415, 0.0, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Gabriella - The Assistant');
-- Execute this to apply changes immediately (run in-game):
-- .reload creature

View File

@@ -0,0 +1,52 @@
-- Spawn 11 Custom NPCs in a line in Silvermoon Walk of Elders
-- Center Point: x:9507.111, y:-7301.0264, z:14.117673
-- Line extends 15 units each direction from center (30 units total)
-- 3 unit spacing between each NPC
-- Clear the area first (remove any existing NPCs in this line)
DELETE FROM creature WHERE map = 530 AND position_x BETWEEN 9492 AND 9522 AND position_y BETWEEN -7316 AND -7286;
-- NPC Line Layout (West to East, 11 NPCs total)
-- Position 1: x:9492.111 (center - 15)
INSERT INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(800001, 199999, 530, 9492.111, -7301.0264, 14.117673, 3.060474, 300); -- Kaylub (Professions)
-- Position 2: x:9495.111 (center - 12)
INSERT INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(800002, 290011, 530, 9495.111, -7301.0264, 14.117673, 3.060474, 300); -- Ling (Reagent Banker)
-- Position 3: x:9498.111 (center - 9)
INSERT INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(800003, 300000, 530, 9498.111, -7301.0264, 14.117673, 3.060474, 300); -- Cromi (Instance Reset)
-- Position 4: x:9501.111 (center - 6)
INSERT INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(800004, 601015, 530, 9501.111, -7301.0264, 14.117673, 3.060474, 300); -- Beauregard Boneglitter (Enchanter)
-- Position 5: x:9504.111 (center - 3)
INSERT INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(800005, 601016, 530, 9504.111, -7301.0264, 14.117673, 3.060474, 300); -- Buffmaster Hasselhoof (Buffer)
-- Position 6: x:9507.111 (CENTER POINT)
INSERT INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(800006, 601026, 530, 9507.111, -7301.0264, 14.117673, 3.060474, 300); -- White Fang (BeastMaster)
-- Position 7: x:9510.111 (center + 3)
INSERT INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(800007, 601072, 530, 9510.111, -7301.0264, 14.117673, 3.060474, 300); -- Cet Keres (Polymorphologist)
-- Position 8: x:9513.111 (center + 6)
INSERT INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(800008, 190010, 530, 9513.111, -7301.0264, 14.117673, 3.060474, 300); -- Warpweaver (Transmog)
-- Position 9: x:9516.111 (center + 9)
INSERT INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(800009, 190011, 530, 9516.111, -7301.0264, 14.117673, 3.060474, 300); -- Ethereal Warpweaver (Transmog)
-- Position 10: x:9519.111 (center + 12)
INSERT INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(800010, 999991, 530, 9519.111, -7301.0264, 14.117673, 3.060474, 300); -- Arena Battlemaster 1v1
-- Position 11: x:9522.111 (center + 15)
INSERT INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(800011, 9000000, 530, 9522.111, -7301.0264, 14.117673, 3.060474, 300); -- Gabriella (The Assistant)

View File

@@ -0,0 +1,72 @@
-- Replace Eye of the Storm Envoys and spawn all custom NPCs in Silvermoon Walk of Elders District
-- Base location: x:~9514, y:~-7300, z:~14.5
-- Map: 530 (Outland), Zone: 3487 (Eversong Woods), Area: 3431 (Silvermoon City)
-- Remove the existing Eye of the Storm Envoys (already done, but included for completeness)
DELETE FROM creature WHERE guid IN (208304, 208305);
-- Core Service NPCs (Central placement)
-- Kaylub - Free Professions (replaces first envoy)
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(208304, 199999, 0, 0, 530, 3487, 3431, 1, 1, 0, 9513.94, -7302.81, 14.5485, 3.14, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Kaylub - Free Professions - Walk of Elders');
-- Beauregard Boneglitter - Enchanter (replaces second envoy)
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(208305, 601015, 0, 0, 530, 3487, 3431, 1, 1, 1, 9514.06, -7298.59, 14.5415, 0.0, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Beauregard Boneglitter - Enchanter - Walk of Elders');
-- Enhancement & Utility NPCs (Arranged in a circle around the center)
-- Buffmaster Hasselhoof - Buffer (North)
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999911, 601016, 0, 0, 530, 3487, 3431, 1, 1, 1, 9514.0, -7295.0, 14.5, 4.71, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Buffmaster Hasselhoof - Buffer - Walk of Elders');
-- White Fang - BeastMaster (Northeast)
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999912, 601026, 0, 0, 530, 3487, 3431, 1, 1, 1, 9518.0, -7297.0, 14.5, 3.93, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'White Fang - BeastMaster - Walk of Elders');
-- Cet Keres - Polymorphologist (East)
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999913, 601072, 0, 0, 530, 3487, 3431, 1, 1, 0, 9519.0, -7300.5, 14.5, 3.14, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Cet Keres - Polymorphologist - Walk of Elders');
-- Transmog NPCs (Southeast)
-- Warpweaver - Transmogrifier
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999914, 190010, 0, 0, 530, 3487, 3431, 1, 1, 0, 9518.0, -7304.0, 14.5, 2.36, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Warpweaver - Transmogrifier - Walk of Elders');
-- Ethereal Warpweaver - Transmogrifier (South)
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999915, 190011, 0, 0, 530, 3487, 3431, 1, 1, 0, 9514.0, -7306.0, 14.5, 1.57, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Ethereal Warpweaver - Transmogrifier - Walk of Elders');
-- Utility NPCs (Southwest)
-- Ling - Reagent Banker
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999916, 290011, 0, 0, 530, 3487, 3431, 1, 1, 0, 9510.0, -7304.0, 14.5, 0.79, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Ling - Reagent Banker - Walk of Elders');
-- Cromi - Instance Reset (West)
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999917, 300000, 0, 0, 530, 3487, 3431, 1, 1, 0, 9509.0, -7300.5, 14.5, 0.0, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Cromi - Instance Reset - Walk of Elders');
-- PvP & Arena NPC (Northwest)
-- Arena Battlemaster 1v1
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999918, 999991, 0, 0, 530, 3487, 3431, 1, 1, 0, 9510.0, -7297.0, 14.5, 5.50, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Arena Battlemaster 1v1 - Arena - Walk of Elders');
-- Assistant NPC (Center-North)
-- Gabriella - The Assistant
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999919, 9000000, 0, 0, 530, 3487, 3431, 1, 1, 0, 9514.0, -7292.0, 14.5, 4.71, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Gabriella - The Assistant - Walk of Elders');
-- Guild House NPCs (Outer ring - slightly further from center)
-- Talamortis - Guild House Seller (Far East)
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999920, 500030, 0, 0, 530, 3487, 3431, 1, 1, 0, 9522.0, -7300.5, 14.5, 3.14, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Talamortis - Guild House Seller - Walk of Elders');
-- Xrispins - Guild House Butler (Far South)
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999921, 500031, 0, 0, 530, 3487, 3431, 1, 1, 0, 9514.0, -7310.0, 14.5, 1.57, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Xrispins - Guild House Butler - Walk of Elders');
-- Innkeeper Monica - Guild House Innkeeper (Far West)
INSERT INTO creature (guid, id1, id2, id3, map, zoneId, areaId, spawnMask, phaseMask, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, wander_distance, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags, ScriptName, VerifiedBuild, CreateObject, Comment) VALUES
(999922, 500032, 0, 0, 530, 3487, 3431, 1, 1, 0, 9506.0, -7300.5, 14.5, 0.0, 300, 0, 0, 42750, 0, 0, 0, 0, 0, '', 0, 0, 'Innkeeper Monica - Guild House Innkeeper - Walk of Elders');
-- Reload creatures to apply changes
-- Execute in-game: .reload creature

View File

@@ -0,0 +1,13 @@
-- Simple NPC Line insertion without complex deletes
INSERT IGNORE INTO creature (guid, id1, map, position_x, position_y, position_z, orientation, spawntimesecs) VALUES
(800001, 199999, 530, 9492.111, -7301.0264, 14.117673, 3.060474, 300),
(800002, 290011, 530, 9495.111, -7301.0264, 14.117673, 3.060474, 300),
(800003, 300000, 530, 9498.111, -7301.0264, 14.117673, 3.060474, 300),
(800004, 601015, 530, 9501.111, -7301.0264, 14.117673, 3.060474, 300),
(800005, 601016, 530, 9504.111, -7301.0264, 14.117673, 3.060474, 300),
(800006, 601026, 530, 9507.111, -7301.0264, 14.117673, 3.060474, 300),
(800007, 601072, 530, 9510.111, -7301.0264, 14.117673, 3.060474, 300),
(800008, 190010, 530, 9513.111, -7301.0264, 14.117673, 3.060474, 300),
(800009, 190011, 530, 9516.111, -7301.0264, 14.117673, 3.060474, 300),
(800010, 999991, 530, 9519.111, -7301.0264, 14.117673, 3.060474, 300),
(800011, 9000000, 530, 9522.111, -7301.0264, 14.117673, 3.060474, 300);

222
scripts/admin/spawn-all-npcs.sh Executable file
View File

@@ -0,0 +1,222 @@
#!/bin/bash
# AzerothCore Custom NPC Spawn Script
# Spawns all custom NPCs to recommended locations
#
# Usage: ./spawn-all-npcs.sh [location]
# Locations: stormwind, orgrimmar, dalaran, shattrath, all
#
# Prerequisites:
# - GM access level 1 or higher
# - Server must be running
# - Execute in-game using .server script run or as GM commands
set -euo pipefail
# Color codes for output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
NC='\033[0m' # No Color
# NPC Entry IDs and Names
declare -A NPCS=(
["199999"]="Kaylub|Professions NPC"
["290011"]="Ling|Reagent Banker"
["300000"]="Cromi|Instance Reset"
["500030"]="Talamortis|Guild House Seller"
["500031"]="Xrispins|Guild House Butler"
["500032"]="Monica|Guild House Innkeeper"
["601015"]="Beauregard Boneglitter|Enchanter"
["601016"]="Buffmaster Hasselhoof|Buffer"
["601026"]="White Fang|BeastMaster"
["601072"]="Cet Keres|Polymorphologist"
["190010"]="Warpweaver|Transmogrifier"
["190011"]="Ethereal Warpweaver|Transmogrifier"
["999991"]="Arena Battlemaster 1v1|Arena"
["9000000"]="Gabriella|The Assistant"
)
# Location coordinates (map x y z orientation)
declare -A STORMWIND=(
["199999"]="0 -8829.0 622.5 94.0 3.14" # Kaylub - Trade District
["601015"]="0 -8831.0 618.5 94.0 0.0" # Beauregard - Trade District
["601016"]="0 -8827.0 626.5 94.0 1.57" # Buffmaster - Trade District
["190010"]="0 -8825.0 614.5 94.0 4.71" # Warpweaver - Trade District
["9000000"]="0 -8833.0 630.0 94.0 2.35" # Gabriella - Trade District
)
declare -A ORGRIMMAR=(
["199999"]="1 1633.0 -4439.0 15.4 3.14" # Kaylub - Valley of Strength
["601015"]="1 1629.0 -4443.0 15.4 0.0" # Beauregard - Valley of Strength
["601016"]="1 1637.0 -4435.0 15.4 1.57" # Buffmaster - Valley of Strength
["190011"]="1 1625.0 -4447.0 15.4 4.71" # Ethereal Warpweaver - Valley of Strength
["9000000"]="1 1641.0 -4431.0 15.4 2.35" # Gabriella - Valley of Strength
)
declare -A DALARAN=(
["601072"]="571 5804.0 624.0 647.8 3.14" # Cet Keres - Runeweaver Square
["190010"]="571 5800.0 628.0 647.8 0.0" # Warpweaver - Runeweaver Square
["190011"]="571 5808.0 620.0 647.8 1.57" # Ethereal Warpweaver - Runeweaver Square
["300000"]="571 5796.0 632.0 647.8 4.71" # Cromi - Runeweaver Square
)
declare -A SHATTRATH=(
["999991"]="530 -1838.0 5301.0 -12.4 3.14" # Arena Battlemaster - Lower City
["290011"]="530 -1842.0 5297.0 -12.4 0.0" # Ling - Lower City
)
usage() {
echo -e "${BLUE}AzerothCore Custom NPC Spawn Script${NC}"
echo -e "${YELLOW}Usage: $0 [location]${NC}"
echo ""
echo "Available locations:"
echo " stormwind - Spawn Alliance-focused NPCs in Stormwind"
echo " orgrimmar - Spawn Horde-focused NPCs in Orgrimmar"
echo " dalaran - Spawn magical service NPCs in Dalaran"
echo " shattrath - Spawn specialized NPCs in Shattrath"
echo " all - Spawn all NPCs in their recommended locations"
echo ""
echo "Examples:"
echo " $0 stormwind"
echo " $0 all"
}
generate_commands() {
local location=$1
local commands_file="/tmp/npc_spawn_commands.txt"
> "$commands_file"
case $location in
"stormwind")
echo -e "${GREEN}Generating Stormwind NPC spawn commands...${NC}"
for entry in "${!STORMWIND[@]}"; do
coords="${STORMWIND[$entry]}"
npc_info="${NPCS[$entry]}"
name=$(echo "$npc_info" | cut -d'|' -f1)
title=$(echo "$npc_info" | cut -d'|' -f2)
echo ".go xyz $coords" >> "$commands_file"
echo ".npc add $entry" >> "$commands_file"
echo ".npc set face" >> "$commands_file"
echo "# Spawned $name ($title) at Stormwind Trade District" >> "$commands_file"
echo "" >> "$commands_file"
done
;;
"orgrimmar")
echo -e "${GREEN}Generating Orgrimmar NPC spawn commands...${NC}"
for entry in "${!ORGRIMMAR[@]}"; do
coords="${ORGRIMMAR[$entry]}"
npc_info="${NPCS[$entry]}"
name=$(echo "$npc_info" | cut -d'|' -f1)
title=$(echo "$npc_info" | cut -d'|' -f2)
echo ".go xyz $coords" >> "$commands_file"
echo ".npc add $entry" >> "$commands_file"
echo ".npc set face" >> "$commands_file"
echo "# Spawned $name ($title) at Orgrimmar Valley of Strength" >> "$commands_file"
echo "" >> "$commands_file"
done
;;
"dalaran")
echo -e "${GREEN}Generating Dalaran NPC spawn commands...${NC}"
for entry in "${!DALARAN[@]}"; do
coords="${DALARAN[$entry]}"
npc_info="${NPCS[$entry]}"
name=$(echo "$npc_info" | cut -d'|' -f1)
title=$(echo "$npc_info" | cut -d'|' -f2)
echo ".go xyz $coords" >> "$commands_file"
echo ".npc add $entry" >> "$commands_file"
echo ".npc set face" >> "$commands_file"
echo "# Spawned $name ($title) at Dalaran Runeweaver Square" >> "$commands_file"
echo "" >> "$commands_file"
done
;;
"shattrath")
echo -e "${GREEN}Generating Shattrath NPC spawn commands...${NC}"
for entry in "${!SHATTRATH[@]}"; do
coords="${SHATTRATH[$entry]}"
npc_info="${NPCS[$entry]}"
name=$(echo "$npc_info" | cut -d'|' -f1)
title=$(echo "$npc_info" | cut -d'|' -f2)
echo ".go xyz $coords" >> "$commands_file"
echo ".npc add $entry" >> "$commands_file"
echo ".npc set face" >> "$commands_file"
echo "# Spawned $name ($title) at Shattrath Lower City" >> "$commands_file"
echo "" >> "$commands_file"
done
;;
"all")
echo -e "${GREEN}Generating ALL NPC spawn commands...${NC}"
generate_commands "stormwind"
generate_commands "orgrimmar"
generate_commands "dalaran"
generate_commands "shattrath"
return
;;
*)
echo -e "${RED}Invalid location: $location${NC}"
usage
exit 1
;;
esac
echo -e "${YELLOW}Commands generated in: $commands_file${NC}"
echo ""
echo -e "${BLUE}To execute these commands:${NC}"
echo "1. Copy the commands from $commands_file"
echo "2. Paste them into your GM console in-game"
echo "3. Or use .server script run if available"
echo ""
echo -e "${BLUE}Generated commands for $location:${NC}"
cat "$commands_file"
}
generate_quick_reference() {
echo -e "${BLUE}AzerothCore Custom NPCs Quick Reference${NC}"
echo ""
printf "%-10s %-25s %-20s %-15s\n" "Entry ID" "NPC Name" "Function" "Spawn Command"
echo "--------------------------------------------------------------------------------"
for entry in $(echo "${!NPCS[@]}" | tr ' ' '\n' | sort -n); do
npc_info="${NPCS[$entry]}"
name=$(echo "$npc_info" | cut -d'|' -f1)
title=$(echo "$npc_info" | cut -d'|' -f2)
printf "%-10s %-25s %-20s %-15s\n" "$entry" "$name" "$title" ".npc add $entry"
done
echo ""
echo -e "${YELLOW}Special NPCs requiring specific locations:${NC}"
echo "- Guild House NPCs (500030, 500031, 500032): Only spawn within guild houses"
echo "- White Fang (601026): Recommended in hunter areas like Un'Goro or Winterspring"
echo "- Arena Battlemaster (999991): Best in neutral cities or PvP areas"
echo ""
echo -e "${GREEN}All NPCs are level 80, neutral faction, and deletion-protected${NC}"
}
# Main execution
if [[ $# -eq 0 ]]; then
echo -e "${YELLOW}No location specified. Showing quick reference...${NC}"
echo ""
generate_quick_reference
echo ""
usage
exit 0
fi
case $1 in
"-h"|"--help"|"help")
usage
exit 0
;;
"reference"|"ref"|"list")
generate_quick_reference
exit 0
;;
*)
generate_commands "$1"
;;
esac
echo ""
echo -e "${GREEN}Script completed successfully!${NC}"
echo -e "${BLUE}Remember to save spawned NPCs to database using appropriate GM commands${NC}"