Scourge War Machines should not be present during quest Drag and Drop
Triage
Original CC issue: https://github.com/chromiecraft/chromiecraft/issues/8715
Reproduction steps:
-
.q a 13323 -
.go c 1977226for quest location
Scourge War Machine: https://wowgaming.altervista.org/aowow/?npc=32154 Probably an incorrect phasemask if I had to guess.
Original issue below
Current Behaviour
In the place of that quest we see different Scourge Wagons. The problem is they are marcked as enemy and attack you once you get closer. The other thing I see is that in live wotlk you dont even see those wagons.
Expected Blizzlike Behaviour
Wagons cannot be seen in live wotlk back in the day, nor in wotlk classic.
Source
https://www.youtube.com/watch?v=YBDu0NbRJRg
Steps to reproduce the problem
- Start quest Drag and Drop
Extra Notes
No response
Customizations
No response
AC rev. hash/commit
https://github.com/chromiecraft/azerothcore-wotlk/commit/c552158e9916f962a647e41b5f9e66efee538803
Operating system
Ubuntu 22.04
Modules
- mod-1v1-arena
- mod-ah-bot
- mod-anticheat
- mod-arena-3v3-solo-queue
- mod-arena-replay
- mod-bg-item-reward
- mod-breaking-news-override
- mod-cfbg
- mod-chat-transmitter
- mod-chromie-xp
- mod-chromiecraft-smartstone
- mod-costumes
- mod-cta-switch
- mod-desertion-warnings
- mod-dmf-switch
- mod-duel-reset
- mod-eluna
- mod-evade-logging
- mod-instanced-worldbosses
- mod-ip-tracker
- mod-low-level-arena
- mod-low-level-rbg
- mod-multi-client-check
- mod-npc-spectator
- mod-progression-system
- mod-pvp-quests
- mod-pvp-titles
- mod-pvpstats-announcer
- mod-queue-list-cache
- mod-rdf-expansion
- mod-transmog
- mod-weekend-xp
- mod-zone-difficulty
- lua-CarbonCopy
- lua-eventScripts
- lua-ExchangeNpc
- lua-LevelUpReward
- lua-RecruitAFriend
- lua-SendAndBind
- lua-TempAnnouncements
- lua-Zonecheck
Server
ChromieCraft
🤖 Analysis by AI Assistant with MCP
Summary
The Scourge War Machine (creature_template entry 32154) spawns at Aldur'thar: The South Gate are incorrectly visible to players during the "Drag and Drop" quest (13323). According to the video evidence provided, these War Machines should not be visible when doing quests in that area. All 17 spawns at Aldur'thar have phaseMask = 1 (default phase) and no visibility conditions, making them visible to all players.
Database Info
Creature Template
-
creature_template entry
32154- "Scourge War Machine"- faction: 21 (Undead, Scourge - hostile)
- AIName: SmartAI
- phaseMask not controlled at template level
Creature Spawns
-
creature table has 41 total spawns of entry 32154:
- 17 spawns at Aldur'thar South Gate (z ≈ 500) - GUIDs 1977224-1977240 (these are the problematic ones)
- 24 spawns in Valley of Lost Hope (z ≈ 300-370) - GUIDs 1977201-1977223, 1977241
- All spawns have
phaseMask = 1(default phase)
Related Quests
| Quest ID | Quest Name | Quest Giver | Uses War Machine |
|---|---|---|---|
| 13323 | Drag and Drop | Thassarian (29799) | ❌ No - takes place at same location |
| 13374 | Amped for Revolt! | Fringe Engineer Tezzla (32430) | ✅ Yes - objective |
| 13376 | Total Ohmage: The Valley of Lost Hope! | Fringe Engineer Tezzla (32430) | ✅ Yes - objective |
| 13381 | Watts My Target | Kibli Killohertz (32444) | ✅ Yes - objective |
| 13382 | Putting the Hertz: The Valley of Lost Hope | Kibli Killohertz (32444) | ✅ Yes - objective |
Conditions Table
- conditions table has no visibility conditions for creature entry 32154 (SourceTypeOrReferenceId = 29)
Source Files
-
ConditionMgr.h - defines
CONDITION_SOURCE_TYPE_CREATURE_VISIBILITY = 29 - Object.cpp:1747 - creature visibility condition check implementation
Wiki References
- https://www.azerothcore.org/wiki/creature - phaseMask field documentation
- https://www.azerothcore.org/wiki/conditions - visibility conditions documentation
- https://www.azerothcore.org/wiki/creature_template - creature template fields
Recommendations
The fix should add visibility conditions to the Scourge War Machines at Aldur'thar (the 17 spawns with z > 480). Options include:
-
Option A (Visibility Condition): Add entries to the
conditionstable usingCONDITION_SOURCE_TYPE_CREATURE_VISIBILITY (29)with a quest-based condition. The War Machines should only be visible when specific quests (like 13374, 13376, 13381, 13382) are taken or in progress. -
Option B (PhaseMask): Update the
phaseMaskfor the 17 spawns at Aldur'thar (GUIDs 1977224-1977240) to use a different phase (e.g., phase 2), and ensure that the gunship quests that require killing War Machines apply the appropriate phase aura. -
Option C (Delete Spawns): If these spawns at Aldur'thar are completely non-blizzlike, they could be removed entirely (17 spawns with GUIDs 1977224-1977240).
Suggested SQL for Option A:
-- Make Scourge War Machines visible only when one of the gunship quests is active
DELETE FROM conditions WHERE SourceTypeOrReferenceId = 29 AND SourceEntry = 32154;
INSERT INTO conditions (SourceTypeOrReferenceId, SourceGroup, SourceEntry, SourceId, ElseGroup, ConditionTypeOrReference, ConditionTarget, ConditionValue1, ConditionValue2, ConditionValue3, NegativeCondition, ErrorType, ErrorTextId, ScriptName, Comment) VALUES
(29, 0, 32154, 0, 0, 9, 0, 13374, 0, 0, 0, 0, 0, '', 'Scourge War Machine - Visible if quest Amped for Revolt! is taken'),
(29, 0, 32154, 0, 1, 9, 0, 13376, 0, 0, 0, 0, 0, '', 'Scourge War Machine - Visible if quest Total Ohmage is taken'),
(29, 0, 32154, 0, 2, 9, 0, 13381, 0, 0, 0, 0, 0, '', 'Scourge War Machine - Visible if quest Watts My Target is taken'),
(29, 0, 32154, 0, 3, 9, 0, 13382, 0, 0, 0, 0, 0, '', 'Scourge War Machine - Visible if quest Putting the Hertz is taken');
Note: This would hide War Machines from ALL players not on these quests. If they should remain visible in the Valley of Lost Hope but hidden at Aldur'thar specifically, a more nuanced solution using spawn GUIDs or area conditions may be needed.
Test Steps
-
.quest add 13323- Add "Drag and Drop" quest -
.go creature id 1977226- Teleport to a Scourge War Machine at Aldur'thar South Gate - Observe that War Machines are visible and hostile (current bug)
- Apply the fix
-
.reload creature- Reload creatures - Verify War Machines are no longer visible without the appropriate quests
-
.quest add 13374- Add "Amped for Revolt!" quest - Verify War Machines become visible when this quest is active
The answer is more likely to be Option B