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.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-26-2004, 06:32 PM
Darkdrizzt
Sarnak
 
Join Date: Nov 2003
Posts: 56
Default PoD Help

I have a Pod .pl file and i get this error in the zone.exe :

WARNING: error compiling quest file quests/nexus/281174.pl: Perl runtime error: syntax error at (eval 28) line 11, near ""Greetings, $name. If you wish to follow the ways of discord, simple tell me you wish to be what we call [pvpon]. To follow the ways of Order and remove yor "PvP"
(reverting to default questfile)


I'm using

# Quest Has Been Created For Bobby's World Server created by -]Bobby]-
# NPC Name :
# ID & Zone : Nexus
# Principal Quest : Greeter
# Secondary Quest : None

sub EVENT_SAY
{
if($text=~/Hail/i)
{
quest::say("Greetings, $name. If you wish to follow the ways of discord, simply tell me you wish to be what we call [pvpon]. To follow the ways of Order and remove your "PvP" tag, simply chant the words, [pvpoff].");
}
if($text=~/pvpon/i)
{
quest::say("Good Choice. Destory the shackles of order, $name!!!");
quest::pvp("on");
}
if($text=~/pvpoff/i)
{
quest::say("While you will regret putting yourself back under Order, I cannot refuse your request.");
quest::pvp("off");
}
}
Reply With Quote
  #2  
Old 07-26-2004, 07:13 PM
Eshmanguls
Fire Beetle
 
Join Date: Mar 2004
Posts: 26
Default Re: PoD Help

Quote:
Originally Posted by Darkdrizzt
remove your "PvP" tag
Remove the quotes around PvP
__________________
Tulkas, the Valiant

::World of Alkora:: An EQEmulator [Custom-Legit] Server
Visit Chat
Reply With Quote
  #3  
Old 07-26-2004, 08:58 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default Re: PoD Help

Quote:
# Quest Has Been Created For Bobby's World Server created by -]Bobby]-

Actually the quest is identical to the one I wrote up on another thread, dont lie

Yeah, Eshmangul has it. remove the quotes and it should work fine.

I quote myself:
Quote:
Here you go.
Code:
sub EVENT_SAY 
{ 
if($text=~/Hail/i){quest::say("Greetings, $name. If you wish to follow the ways of discord, simply tell me you wish to be what we call [pvpon]. To follow the ways of Order and remove your "PvP" tag, simply chant the words, [pvpoff].");} 
if($text=~/pvpon/i){quest::say("Good Choice. Destory the shackles of order, $name!!!");quest::pvp("on");} 
if($text=~/pvpoff/i){quest::say("While you will regret putting yourself back under Order, I cannot refuse your request.");quest::pvp("off");} 
}

Also, this is in a sticky although I redid it to your exact requests, so, next time look around a little =)
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #4  
Old 07-26-2004, 09:23 PM
Darkdrizzt
Sarnak
 
Join Date: Nov 2003
Posts: 56
Default

lol whos lying? im just telling him what i had there
Reply With Quote
  #5  
Old 07-27-2004, 02:07 AM
Dave987
Discordant
 
Join Date: Jun 2003
Location: England
Posts: 267
Default

Instead of using Quotes, you should use the apostrophe sign (') . If you really want to use double quotes, use 2 apostrophes. Sorted!

Dark - you're lying. :P

Quote:
# Quest Has Been Created For Bobby's World Server created by -]Bobby]-

... lol?
__________________
;o)
Reply With Quote
  #6  
Old 07-27-2004, 03:01 AM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

You should be able to put in \" in order to be able to keep the quotations. I'm pretty sure that works in perl.
Reply With Quote
  #7  
Old 07-27-2004, 08:51 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
Originally Posted by animepimp
You should be able to put in \" in order to be able to keep the quotations. I'm pretty sure that works in perl.
Mmm I think I've tried that and it didnt work.. Regardless just remove them entirely its not that important :lol:

Now back to fixing my server...
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
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 06:48 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