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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9  
Old 04-18-2009, 08:41 AM
Killeverything
Fire Beetle
 
Join Date: Mar 2009
Location: USA
Posts: 27
Default

Hi all again

sorry to do this but I need some help I have the quest all done but the last turn ins
here is what I have going I have A NPC in pok that need to get back his necklace and the player has to go and talk to 5 other Npc in order to get it back.

sub EVENT_SAY {

if ($text=~/Hail/i){
quest::say("Greetings $name. Would you like me to craft some [armor] for you? ");
}

if ($text=~/armor/i){
quest::say("Yes I have some very nice armor here for you, But you will have to do something for me first. I need you to go and help out Ariel in Qeynos she has the necklace maybe by helping her you can get it");
quest::setglobal("newquesta", 1, 5, "F");
quest::setglobal("newquestb", 1, 5, "F");
quest::setglobal("newquestc", 1, 5, "F");
quest::setglobal("newquestd", 1, 5, "F");
quest::setglobal("newqueste", 1, 5, "F");
}
}



sub EVENT_ITEM {
## Here I am wanting it to do the final turn in and have it check to make sure that the quest id done
if ((plugin::check_handin(\%itemcount, 1096 => 1)&& ($qglobals{newqueste} == 2){
quest::say("listens eagerly to your tales of the Norrath. And everything you have seen and the people you have talked to! Now here is your armor. You are ready to take on the world ");



## here after the check I have set the reward for each class
if($class eq 'Shadowknight')
{quest::summonitem("7869");#chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("86870");#wep
quest::summonitem("31359");#hands-shield
quest::summonitem("26025");#head
}
elsif ($class eq "Berserker")
{quest::summonitem("55495");#chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("22906");#wep
quest::summonitem("51266");#hands
quest::summonitem("26025");#head
}
elsif ($class eq "Ranger")
{quest::summonitem("51272"); #chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("22904");#wep
quest::summonitem("25201");#hands
quest::summonitem("26025");#head
}
elsif ($class eq "Bard")
{quest::summonitem("7869");#chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("22904");#wep
quest::summonitem("25201"); #hands
quest::summonitem("26025");#head
}
elsif ($class eq "Rogue")
{quest::summonitem("31371"); #chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("22904");#wep
quest::summonitem("25201");#hands
quest::summonitem("26025");#head
}
elsif ($class eq "Paladin")
{quest::summonitem("7869");#chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("86870");#wep
quest::summonitem("19726");#hands-shield
quest::summonitem("26025");#head
}
elsif ($class eq "Monk")
{quest::summonitem("24839"); #chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("22904");#wep
quest::summonitem("25201");#hands
quest::summonitem("26025");#head
}

elsif ($class eq "Beastlord")
{quest::summonitem("24839"); #chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("27018");#wep
quest::summonitem("69229");#hands
quest::summonitem("26025");#head
}

elsif ($class eq "Warrior")
{quest::summonitem("7869"); #chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("22904");#wep
quest::summonitem("19726");#hands
quest::summonitem("26025");#head
}

elsif ($class eq "Cleric")
{quest::summonitem("7869"); #chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("26554");#wep
quest::summonitem("19726");#hands-shield
quest::summonitem("29648");#head
}

elsif ($class eq "Druid")
{quest::summonitem("4573"); #chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("22824");#wep
quest::summonitem("19726");#hands-shield
quest::summonitem("29648");#head
}

elsif ($class eq "Shaman")
{quest::summonitem("25044"); #chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("26566");#wep
quest::summonitem("26533");#hands-shield
quest::summonitem("29648");#head
}

elsif ($class eq "Enchanter"){quest::summonitem("7584");#chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("5816");#wep
quest::summonitem("25098");#hands-shield
quest::summonitem("29648");#head
}

elsif ($class eq "Magician"){quest::summonitem("7584"); #chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("5816");#wep
quest::summonitem("25098");#hands-shield
quest::summonitem("29648");#head
}

elsif ($class eq "Necromancer"){quest::summonitem("7584"); #chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("5816");#wep
quest::summonitem("25098");#hands-shield
quest::summonitem("29648");#head
}

elsif ($class eq "Wizard"){quest::summonitem("7584"); #chest
quest::summonitem("7870");#ring
quest::summonitem("7871");#boot
quest::summonitem("8288");#sleeves
quest::summonitem("8289");#Leggings
quest::summonitem("5816");#wep
quest::summonitem("25098");#hands-shield
quest::summonitem("29648");#head
}
}
## here I was tiring to give a response if the the quest if not done
elsif($qglobals{newquesta} == 1){
quest::say("Yes, $name! I've told you what to do already!");
}




}




I have the first part done and it is working but then it ether doesn't give the reward or it does but then it reset the global quest back to 1 so that could do it again

thank you for you help
Reply With Quote
 


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 09:12 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3