Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #31  
Old 05-05-2015, 03:37 PM
Riklin
Hill Giant
 
Join Date: May 2003
Location: Tacoma, WA
Posts: 225
Default

If you mean normal NPCs, such as those in towns or pok, yes. Normal npc's work normally.

If you are referring to those in the lake rathe gnoll camp, I cannot hail them because they don't spawn, day or night...

Neither does pyzgin in qeynos hills...

Kithicor only has the high level undead in it, all the time, day and night.


yes I have waited through several spawn cycles on each...
Reply With Quote
  #32  
Old 05-05-2015, 03:45 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

What I am asking is if NPC's respond to hails, trying to figure out of your Perl and LUA are working.
Reply With Quote
  #33  
Old 05-05-2015, 04:45 PM
Riklin
Hill Giant
 
Join Date: May 2003
Location: Tacoma, WA
Posts: 225
Default

perl and lua are both working. I have run several quests, some which use perl and others which use lua. Monk sash quests for instance use lua, while my custom buffbots in the guild lobby use perl.
Reply With Quote
  #34  
Old 05-05-2015, 05:10 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I am curious, do you have your /quests/global folder there?

I would toy around with the day / night script and maybe have it do a shout in the zone whenever it switches cycles, you have to narrow this down further.

Code:
# This workarounds the problem when booted zone is already in-sync with spawn_events, and since no time updates occur the spawn_condition is defaulted to 0.

sub EVENT_SPAWN 
{
	EVENT_CYCLE();
	quest::settimer(1,20);
}

sub EVENT_TIMER
{
	
	EVENT_CYCLE();
	quest::stoptimer(1);
}

sub EVENT_CYCLE
{
# We assume 1 is night/Zephyl, and 2 is day/Hasten
	if($zonesn eq 'commons' || $zonesn eq 'everfrost' || $zonesn eq 'kithicor' || $zonesn eq 'lakerathe' || $zonesn eq 'lfaydark' || $zonesn eq 'northkarana' || $zonesn eq 'qey2hh1' || $zonesn eq 'rathemtn' || $zonesn eq 'riwwi' || $zonesn eq 'southkarana' || $zonesn eq 'eastwastes')
	{
		if ($zonetime < 600 || $zonetime > 1999) 
		{
			quest::spawn_condition($zonesn, 2,0);
			quest::spawn_condition($zonesn, 1,1);
		}
		else 
		{
			quest::spawn_condition($zonesn, 2,1);
			quest::spawn_condition($zonesn, 1,0);
		}
	}
	
# Naxot	
	if($zonesn eq 'burningwood')
	{
		if ($zonetime < 100 || $zonetime > 1299) 
		{
			quest::spawn_condition($zonesn, 2,0);
		}
		else 
		{
			quest::spawn_condition($zonesn, 2,1);
		}
	}
	
# Gronk 1 Ryn 2
	if($zonesn eq 'oggok')
	{
		if ($zonetime < 800 || $zonetime > 1199) 
		{
			quest::spawn_condition($zonesn, 2,0);
			quest::spawn_condition($zonesn, 1,1);
		}
		else 
		{
			quest::spawn_condition($zonesn, 2,1);
			quest::spawn_condition($zonesn, 1,0);
		}
	}
}
Reply With Quote
  #35  
Old 05-05-2015, 05:18 PM
gibroni
Hill Giant
 
Join Date: Jun 2009
Location: glendale
Posts: 193
Default

so I noticed my ingame server time and the time entered into spawn-events was off by like 3 or 4 years. I ended up changing my spawn_events year and month to match ingame server time. Now I seem to have the spawns and cycles working correctly.
Reply With Quote
  #36  
Old 05-05-2015, 05:22 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Success then, grats. And since you published the result, it will help someone else down the line.
Reply With Quote
  #37  
Old 05-05-2015, 10:06 PM
gibroni
Hill Giant
 
Join Date: Jun 2009
Location: glendale
Posts: 193
Default

so do these zones with these spawn cycles have to be static zones? I had them working, but after leaving the zone for some time and then later going back.. the spawn cycle is not working and off time again from game time and server time. so thinking they must have to stay a static zone for the cycles to work correctly?

and what happens if I shutdown server and down turn it back on for a week or a month? cycles with be all borked again?
Reply With Quote
  #38  
Old 05-05-2015, 10:57 PM
Riklin
Hill Giant
 
Join Date: May 2003
Location: Tacoma, WA
Posts: 225
Default

Followed gilbroni's lead... Set the spawn_events next_year, next_month and next_day to match the current game day and it worked! gnolls spawning..

Thanks for the help guys!
Reply With Quote
  #39  
Old 05-05-2015, 11:28 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Awesome. So if the in-game next month/next year in spawn_events is too far into the future compared to your eqtime.cfg setting for in-game year, spawn events will sit idle until your server catches up.

Every 20 in-game years it's ahead would take 1 real life year to catch up. Haha.

Sounds like, if you wanted to reset your server's in-game year to a lower number for whatever flavor reason, you could do so in eqtime.cfg as long as you updated spawn_events to reflect it.
Reply With Quote
  #40  
Old 05-23-2015, 10:50 AM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 904
Default

Quote:
Originally Posted by provocating View Post
Success then, grats. And since you published the result, it will help someone else down the line.
Can confirm, fixed my day/night cycles.
__________________
Clumsy's World: Resurgence [2019-Present]
Clumsy's World 2.0 [2014-2016]
Clumsy's World [2006-2012]
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:47 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