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 04-18-2004, 02:27 AM
Richardo
Banned
 
Join Date: Oct 2003
Location: Mattmecks Basement
Posts: 546
Default Quest Problem

My npc's arnt responding nor are the responding to when the item is given to them, tell me if you see anything wrong with my pl...


Quote:
sub EVENT_SAY
{
if ($text~= /Hail/i){quest::say("Hoyos! What brings you here $name? This is the lands of the Uruk-Hai, they are merciless and will kill you without a thought, I am here to return what was once my peoples, the breastplate of the uruk-hai was stolen from us and was used for its intense healing abilities.Perhaps you can [help]?");}
if ($text~= /help/i){quest::say("Great! Assemble a group and slay the evil overlord of the uruk-hai and return to me his breastplate, I will assure you the power of a true berserker!");}
}
sub EVENT_ITEM
{
if ($itemcount{27188} == 4){quest::say("PRAISE THE TRIBUNAL! Justice is ours! Here take this! Take it to Okinawa Boquestu in Halas, he shall aid you on creating the ultimate weapon for a berserker! Good luck, $race.");
quest::exp(12555);
quest::spawnitem(10);}
}
The items are correct, the item numbers that is...
Reply With Quote
  #2  
Old 04-18-2004, 03:01 AM
Dave987
Discordant
 
Join Date: Jun 2003
Location: England
Posts: 267
Default

Woops - I didn't read the post carefully enough ... ignore this
__________________
;o)
Reply With Quote
  #3  
Old 04-18-2004, 03:18 AM
Dave987
Discordant
 
Join Date: Jun 2003
Location: England
Posts: 267
Default

Code:
sub EVENT_ITEM
{
if ($itemcount{27188} == 4){quest::say("PRAISE THE TRIBUNAL! Justice is ours! Here take this! Take it to Okinawa Boquestu in Halas, he shall aid you on creating the ultimate weapon for a berserker! Good luck, $race.");
quest::exp(12555);
quest::spawnitem(10);}
}
Ok, this isn't the most ideal way, but if you just want to get it working, try this:

Code:
 sub EVENT_ITEM
{
if (($item1 ==  27118) && ($item2 == 27118) && ($item3 == 27118) && ($item4 == 27118))
{
quest::say("PRAISE THE TRIBUNAL! Justice is ours! Here take this! Take it to Okinawa Boquestu in Halas, he shall aid you on creating the ultimate weapon for a berserker! Good luck, $race.");}
quest::exp(12555);
quest::spawnitem(19);}
}
__________________
;o)
Reply With Quote
  #4  
Old 04-19-2004, 06:37 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

spawnitem ?

is it new version of summonitem ?
Reply With Quote
  #5  
Old 04-19-2004, 11:29 AM
Dave987
Discordant
 
Join Date: Jun 2003
Location: England
Posts: 267
Default

Not sure - I saw Lexen had used spawnitem so I decided to copy... the NPC wasn't responding at all, thats all I replied to..

Gunna go play around and see if spawnitem does anything
__________________
;o)
Reply With Quote
  #6  
Old 04-20-2004, 03:16 AM
Monrezz's Avatar
Monrezz
Dragon
 
Join Date: Mar 2003
Location: #loc
Posts: 745
Default

Quote:
quest::(spawnitem(19);}
You have an extra "(" there you shouldn't have, should be:

Code:
quest::spawnitem(19);}
__________________

kRPG Profile
Reply With Quote
  #7  
Old 04-21-2004, 06:02 AM
Dave987
Discordant
 
Join Date: Jun 2003
Location: England
Posts: 267
Default

Woops.. nobodys perfect eh?
Did that work Lexen ?


Another thing you could try is changing
if ($itemcount{27188} == 4)

to

if (($itemcount{27188} == 4))
Sometimes doing the calculations (== , != , <= , etc.) help if done in double brackets.. -shrug-
__________________
;o)
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 01:27 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3