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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-12-2018, 02:01 PM
Dig
Fire Beetle
 
Join Date: Mar 2018
Location: Here
Posts: 2
Default Changing respawn times for Vex Thal

I am trying to change the respawn time of AHR and the rest of Vex Thal from 7 days to 3 days. I have looked through the NPC_Types database in HeidiSQL and have found Aten Ha Ra as id 158096, but I don't see anything that looks like it would affect respawn time. Am I looking in the wrong place?
Reply With Quote
  #2  
Old 08-12-2018, 04:08 PM
dagulus2
Hill Giant
 
Join Date: Feb 2013
Posts: 220
Default

Normally respawn time is stored in the spawn2 table.

The npc_id is linked to the spawn2 information in the spawnentry table.

In my version of the PEQ database, npc id 158096 never spawns directly, so is probably spawned by a script. The other version of Aten Ha Ra (ID: 158006) is in spawn group 17794 - however, that group also seems to never spawn naturally.

Therefore for this mob, I assume you need to be looking at the scripts in the vexthal folder.
Reply With Quote
  #3  
Old 08-12-2018, 04:14 PM
atrayas
Hill Giant
 
Join Date: Jun 2010
Posts: 105
Default

IIRC every boss in this instance has a scripted respawn. Check your quest files and see if you find anything there.
Reply With Quote
  #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
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 01: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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3