EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   General::General Discussion (https://www.eqemulator.org/forums/forumdisplay.php?f=586)
-   -   Lake Rathe Gnoll Camp Won't Spawn (https://www.eqemulator.org/forums/showthread.php?t=39623)

Riklin 05-05-2015 03:37 PM

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...

provocating 05-05-2015 03:45 PM

What I am asking is if NPC's respond to hails, trying to figure out of your Perl and LUA are working.

Riklin 05-05-2015 04:45 PM

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.

provocating 05-05-2015 05:10 PM

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);
                }
        }
}


gibroni 05-05-2015 05:18 PM

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.

provocating 05-05-2015 05:22 PM

Success then, grats. And since you published the result, it will help someone else down the line.

gibroni 05-05-2015 10:06 PM

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?

Riklin 05-05-2015 10:57 PM

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!

Shendare 05-05-2015 11:28 PM

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.

chrsschb 05-23-2015 10:50 AM

Quote:

Originally Posted by provocating (Post 239888)
Success then, grats. And since you published the result, it will help someone else down the line.

Can confirm, fixed my day/night cycles. :D


All times are GMT -4. The time now is 04:16 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.