[NPC/GO] Baron Rivendare - Doors remain closed
http://old.wowhead.com/npc=10440
You enter the room he's in and the doors close and when you kill him and his mobs the doors should open again but do not. End up trapped inside and have to HS, teleport or portal out.
Update: If you go just inside the doors of the room he is in, range attack him, and quickly back up outside the room and up the stairs to the closed outside door and kill him there the doors will open and you can leave as intended. The GO range that detects his death must be too small an area.
2012-04-28 15:10:52 +0200 (b53485e05326+) (Win64, Release) b53485e05326f9ed6562aa78fee282f255eac339 TDB_full_335.11.46_2012_02_13 (+updates)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Yeah, well, since the main entrance is blocked and the back door is probably still permanently locked, you can't exit Stratholme anyway.. but a fix for this would allow you to clear the rest of the instance, I guess.
The service entrance works if you have the key to the city so it is possible to exit that way.
I was able to pull him all the way back to the locked door and kill him next to the closed outside door. Killing him next to the closed outside door opened that door upon his death allowing me to leave. It seems he must be killed close to the locked door to trigger the script to open the door. I doubt this is like official and expect the script needs to be fixed so killing him where he spawns in the room triggers the door opening part of the script.
I confirm that sometimes the door of Baron Rivendare (entry 175796) fails to open after baron Rivendare (entry 10440) is dead.
diff --git a/src/server/scripts/EasternKingdoms/Stratholme/boss_baron_rivendare.cpp b/src/server/scripts/EasternKingdoms/Stratholme/boss_baron_rivendare.cpp
index 8d7d430..237a82c 100644
--- a/src/server/scripts/EasternKingdoms/Stratholme/boss_baron_rivendare.cpp
+++ b/src/server/scripts/EasternKingdoms/Stratholme/boss_baron_rivendare.cpp
@@ -106,7 +106,8 @@ class boss_baron_rivendare : public CreatureScript
void AttackStart(Unit* who) override
{
//can't use entercombat(), boss' dmg aura sets near players in combat, before entering the room's door
- instance->SetData(TYPE_BARON, IN_PROGRESS);
+ if (instance && instance->GetData(TYPE_BARON) == NOT_STARTED)
+ instance->SetData(TYPE_BARON, IN_PROGRESS);
ScriptedAI::AttackStart(who);
}
Should resolve this issue. :ice_cream:
I created a PR with @cr4st changes #15257