EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   CVS has a problem or.... (https://www.eqemulator.org/forums/showthread.php?t=21432)

Aramid 09-03-2006 03:12 PM

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.

ylosh 09-03-2006 03:29 PM

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.

Aramid 09-05-2006 07:50 AM

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...

Monalin 09-06-2006 01:57 PM

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(

fathernitwit 09-06-2006 03:24 PM

elsif in perl, not "else if"


All times are GMT -4. The time now is 06:22 PM.

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