EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Quests (https://www.eqemulator.org/forums/forumdisplay.php?f=624)
-   -   paths? (https://www.eqemulator.org/forums/showthread.php?t=11535)

wize_one 01-24-2004 11:41 AM

paths?
 
i have the dr3 with perl installed..have tried doing a simple hail respond(like in the example)
Quote:

sub EVENT_SAY {
if ($text~= /Hail/) { quest::say(" Why hello there mister!"); }
}
named the file with the NPCID.pl but the mob wont respond to hails..8(

have tried
d:\quests\qeynos2
d:\eqemu\quests\qeynos2
d:\plugins\quests\qeynos2
d:\eqemu

mattmeck 01-24-2004 11:48 AM

Code:

if ($text=~/Hail/) { quest::say("Hail there $name $+ ! How is your day?"); }
Is the proper pearl format, maby this is the issue?

and this should be the proper patch

Quote:

d:\eqemu\quests\qeynos2

mattmeck 01-24-2004 11:51 AM

ok forgot to put the diferences


if ($text=~/Hail/) = pearl example


if ($text~= /Hail/) = yours


notice the = and ~ are reversed

wize_one 01-24-2004 12:33 PM

coolies.. paths are working...now to have some fun..8)

mattmeck 01-24-2004 12:36 PM

:D

that was my very first time looking at pearl format glad i was able to help almost didnt post :lol:

Kroeg 01-26-2004 05:24 AM

What did this have to do with pathing? You simply wanted support on a simple HAIL script.

mattmeck 01-26-2004 05:28 AM

Quote:

have tried
d:\quests\qeynos2
d:\eqemu\quests\qeynos2
d:\plugins\quests\qeynos2
d:\eqemu
He didnt know where to put the quest file.

I happend to find an error in his quest wile I was at it.

wize_one 01-26-2004 05:46 AM

start with a simple hail script and go up from there..8)

Kroeg 01-26-2004 07:19 AM

Actually, starting with a simple hail script is always best.. then maybe adding a 2 item turn-in or something a little more advanced. To get a good perspective of how quests work, a good tool to download would be the "Quest Editor" so graciously written and released by Muuss (thx again man, I still use this and love it).

It takes even beginners and allows them to just click one or two properties and then it creates the script and saves it to where it belongs. Check this post out: http://www.eqemulator.net/forums/vie...8b4785f65a2d8b

Old quest format: :\eqemu\quests\*.qst
Perl quest format: :\eqemu\quests\*.pl

Good luck :)


All times are GMT -4. The time now is 07:19 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.