Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2006, 03:12 PM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default CVS has a problem or....

I don't know if this is the way the files are actually in CVS or if it's a bug with WinCVS, but here is an example of one of them. I only removed the spaces between the code, otherwise it's just as I have received it, 2 times....
Code:
# EPIC CLERIC (Timorous deep)

EVENT_ITEM {
  if (plugin::check_handin(\%itemcount,28023=>1)) { # Orb of the triumvirate
    #quest::say("[im not mute but really shy, what should i say ?]");
    quest::summonitem(5532); # Water Sprinkler of Nem Ankh
    quest::depop();
    quest::exp(200000);
    quest::ding();
  }
  plugin::return_items(\%itemcount); # return unused items
}
#End of File, Zone:timorous  NPC:96086 -- Avatar of Water
Here's what it should be (additions in red)

Code:
# EPIC CLERIC (Timorous deep)

 sub EVENT_ITEM {
  if (plugin::check_handin(\%itemcount,28023=>1)) { # Orb of the triumvirate
    #quest::say("[im not mute but really shy, what should i say ?]");
    quest::summonitem(5532); # Water Sprinkler of Nem Ankh
    quest::depop();
    quest::exp(200000);
    quest::ding();
  }
else{
  plugin::return_items(\%itemcount); # return unused items
 }
}
#End of File, Zone:timorous  NPC:96086 -- Avatar of Water
I haven't dug deep into this yet, but I have found 3 files like this only because there 3 of the files I just submitted in my Druid/Ranger & Cleric Epic Quest files, so I am currently very familiar with how those quests work.

Can anyone verify, even these 3 files...
1. Avatar_of_water.pl in timorous
2. Shmendrik_lavawalker.pl in lakerathe
3. Natasha_whitewater.pl in lakerathe

Also, check out check_handin.pl in the plugin folder. It also looks hosed.
Reply With Quote
  #2  
Old 09-03-2006, 03:29 PM
ylosh
Sarnak
 
Join Date: Jan 2006
Posts: 39
Default

added the sub to event item in avatar of water .pl file. should sync up in a little.

the return items plugin doesen't need to go in an else statement.

just ran through shmendrik and natasha on PEQ and they're fine.

Last edited by ylosh; 09-03-2006 at 11:39 PM..
Reply With Quote
  #3  
Old 09-05-2006, 07:50 AM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

Maybe something happens to the download then, because both Schmendrik and Natasha work but give me the Items I hand them back. When I add the else { they keep the items as they should.

Thanks for taking a look though...
Reply With Quote
  #4  
Old 09-06-2006, 01:57 PM
Monalin
Fire Beetle
 
Join Date: May 2004
Posts: 4
Default its cvs i think

I've been trying to figure out why this wont work

[CODE]sub EVENT_SAY
{
if($text=~/Hail/i)
{
quest::say("Oh... sure whatever");
}
else if($text=~/the owl flies at midnight/i)
{
quest::say(
Reply With Quote
  #5  
Old 09-06-2006, 03:24 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

elsif in perl, not "else if"
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 11:03 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