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 11-27-2011, 02:50 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Both work fine for me when used like this:

Code:
sub EVENT_SAY
{
	my $cookieid = quest::varlink(19732);
	quest::say("Yum, [$cookieid]");
	quest::itemlink(19732);
}
Hard to say why it might be crashing for you. You'll probably need to debug it to see where it crashes for anyone to help you.
Reply With Quote
  #2  
Old 11-27-2011, 09:12 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Pretty easy what I was doing wrong, luckily you posted your entire subroutine and that helped me see what I was doing wrong.

I did not have mine in an EVENT_SAY routine. I was actually trying to get the npc to do random announces in the zone. If I try to put that command just anywhere, as soon as it fires the zone goes down. I guess it is crashing trying to figure out who the say is with ?

This sucks because I was trying to do an announce randomly, not just when someone hails them.
Reply With Quote
Reply

Thread Tools
Display Modes

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