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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 06-05-2007, 11:44 AM
Budaworm
Fire Beetle
 
Join Date: Oct 2003
Posts: 20
Default

I still get the same problem even with putting a 1; at the end of the file. Here is what im doing for testing, I've made a npc with the quest script:
Code:
sub EVENT_SAY {
    if($text=~/Hail/i) {
        if(plugin::check_hasitem(1001)) {quest::say("Ah i see you have a cloth cap");}
    }
}
When I hail the npc I get this error
Code:
[Status] Script error: qst189031::EVENT_SAY - Perl runtime error: Can't call method "GetItemIDAt" on an undefined value at plugins/check_hasitem.pl line 9.
So I'm guessing I need to send the $client info into the plugin so it can run the command $client->GetItemIDAt(); but I don't know how to do that or is it not possible to do?
Reply With Quote
 

Thread Tools
Display Modes

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 04:01 PM.


 

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