Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 08-04-2011, 09:32 AM
Criimson
Hill Giant
 
Join Date: Sep 2006
Posts: 172
Default baraguj szuul problem

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
Reply With Quote
  #2  
Old 08-04-2011, 09:57 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

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
Code:
	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);
	}
__________________
The Realm

Last edited by Congdar; 08-04-2011 at 10:07 AM..
Reply With Quote
  #3  
Old 08-04-2011, 10:09 AM
Criimson
Hill Giant
 
Join Date: Sep 2006
Posts: 172
Default

Quote:
Originally Posted by Congdar View Post
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:amage() where EVENT_ATTACK is triggered
Code:
	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.

Last edited by Congdar; 08-04-2011 at 10:21 AM..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:09 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3