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
  #1  
Old 06-20-2014, 12:32 AM
sklead's Avatar
sklead
Sarnak
 
Join Date: Jul 2005
Posts: 38
Default A few QUESTions

Okay, sorry for the pun, first of all... so I took a break from EQEmu for a while, but I'm getting my server back up and running. However quests aren't entirely working.

I noticed that the quest folder has some .pl files and some .lua files. When I create a quest and save it as a .pl or .lua file the NPC doesn't respond, period. If I take one of the .pl files already in the folder and rename it to match my NPC it also doesn't work. However if I take one of the .lua files and rename it, it works, but the text within looks a lot different from what I remember, namely like this:

Code:
function event_say(e)
	if(e.message:findi("hail")) then
		e.self:Say("Hail, fellow adventurer. Are you from Qeynos?");
	end
end
Is there a guide about writing quests in this format, or am I doing something wrong doing it the old way? By which I mean this:

Code:
sub EVENT_SAY {
  if ($text=~/hail/i) {
    quest::say("Hello, friend. Beautiful is what I would call such a day normally but lately?");
  }
  if ($text=~/your eyes/i) {
    quest::say("Yes. I cannot see any longer, my sight long since lost in the march of years. By the blessings of Tunare and Karana, though, I still make myself useful.");
  }
}
__________________
In my defens, God me defend
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 02: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