Page 1 of 1
nocturnal eggs spawn/activate in daytime?
Posted: Thu Oct 28, 2010 6:02 pm
by agentorangeguy
I just reported this on the bugtracker. It seems that nocturnally flagged eggs don't function like they are supposed to: activating only at night. Has anyone else noticed this?
Re: nocturnal eggs spawn/activate in daytime?
Posted: Fri Oct 29, 2010 9:28 am
by Dominus
do you have an example in the game for this to check? Or do I need to create an egg for this?
Re: nocturnal eggs spawn/activate in daytime?
Posted: Fri Oct 29, 2010 8:25 pm
by agentorangeguy
Create an egg and flag it nocturnal, then go away, and come back and it should spawn in the daytime. It has done that for me at least, even with the latest snapshots.
Re: nocturnal eggs spawn/activate in daytime?
Posted: Fri Oct 29, 2010 11:26 pm
by Malignant Manor
eggs.cc line 729 uses:
if (!(hour >= 9 || hour = 20 || hour <= 4))
or slightly different to reflect the original.
Re: nocturnal eggs spawn/activate in daytime?
Posted: Sat Oct 30, 2010 8:06 am
by wjp
Thanks for tracking this down. It looks like the >= 9 was intended to be >= 21 (12h/24h confusion). I'll commit the fix.
Re: nocturnal eggs spawn/activate in daytime?
Posted: Sun Oct 31, 2010 6:00 am
by _Olarin
or the 5 was intended to be 5 PM?
would be nice to track down an egg in the original to observe, if it has any.
Re: nocturnal eggs spawn/activate in daytime?
Posted: Sun Oct 31, 2010 6:22 pm
by Malignant Manor
It is correct now (wjp updated again to match the night palette). The original and Exult see night as 9 PM (21) through 4:59 (4:59) AM.
Re: nocturnal eggs spawn/activate in daytime?
Posted: Sun Oct 31, 2010 7:38 pm
by agentorangeguy
one egg in the original that comes to mind was the liche at the shrine of sacrafice... but it may have been a usecode egg rather than a spawn egg. The liche would be there at night... possibly midnight only?
Re: nocturnal eggs spawn/activate in daytime?
Posted: Sun Oct 31, 2010 7:42 pm
by Malignant Manor
Those eggs are nocturnal eggs that trigger during the time period I listed above.