|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics. Do not post support topics here. |
05-05-2015, 03:37 PM
|
Hill Giant
|
|
Join Date: May 2003
Location: Tacoma, WA
Posts: 225
|
|
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...
|
05-05-2015, 03:45 PM
|
|
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
What I am asking is if NPC's respond to hails, trying to figure out of your Perl and LUA are working.
|
05-05-2015, 04:45 PM
|
Hill Giant
|
|
Join Date: May 2003
Location: Tacoma, WA
Posts: 225
|
|
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.
|
|
|
|
05-05-2015, 05:10 PM
|
|
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
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);
}
}
}
|
|
|
|
05-05-2015, 05:18 PM
|
Hill Giant
|
|
Join Date: Jun 2009
Location: glendale
Posts: 193
|
|
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.
|
05-05-2015, 05:22 PM
|
|
Demi-God
|
|
Join Date: Nov 2007
Posts: 2,175
|
|
Success then, grats. And since you published the result, it will help someone else down the line.
|
05-05-2015, 10:06 PM
|
Hill Giant
|
|
Join Date: Jun 2009
Location: glendale
Posts: 193
|
|
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?
|
05-05-2015, 10:57 PM
|
Hill Giant
|
|
Join Date: May 2003
Location: Tacoma, WA
Posts: 225
|
|
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!
|
05-05-2015, 11:28 PM
|
Dragon
|
|
Join Date: Apr 2009
Location: California
Posts: 814
|
|
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.
|
05-23-2015, 10:50 AM
|
|
Dragon
|
|
Join Date: Nov 2008
Location: GA
Posts: 904
|
|
Quote:
Originally Posted by provocating
Success then, grats. And since you published the result, it will help someone else down the line.
|
Can confirm, fixed my day/night cycles.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 10:34 AM.
|
|
|
|
|
|
|
|
|
|
|
|
|