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
  #5  
Old 09-14-2014, 02:49 PM
Traul
Hill Giant
 
Join Date: Jun 2005
Posts: 105
Default

Quote:
Originally Posted by rencro View Post
Looks like the ghoul_executioner is activating on death an already running spawn2 condition, perhaps this is gumming up the works.

Possible solution is to make a copy of the a_ghoul_executioner npc of 66092, which would become I assume on your server perhaps 66180 since your controller npc is 66179, then use that in your controller script as the spawned npc. Rename the a_ghoul_executioner.pl to 66180.pl, but remove the signalling of the controller npc part. Also create a 66092.pl (the original a ghoul executioner) and set an event based on death as before to signal the controller mob, but to NOT modify the spawn conditions.

When the original a_ghoul_executioner(66092) is killed, the controller mob is signaled, but the existing spawn2 conditions are not modified, then when the new a_ghoul_executioner spawns, it is the 66180 version, and on death, will re-enable the original spawn2 condition that the controller npc turned off after the timer expired.

Would look like this:

66092.pl (original npc id of executioner)
Code:
sub EVENT_DEATH_COMPLETE {
quest::signalwith(66179,1);
}
66180.pl (or whatever the new npc id of the copied executioner is)
Code:
sub EVENT_DEATH_COMPLETE {
quest::enable_spawn2(9968);
}
controller.pl
Code:
sub EVENT_SIGNAL {
	if($signal==1) {
		quest::settimer("exec",60);
				}
}

sub EVENT_TIMER {

	if($timer eq "exec") {
		quest::disable_spawn2(9968);
		quest::spawn2(66180,0,0,-890,622,-203,53.5);
		} 
		
}
This keeps the spirit of your original idea instead of just changing the spawn timer for that spawn group.

I have not tried this myself to verify though, but if I see no response I will build in on my test rig and test it either tomorrow or the next day..
That's awesome, that almost fixed everything. I had to add a stoptimer function to the controller. The only issue now though is the spawncycle is activated but it won't start popping until I do a #repop.

Thanks for the help so far!
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 06:31 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