View Full Version : baraguj szuul problem
Criimson
08-04-2011, 09:32 AM
Can someone try to run this event.
I have tried 4 times and each time I engage baraguj szuul I get ported to the stomach but the zone crashes immediately.
Script error: qst207028::EVENT_ATTACK - Perl runtime error: client is not of type Client at quests/potorment/Baraguj_Szuul.pl line 7.
IS the error and I don't know enough perl to debug it.
Thank you
Criimson
Congdar
08-04-2011, 09:57 AM
It's likely that a Bot is triggering the EVENT_ATTACK and since a bot is not a client it fails. Try a quick test. Add a check in NPC::Damage() where EVENT_ATTACK is triggered
if(attacked_timer.Check())
{
mlog(COMBAT__HITS, "Triggering EVENT_ATTACK due to attack by %s", other->GetName());
#ifdef BOTS
if(other->IsBot())
parse->EventNPC(EVENT_ATTACK, this, other->CastToBot()->GetBotOwner(), "", 0);
else
#endif //BOTS
parse->EventNPC(EVENT_ATTACK, this, other, "", 0);
}
Criimson
08-04-2011, 10:09 AM
It's likely that a Bot is triggering the EVENT_ATTACK and since a bot is not a client it fails. Try a quick test. Add a check in NPC::Damage() where EVENT_ATTACK is triggered
if(attacked_timer.Check())
{
mlog(COMBAT__HITS, "Triggering EVENT_ATTACK due to attack by %s", other->GetName());
#ifdef BOTS
if(other->IsBot())
parse->EventNPC(EVENT_ATTACK, this, other->CastToBot()->GetBotOwner(), "", 0);
else
#endif //BOTS
parse->EventNPC(EVENT_ATTACK, this, other, "", 0);
}
Thank you
Actually I just removed the check since it looks like no matter what you get ported.
Another thing about this zone I noticed. The Ravager that spawns over first bridge casts mana rend and then I get hit for 11k damage. Unsure why as mana rend isnt a DD. Even tried it on a gm character with the same result. Warrior regular char and bard GM char.
And it isnt a bot triggering or at least it shouldnt be. I had the bots attack and they killed it without triggering event - while I watched against wall.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.