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
  #1  
Old 02-13-2010, 03:54 PM
Aeolwind
Fire Beetle
 
Join Date: Nov 2003
Posts: 9
Default Day/Night Spawning issues

Running into an issue with day/night spawnings. My day mobs insta depop and my night mobs won't pop at all.

I've found it has something to do with con_value, but I have no idea what that value should actually be to make it work correctly.

Day mobs from the editor:

Code:
x: 1286.126953  	y: 3856.560303  	z: 0.488535
heading: 197.750000 	respawn: 400 	variance: 0
pathgrid: 0 	condition: 1 	cond_value: 1
version: 0 	enabled: 1
and a night mob

Code:
x: 1286.126953  	y: 3856.560303  	z: 0.488535
heading: 197.750000 	respawn: 400 	variance: 0
pathgrid: 0 	condition: 2 	cond_value: 1
version: 0 	enabled: 1
and the perl I'm using

Code:
sub EVENT_SPAWN { 

if ($zonetime < 800 || $zonetime > 1999) {
	quest::spawn_condition($zonesn, 2,0); #live are 2
	quest::spawn_condition($zonesn, 1,1); #undead are 1
}
else {		
	quest::spawn_condition($zonesn, 2,1); #live are 2
	quest::spawn_condition($zonesn, 1,0); #undead are 1
 }
}

sub EVENT_WAYPOINT{
if ($zonetime < 800 || $zonetime > 1999) {
	quest::spawn_condition($zonesn, 2,0); #live are 2
	quest::spawn_condition($zonesn, 1,1); #undead are 1
}
else {		
	quest::spawn_condition($zonesn, 2,1); #live are 2
	quest::spawn_condition($zonesn, 1,0); #undead are 1
 }
}
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 01:39 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