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
  #10  
Old 09-12-2008, 01:39 PM
Neiv
Hill Giant
 
Join Date: May 2008
Location: Colorado
Posts: 238
Default

Okay, I've narrowed down the problem to the watcher script. I sandwiched the "setglobal" in the slayer script between two shouts, like this:

Code:
		quest::delglobal("king");
		quest::shout("global deleted, resetting global");
		quest::setglobal("king", 4, 7, "F");
		quest::spawn2(999247,0,0,$x+5,$y+5,$z,$h);
		quest::shout("king spawned, handing off to watcher");
I can see both shouts in the chat box as I zone due to death, so that tells me the global is setting. Plus, the fact that the king actually npc spawns in the spawn2 function tells me it's making it through.

I also added some shouts to the watcher script, like this:
Code:
sub EVENT_WAYPOINT
	{
	quest::shout("start WAY POINT");
	if (defined($qglobals{king}))
		{	
		if ($qglobals{king} == 4) 
			{
			quest::shout("start signal");
			quest::signal(999247);
			quest::shout("signal completed");
			}
		}
	}
The first watcher shout ("start WAY POINT") repeats every five seconds, but never proceeds to the second or third shouts. That tells me something is amiss in one of the two $qglobals lines. Any thoughts?
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 04:28 PM.


 

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