Question about Perl Quest Stuff
I do not understand all this Perl Quest stuff... I see a bunch of code that looks and makes sense but then... wtf do I do with it? like this one
Code:
sub EVENT_SAY{ Where exactly would I put that code to make Dr.Phil01 say that? |
Read the quest guide stickied at the top, it tells you. Needs to go in C:\EQEMu\quests\$zonesn where $zonesn is the short name of the zone. Needs to be saved as the NPCID is the NPC you wish to assign the quest to.
|
so if i wanted
King_Phil to say "Greetings" after you hail I would use sub EVENT_SAY{ if($mname =~ /^King_Phil/{ if($text=~/Hail/i){quest::say("Greetings $name.");} } } #your standard default.pl EVENT_SAY behavior } and save that in notepad as what type of file again? then put it in the quests folder? and is $zonesn a folder or...? |
the sticky says
This is for EQEMu 0.5.3+ With Perl Enabled If you do not see the following in zone.exe when you boot it up you do NOT have Perl Enabled ones. [Status] Loading embedded perl [Status] Loading perlemb plugins. how do i enable it ? |
It can't be enable as an option. got to use the binaries with perl enabled (compile it or download).
|
Quote:
Code:
sub EVENT_SAY Quote:
By $zonesn I meant the short name of the zone. To find it out, see the zone names list or use $zonesn in Perl as a variable. |
So...is there a 5.5 version with perl enabled? If not, will there be soon?
|
Quote:
- if you get dr1 snapshot from Shawn's or rc1 snapshot from Khuong's (!yes, i found it) and compile it - if you get compiled binaries where perl has been enabled Can't tell for sure, but can bet Nilar's or Jezebell's win binaries were perl enabled. Better check ... |
Cool, thanks!
|
All times are GMT -4. The time now is 09:39 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.