mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
EventGating (eventName, date_start, date_end; 8 rows) is only in the
CDClient for the server: the 1.10.64 client has no string for it. The
dates are Unix times (UTC), inclusive: pirateDay 2011-09-19 00:00 to
2011-09-20 23:59:59 (Talk Like a Pirate Day), buildNexusTower 2010-03-09
to 2011-03-14, buildNexusTowerEnd, frostburgh2010_notused and test rows.
The live Lua asked for an event with GetHolidayEvent{eventToCheck =
name}.isValid; the only callers are the Crux Prime random spawners
(L_BASE_RANDOM_SPAWNER.lua, L_AM_ZONE_SERVER.lua), whose only event is
pirateDay. DLU's BaseRandomServer::CheckEvents was a TODO.
- CDEventGatingTable loads the table; HolidayEvents::IsActive(name) is
true while the dates include now, or when event_1..event_8 names the
event (every live date is in 2010/2011, so this is how a server turns
one on; the same settings already switch gatingOnFeature objects).
- BaseRandomServer::CheckEvents: during pirateDay the str and zip areas
use the event loads from the Lua (80%: 5 pirates on each of type1-3,
20%: 5 admirals each; multipliers secA 1, secB 1, secC 1.2 for str).
Inferred: every spawner's Lua put the whole {str, zip} table in its
zones, which its getRandomLoad walks with ipairs and so finds no load;
DLU uses each table for the area it names, as L_AM_ZONE_SERVER.lua's
layout intends.
- sharedconfig.ini says event_N also takes EventGating names.
Check in game: with event_2=pirateDay in sharedconfig.ini, the Crux Prime
areas filled by the str and zip random spawners (spawner networks
em_str_* and em_zip_*) spawn only Maelstrom pirates and admirals; the
other two areas and a server without the setting spawn the usual mix.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
1.4 KiB
CMake
47 lines
1.4 KiB
CMake
set(DDATABASE_CDCLIENTDATABASE_CDCLIENTTABLES_SOURCES "CDActivitiesTable.cpp"
|
|
"CDActivityRewardsTable.cpp"
|
|
"CDAnimationsTable.cpp"
|
|
"CDBehaviorParameterTable.cpp"
|
|
"CDBehaviorTemplateTable.cpp"
|
|
"CDBrickIDTableTable.cpp"
|
|
"CDCollectibleComponentTable.cpp"
|
|
"CDComponentsRegistryTable.cpp"
|
|
"CDCurrencyTableTable.cpp"
|
|
"CDDestructibleComponentTable.cpp"
|
|
"CDEmoteTable.cpp"
|
|
"CDEventGatingTable.cpp"
|
|
"CDFeatureGatingTable.cpp"
|
|
"CDInventoryComponentTable.cpp"
|
|
"CDItemComponentTable.cpp"
|
|
"CDItemSetSkillsTable.cpp"
|
|
"CDItemSetsTable.cpp"
|
|
"CDLevelProgressionLookupTable.cpp"
|
|
"CDLootMatrixTable.cpp"
|
|
"CDLootTableTable.cpp"
|
|
"CDMissionEmailTable.cpp"
|
|
"CDMissionNPCComponentTable.cpp"
|
|
"CDMissionsTable.cpp"
|
|
"CDMissionTasksTable.cpp"
|
|
"CDMovementAIComponentTable.cpp"
|
|
"CDObjectSkillsTable.cpp"
|
|
"CDObjectsTable.cpp"
|
|
"CDPetComponentTable.cpp"
|
|
"CDPackageComponentTable.cpp"
|
|
"CDPlayerFlagsTable.cpp"
|
|
"CDPhysicsComponentTable.cpp"
|
|
"CDPropertyEntranceComponentTable.cpp"
|
|
"CDDeletionRestrictionsTable.cpp"
|
|
"CDPropertyTemplateTable.cpp"
|
|
"CDModularBuildComponentTable.cpp"
|
|
"CDProximityMonitorComponentTable.cpp"
|
|
"CDRailActivatorComponent.cpp"
|
|
"CDRarityTableTable.cpp"
|
|
"CDRebuildComponentTable.cpp"
|
|
"CDRewardCodesTable.cpp"
|
|
"CDRewardsTable.cpp"
|
|
"CDScriptComponentTable.cpp"
|
|
"CDSkillBehaviorTable.cpp"
|
|
"CDTamingBuildPuzzleTable.cpp"
|
|
"CDVendorComponentTable.cpp"
|
|
"CDZoneTableTable.cpp" PARENT_SCOPE)
|