Notices
Notices are dismissible alerts for critical events such as fighter death, fleeing, breeding completion, soil collapse, notable offline rewards, and marketplace sales.
BOCArena records important events in two ways: notices for critical alerts, and game logs for the activity history players ask about later.
Notices are dismissible alerts for critical events such as fighter death, fleeing, breeding completion, soil collapse, notable offline rewards, and marketplace sales.
Logs record purchases, feeding, hatching, seed retrieval, planting, harvesting, upgrades, breeding actions, and critical outcomes. Only the latest 100 logs are kept per user.
The game catches up idle events when relevant data is accessed. If a fighter should have died three days after logout, the notice should show that simulated event date, not just the login date. That event time is occurredAt; the database save time is createdAt.
Only the latest 100 logs are kept per user.
occurredAt is when an event should have happened in game time. createdAt is when the database record was saved. Offline catch-up must use occurredAt for player-facing event dates.