Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 08-12-2018, 05:34 PM
Dig
Fire Beetle
 
Join Date: Mar 2018
Location: Here
Posts: 2
Default

dagulas2 and atrayas, thank you for pointing me to the quests folder. I see there are scripts for #Aten_Ha_Ra, #Aten_Ha_Ra_, and #Aten_Trigger. The first two scripts mention a $spawntime of 6480 with a random variance of up to 720. What units are these values in? The variance of 720 seems like it would be minutes, because that lines up with the 12-hour variance that seems to be well established. However, the spawntime of 6480 does not make sense as minutes, as this would put the respawn interval at around 4.5 days, not the 7 that it seems to be running.

Quote:
sub EVENT_SPAWN {
quest::settimer("atenha",1);
}


sub EVENT_TIMER {
if ($timer eq "atenha") {
if(defined $qglobals{aten}) {
quest::stoptimer("atenha");
quest::depop_withtimer();
$qglobals{aten} = undef;
}
}
}


sub EVENT_DEATH_COMPLETE {
my $variance = int(rand(720));
my $spawntime = 6480 + $variance;
quest::setglobal("aten",1,3,"M$spawntime");
}
Reply With Quote
 

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