Forever.DayCycle.Speed (worldserver.conf, default 1) makes the sky run
1x (the realm's clock, as before) up to 24x for the whole realm. The time
of day shown is worked out from the realm's local time alone, so every
player sees the same sky, also after a restart. Only the sky changes:
events, resets, respawns and scripts keep the realm's own time.
.time day and .time night keep noon or midnight for one character,
wherever it goes, and .time auto brings the realm's sky back; .time says
which one is set. Every player may use it (permission 1000, Role:
Player). The choice is kept in character_day_cycle, loaded with the other
login queries and saved with prepared async statements, and goes when
the character is deleted.
The clock is sent at login and at every map change, as before, and right
away by .time. The pure part (DayCycle.h) has unit tests.
The handler dropped any upload that decompressed to more than 64 KiB
without a reply or a warning, and both account data tables used a
64 KiB blob. Raise the limit to 1 MiB, widen the columns to mediumblob,
log a warning with account, player, type and size whenever data is
dropped, and store only the bytes zlib actually produced.
The 1.60 client sends 360 action buttons (SMSG_UPDATE_ACTION_BUTTONS decoder
asserts 8 * 360 + 1). The server only stored 180 (MAX_ACTION_BUTTONS) and the
packet zero-padded 180-359, so anything bound above 180 was dropped: the
controller UI bound CMSG_SET_ACTION_BUTTON button 187 and it came back blank
on every relog.
Raise MAX_ACTION_BUTTONS to 360, send 360 real buttons, key ActionButtonList
and Add/Remove/GetActionButton/IsActionButtonDataValid by uint16, accept the
full uint16 button index from the client, and widen character_action.button
to SMALLINT (base schema + a re-runnable custom characters update).