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 05-16-2009, 08:30 AM
BWStripes
Sarnak
 
Join Date: Jun 2007
Location: Finland
Posts: 65
Default Wierdness using quest::depop in EVENT_SPAWN

Trying to code around the "lockout" in the coirnav event left an interesting error.
The Guardian_of_Coirnav should spawn when the event is ready. No problem, really. One method, if the event isn't ready, then depop the trigger mob. A simple global check, I thought:

Code:
sub EVENT_SPAWN {
    if($qglobals{coirnav_done} == 3) { #Coirnav has a lockout, I'm outta here.
        quest::depop();
    }
}
I set the Guardian to a 25 minute spawn just for testing purposes. I completed the event, left the zone booted for a while, and came back to this:

http://www.imagebucket.net/bucket/is...uardianWTF.jpg

Basically the extras were targettable on the client, but using either #depop or #kill on them resulted in "No target" Errors. When you used #listnpcs Guardian_of it only showed ONE guardian spawned (as highlighted).

Okay, not the best move to do it inside the EVENT_SPAWN block, so I changed the depop method it uses. Lesson learned, but still strange. I'm left wondering why depop causes this "ghost" to appear on the client when inside a EVENT_SPAWN block.
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 07:39 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3