Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #15  
Old 08-03-2004, 10:37 AM
jimbox114
Hill Giant
 
Join Date: Jun 2004
Posts: 231
Default

Quote:
Originally Posted by Derision
You can ignore the plugin.pl error.

Assuming your zone.exe is in c:\eqemu, your quest file should be in c:\eqemu\quests\freportw, not c:\eqemu\freportw
I had it in the write folder, I just mistyped it in the above post. I went in and made several .pl files for various npc's in various zones. Out of about 7 that I made I got 2 working and 1 partically working. I have double checked there npcid's and they all checkout. The 2 that work are simple scripts that have them say something to you when you hail them, and thats it. The one that somewhat works is a script where you can say something to trigger something else to be said. I can say 1 of the 2 commands and get a response from it. Here is a example:

Example 1 (this one works except when I say god):
sub EVENT_SAY
{
if ($text=~ /Hail/i){quest::say("What do you want from me mortal? Are you here to [test] your strength against me, or do you think your a [God] now? Well speak up, I do not have the time for the likes of you $race now speak up!");}
if ($text=~ /test/i){quest::say("Well if you wish to fight me, draw your blade and strike me. I have slain many adventures who have wandered into my domain, do you honestly think you are any different? Go on, Strike me if that is what you want to do.");}
if ($test=~ /god/i){quest::say("Ha, you have got to be jokeing? Well if you were I guess I could permit you passage to the sacred grounds, but I hardly see any reason for me to do that. Now begone, I don't wish to deal with the likes of you anymore!");}
}

I went back looking for the infamous spaces after a line, and I removed all of them. However removeing them didn't seem to help anything. My Bonechip quest don't work period, it says:

sub EVENT_SAY
{
if ($text=~ /Hail/i){quest::say("Hail there stranger. As you might know I am Fronglo. As a new recruit I recommend hunting around the area of Freeport West here. Maybe you would like to [help] me with something?");}
if ($text=~ /help/i){quest::say("Its just me and my family want to go watch the Match tonight at the Arena here in Freeport. However there is hordes of [morons] over there acting like fools and blocking the enterance. Try as we might we just can't get around them.");}
if ($text=~ /morons/i{quest::say("Yes they come in all shapes and sizes. If you can show me proof of the demise of four of those morons, I would be happy to reward you with a nice piece of armor.");}
}
sub EVENT_ITEM
{
if ($itemcount{1430} == 4){quest::say("WOW! You did it, Praise be to Mar!! - I knew that you wouldn't let me down. Now as promised here is your just reward. And may it serve you well my friend!");
quest::exp(325);
quest::summonitem(68234);}
}

I guess I got everything installed correctly, otherwise none of my quests would work right?
Reply With Quote
 


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 05:17 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