nocturnal eggs spawn/activate in daytime?
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
-
- Posts: 565
- Joined: Thu May 14, 2020 1:34 pm
nocturnal eggs spawn/activate in daytime?
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?
-------------------------------------------------------------------------------------
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Re: nocturnal eggs spawn/activate in daytime?
do you have an example in the game for this to check? Or do I need to create an egg for this?
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
-
- Posts: 565
- Joined: Thu May 14, 2020 1:34 pm
Re: nocturnal eggs spawn/activate in daytime?
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.
-------------------------------------------------------------------------------------
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
-
- Site Admin
- Posts: 985
- Joined: Thu May 14, 2020 1:34 pm
Re: nocturnal eggs spawn/activate in daytime?
eggs.cc line 729 uses:
if (!(hour >= 9 || hour = 20 || hour <= 4))
or slightly different to reflect the original.
if (!(hour >= 9 || hour = 20 || hour <= 4))
or slightly different to reflect the original.
Re: nocturnal eggs spawn/activate in daytime?
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?
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.
would be nice to track down an egg in the original to observe, if it has any.
-
- Site Admin
- Posts: 985
- Joined: Thu May 14, 2020 1:34 pm
Re: nocturnal eggs spawn/activate in daytime?
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.
-
- Posts: 565
- Joined: Thu May 14, 2020 1:34 pm
Re: nocturnal eggs spawn/activate in daytime?
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?
-------------------------------------------------------------------------------------
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
-
- Site Admin
- Posts: 985
- Joined: Thu May 14, 2020 1:34 pm
Re: nocturnal eggs spawn/activate in daytime?
Those eggs are nocturnal eggs that trigger during the time period I listed above.