Files
DarkflameServer/migrations/dlu/mysql/69_economy_property_clone.sql
Aaron Kimbrell 2d1ef0e370 feat: web dashboard and playground work
The NexusDashboard-parity dashboard (dDashboardServer) and everything built on it on the experimental branch:
accounts, characters, properties and moderation tools, permissions shared with in-game slash commands, economy
reports, World 3D and property 3D views with client scenery, scheduled events (features, vanity changes, live
events, announcements, restarts), vanity files and events, the CDClient browser, the message inspector with saved
captures, chat filter tools, community challenges, live ops, the AI moderator helper, and the server-side changes
they need.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 09:33:10 -05:00

10 lines
830 B
SQL

/* Property worlds run one instance per property, all on the same zone: map events and player statistics now also
record the instance's clone id (the property owner's charinfo.prop_clone_id, as the world knows it), so one
property's data can be told apart from another's. 0 on every other zone, and on the rows written before this, which
the reports show as "unknown property" on property zones.
The map event kinds grow too: 8 = powerup dropped (lot = the powerup), 9 = powerup picked up. */
ALTER TABLE map_events_daily ADD COLUMN clone_id INT UNSIGNED NOT NULL DEFAULT 0,
DROP PRIMARY KEY, ADD PRIMARY KEY (zone, kind, day, clone_id, lot, cell_x, cell_z);
ALTER TABLE player_stats_daily ADD COLUMN clone_id INT UNSIGNED NOT NULL DEFAULT 0,
DROP PRIMARY KEY, ADD PRIMARY KEY (day, zone, clone_id, stat, gm);