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 07-06-2008, 09:48 AM
Neiv
Hill Giant
 
Join Date: May 2008
Location: Colorado
Posts: 238
Default ANy ideas why this signal won't work?

I am just now experimenting with the quest::signal function, and can't seem to make it work.

The signaling NPC is NPCID 999137 and the signaled NPC is NPCID 999146 (and there are about 40 of the latter in the zone once I spawn2 them through a separate quest script). I have named ea .pl according to its NPCID (999137.pl and 999146.pl) and placed both scripts in the appropriate zone folder.

On the signaling NPC (999137.pl) I have this:
Quote:
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::signal(999146,10);
}
}

And on the signaled NPC (999146.pl) I have this:
Quote:
Sub EVENT_SIGNAL
{
quest::shout("WE WILL FEAST ON THE FLESH OF MAN TODAY!!!");
}

This is the exact format I find in the lexicon, yet (although the first NPC responds to the hail) there no shout from NPC 999146 after ten seconds. Do I need to add something to the database? Is there a plug-in I'm missing? I can't seem to figure this one out.
Reply With Quote
  #2  
Old 07-06-2008, 11:51 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Sub EVENT_SIGNAL is your problem, the s needs to be lower case
Reply With Quote
  #3  
Old 07-06-2008, 04:37 PM
Neiv
Hill Giant
 
Join Date: May 2008
Location: Colorado
Posts: 238
Default

I made that change, and it still isn't working. Any other possibilities?
Reply With Quote
  #4  
Old 07-06-2008, 05:14 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Try this:
Code:
sub EVENT_SIGNAL {

if ($signal == 10) {
quest::shout("WE WILL FEAST ON THE FLESH OF MAN TODAY!!!"); }

}
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #5  
Old 07-07-2008, 12:58 AM
Neiv
Hill Giant
 
Join Date: May 2008
Location: Colorado
Posts: 238
Default

Thanks for the help. I rewrote the script in Cavedude's format and it now works (not sure what the problem was with the first version).
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 04:52 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