EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Problems with Quest items. (https://www.eqemulator.org/forums/showthread.php?t=30548)

utbbop 02-09-2010 07:27 PM

Problems with Quest items.
 
Code:

#A conversation With Item turn-in And exp gain
sub EVENT_SAY
{


if ($text =~/Hail/i){
quest::say ("Greetings $name. I am looking for young adventurers to [help] me with a problem in the area."); }
if ($text =~/help/i){
quest::say ("Good! Good! Heres the deal there are three priests in the area who are turning people to follow
their God, [Sol]."); }
if ($text =~/sol/i){
quest::say ("Bags! Who is Sol? Sol is the reason this once beautiful Forrest is now turning into a [Desert]!"); }
if ($text =~/Desert/i){
quest::say ("Yes! Yes! There are already three lands that have turned to desert by his treacherous ways! We are trying our
best to push back his [influence] here to stop this land from also turning to desert!"); }
if ($text =~/influence/i){
quest::say ("Where you born under a rock!? Everyone knows that Sol is the God of the Sun, and he is turning our land
into his own barren wasteland!! Hes going to take over everything! Thats why we must [FIGHT]!"); }
if ($text =~/fight/i){
quest::say ("GREAT! We need all the help we can get, as I said, there are three priests in the area who are turning
townspeople to follow their god!  To stop this I need you to kill the three Priests And bring me their [Amulets]!"); }
if ($text =~/amulets/i){
quest::say ("Yes as proof of their death, i will take each of their amulets and forge them together to make you
a powerful amulet to help our struggle against Sol, now Hurry up we wasted enough time jabbering!");
}


}



sub EVENT_ITEM
{
  if  (plugin::check_handin(\%itemcount, 16905 => 1, 16857 => 1, 10035 => 1))
    {
    quest::emote("removes a item from his pocket.");
    quest::say("This is yours. Care for it well!");
    quest::SummonItem("10051");  #ruby crown
    }
  }



My quest items, in multiple quests, will not be handed out to the person completing the quests.

All the text ques go off like they should be handing out the item but nothing is summoned/given to the player.

Any idea whats wrong?

Lillu 02-09-2010 07:43 PM

use quest::summonitem();
it's case sensitive.

utbbop 02-09-2010 07:46 PM

It automatically changes the case to capital.


:(

utbbop 02-09-2010 07:46 PM

Using Georges Tools btw.

ChaosSlayerZ 02-09-2010 07:47 PM

George was to suppose to correct that a while ago- check for new version, or use Notepad =P

utbbop 02-09-2010 07:51 PM

Ah ok, I will have to give this a shot.


Instead of making a new thread, could you guys inform me of how to add a 24 cooldown/retry onto a quest?

utbbop 02-09-2010 08:00 PM

nvm i figured it out. I misspelled something.

Any idea for 24hr quests though?


All times are GMT -4. The time now is 01:31 AM.

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