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 02-22-2007, 09:26 AM
Valcrist
Sarnak
 
Join Date: Aug 2006
Location: NJ
Posts: 85
Default Quest error

[Quest] WARNING: error compiling quest file quests/nexus/Master_of_Spells.pl: Pe
rl runtime error: Undefined subroutine &main::eval_file called.
(reverting to default questfile)
[Quest] WARNING: error compiling quest file quests/nexus/Guardian_of_Bristlebane
.pl: Perl runtime error: Undefined subroutine &main::eval_file called.
(reverting to default questfile)

cannot get either NPC quest to load.
one NPC code is
sub EVENT_SAY
{
if($text=~/Hail/i)
{
quest::say("Greetings $name, are you [interested] in getting your starting equip?");
}
if($text=~/interested/i)
{
quest::say("Alright then here you are");
quest::summonitem("000001")
quest::summonitem("000002")
quest::summonitem("000003")
quest::summonitem("000004")
quest::summonitem("000005")
quest::summonitem("000006")
}
}
#END of FILE Zone:nexus ID:189029 -- Guardian_of_Bristlebane

Last edited by Valcrist; 02-22-2007 at 05:52 PM..
Reply With Quote
  #2  
Old 02-22-2007, 09:46 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Don't you need to ";" them?
quest::summonitem("000001");
quest::summonitem("000002");
quest::summonitem("000003");
quest::summonitem("000004");
quest::summonitem("000005");
quest::summonitem("000006");
Reply With Quote
  #3  
Old 02-22-2007, 09:51 AM
Valcrist
Sarnak
 
Join Date: Aug 2006
Location: NJ
Posts: 85
Default

i did that. i still got that error up top. not sure why?
Reply With Quote
  #4  
Old 02-22-2007, 10:33 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

I can't test/fix it now, but will try and figure it out in a few hours (can't right away), if no one else can.
Reply With Quote
  #5  
Old 02-22-2007, 02:48 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Try this;
Code:
sub EVENT_SAY{
if($text=~/Hail/i){
quest::say("Greetings $name, are you [interested] in getting your starting equip?");
}
if($text=~/interested/i){
quest::say("Alright then here you are");
quest::summonitem(000001);
quest::summonitem(000002);
quest::summonitem(000003);
quest::summonitem(000004);
quest::summonitem(000005);
quest::summonitem(000006);
 }
}
#END of FILE Zone:nexus ID:189029 -- Guardian_of_Bristlebane
Reply With Quote
  #6  
Old 02-23-2007, 05:22 AM
Valcrist
Sarnak
 
Join Date: Aug 2006
Location: NJ
Posts: 85
Default

i put that in, still got the runtime error. maybe im missing a file for perl?
Reply With Quote
  #7  
Old 03-05-2007, 07:18 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,475
Default

sub EVENT_SAY {
if ($text=~/hail/i) {
quest::say("Greetings $name, are you [interested] in getting your starting equip?");
}



if ($text=~/interested/i) {
quest::say("Here's your Items");
quest::summonitem("1001");
quest::summonitem("1002");
quest::summonitem("1003");
quest::summonitem("1004");
}


}


Tried this and the quest works. If you get an error, it's likely a perl config/missing file issue

GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
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:03 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3