[BUG] 0.4.0 - Errors in Evolution Timing #47

Closed
opened 2024-08-26 11:34:38 -03:00 by ZAdamMac · 1 comment
ZAdamMac commented 2024-08-26 11:34:38 -03:00 (Migrated from github.com)

Version String: v/0.4.0 - dev

Expected Behaviour: The pet should hatch and evolve at roughly the following cadence: eggs hatch after 5 minutes. The baby evolves an hour after that. Subsequent evolutions are shortly after waking, integer numbers of days therafter.

Issue/Observed Behaviour: When hatching a new egg for the first time after complete device reset (i.e. clearing the save data), the pet hatches after five minutes and evolves again an hour later (or so). The Pet then proceeds to evolve repeatedly on the same day. After an evolution that returns the pet to egg form, the timer is not being adjusted properly and the egg can wait for hours without hatching (presumably now correctly waiting for an integer number of days or at least a rollover in the RTC).

This is likely a consequence of not appropriately considering wall-clock-roundness in the timing logic and needs to be revisted.

Version String: `v/0.4.0 - dev` Expected Behaviour: The pet should hatch and evolve at roughly the following cadence: eggs hatch after 5 minutes. The baby evolves an hour after that. Subsequent evolutions are shortly after waking, integer numbers of days therafter. Issue/Observed Behaviour: When hatching a new egg for the first time after complete device reset (i.e. clearing the save data), the pet hatches after five minutes and evolves again an hour later (or so). The Pet then proceeds to evolve repeatedly on the same day. After an evolution that returns the pet to egg form, the timer is not being adjusted properly and the egg can wait for hours without hatching (presumably now correctly waiting for an integer number of days or at least a rollover in the RTC). This is likely a consequence of not appropriately considering wall-clock-roundness in the timing logic and needs to be revisted.
ZAdamMac commented 2025-01-16 16:08:25 -04:00 (Migrated from github.com)

Cannot reproduce.

Cannot reproduce.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zadammac/PETI#47
No description provided.