Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Submissions

Quests::Submissions This is where you submit your quests for review

Reply
 
Thread Tools Display Modes
  #1  
Old 08-31-2009, 01:38 AM
fourier
Sarnak
 
Join Date: Aug 2009
Location: MO
Posts: 35
Default COD_Trigger - codecay

Code:
#############
#Quest Name: COD_Trigger
#Author: Unknown
#NPCs Involved: 2 (?)
#Items Involved: 0
#################

sub EVENT_SPAWN
{
quest::settimer(77,3600); #1 hour depop
$high_priest=0;
}

sub EVENT_TIMER {
{
quest::stoptimer(77);
quest::settimer(77,1);
}

if($timer == 77 && $high_priest == 2)
  {
quest::spawn2(200032,0,0,310,328,-71.5,125);
$high_priest=0;
quest::stoptimer(69);
  }
if($timer == 69) {
$high_priest=0;
quest::stoptimer(69);
}
}

sub EVENT_SIGNAL
{
$high_priest=$high_priest+1;
quest::settimer(69,14400);
}
First post here, hope the above is suitable commentary. In quests\codecay\#COD_Trigger.pl, changed line 3 from quest::settimer(77,1); #1 hour depop to:

quest::settimer(77,3600); #1 hour depop

This is because settimer takes params: id,time in seconds. I am guessing the original author meant to put 3600 based on the comment and 1 second not appearing logical.

Not yet tested - still trying to get my dev server setup.
Reply With Quote
  #2  
Old 08-31-2009, 05:50 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

Actually, it looks as if the comment is just wrong. That timer is supposed to go every second and when it sees that the high priest == 2, then it spawns High Priest Ultor Szanvon.
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 11:01 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