feat(bridge): RaidableBases — raid.* events, raid.spawn, the raids helper (PLAN_REDESIGNS §11.4) #42
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/raidable-bases"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PLAN_REDESIGNS §11.4 (D202–D208, D386–D391), protocol 14. Spec: docs
rust-link/PROTOCOL.md§20.12 (docs PRdocs/raidablebases-build).RunicGatewayRaids.cs, the raids helper (D168, D204–D207, D387). It ships beside the bridge, andrelease.ymllists it inHELPERS.Add(tags the request our own call made),OpenEvent(the base it became), and each base'sBypassUseOwners()(the run's own lock, D206).Setup,NPCandDespawnOptionsare copied again, so the shared profile is never touched. PvP is also set on the base afterOpenEvent.Despawn(), and the profiles are reloaded under watch.SpawnRandomBasecall, the free private typed one), every member is found by name, andrgr.statusprints the state.The bridge
integrations.raidableBases: edition,spawnCall, CopyPaste, the plugin's own difficulties (D386), the helper, and with it the grid and profiles.raid.started,raid.completed,raid.ended,raid.purchasedandraid.locked. The unload trap's completions (no owner, no raiders) are neither sent nor counted. The tally gainsraidsCompleted.map.livegains araidslayer, kept by the hooks and seeded fromGetAllEvents().raid.spawn: with the helper, the base is a world registry entry (raid-<ms>-<n>), soworld.revert,world.ownedandworld.expiredserve it (never-startedafter 15 min,raidablebases-unloaded). Without the helper, the paid call orrbeventis used, and the base is not the run's.raid.checkgives the editor's advice.@data/RaidableBases/Profiles/path (D205). Writes are all profiles or none, reloaded by the helper, and rolled back when a profile doesn't load.Tested on both rigs (Rust 25902425, Oxide 2.0.7830, Carbon 2.0.262; paid 3.2.2, CopyPaste 4.3.0, tier-3 pack) through a throwaway plugin calling the handlers. Both routes passed with every setting, plus the spot check, a repeat key, revert, expiry, the unload, and a good and a broken profile edit. Details are in PLAN_REDESIGNS §11.4.6.
One rig finding. Paid RaidableBases on the Oxide rig broke on every spawn with none of our plugins loaded, and a restart cleared it. Recorded in §11.4.6. Both rigs are back on the edge bridge, with the helper, RaidableBases and CopyPaste removed; the pack's config and data stay for the end walk.
node scripts/checkPlugin.js: protocol 14, 89 hooks, all void and listed. Tests 18/18.Siblings: Rust-Link
feat/raidable-bases, Module-Rustfeat/raidable-bases, installerfeat/raidable-bases, website#217.🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY