rewbensandwich-ValheimRAFT_Rewben icon

ValheimRAFT Rewben

Rewben ValheimRAFT fork: native portal synchronization repairs and RaftRebalance behavior.

CHANGELOG

Changelog

Package and runtime 5.1.108

  • Open portal audit and every repair form to all connected players, including non-admin clients and local hosted players. No admin or devcommands required. Other administrative vehicle commands and interval settings retain their locks.
  • Serialize manual and automatic cleanup with the same server job lock. Requests during cleanup return progress instead of creating a competing or queued job.
  • Enforce global five-second audit and repair cooldowns independently, so audit can be followed immediately by repair. Revalidate snapshots only after reserving the repair slot; extend the repair cooldown through five seconds after completion.
  • Keep audit ownership/expiry and explicit deletion confirmation. Retain at most one active audit per player connection; new audits replace that player's token. Cooldown/busy rejections preserve tokens. Stale audits require a fresh scan.
  • Deliver progress/completion to non-admin requesters. Disconnects stop further batches for manual jobs. Unknown/disconnected RPC senders cannot request work.
  • Add regression tests for simultaneous players, jobs lasting beyond the cooldown, automatic/manual contention, public client/host/explicit-ID access, requester ownership, disconnects and audit cooldowns. Server and clients need 5.1.108.

Package and runtime 5.1.107

  • Add server-side automatic ship-portal cleanup, enabled every ten minutes by default. Configure [Portal Maintenance] CleanupIntervalMinutes from 1 to 1440; 0 disables it. No admin needs to be connected. First pass waits up to two minutes after world load or interval changes; world saves are unaffected.
  • Reuse the manual 1 mm ship/prefab/coordinate-frame duplicate selection and batched, acknowledged network deletion. Preserve keepers, recheck each batch, skip invalid positions, and serialize automatic/manual cleanup jobs.
  • Write exact selections before deletion and retain the latest two automatic reports. Log results and retry failures at the next interval. Disable mid-job to stop new batches. Repair registries/live copies and refresh clients.
  • Keep manual audit/repair commands and their admin permissions. An automatic pass can invalidate a prior manual audit; request a new audit when that happens.
  • Add production-code regression coverage for scheduling, repeated passes, no-admin operation, client exclusion, config changes, cancellation, stale audits, report failures/rotation and preservation of distinct portals.
  • Build against Valheim 1.0.21. Server and all clients must update to 5.1.107. Live dedicated-server and multiplayer acceptance remain pending.

Package and runtime 5.1.106

  • Rebuild TargetPortal's cached portal set after explicit cleanup, including dead pooled ZDOs whose network IDs and hash codes changed. Clear temporary map pins after rebuilding so the deleted records cannot recreate them before the next TargetPortal refresh.
  • Match the game record's mutable-ID equality/hash behavior in regression doubles and verify stale pooled records are removed while the surviving portal remains.
  • Includes the confirmed position cleanup introduced in 5.1.105. Server and all clients must use 5.1.106. No saved-record cleanup runs during installation.

Package and runtime 5.1.105

  • Audit position-based saved-portal duplicates using ship, prefab, coordinate frame and unrounded local 3D position with a 1 mm tolerance. Keep one portal per group; missing or invalid local positions are excluded from cleanup.
  • Print duplicate counts and the exact short-ID --dedupe --confirm command. Audit stays read-only; complete keep/remove selections remain in the report.
  • Delete only after explicit admin confirmation, in batches of at most 32 with network deletion acknowledgements. Stop on changed records, keepers, sessions or worlds. Append repair selections/results to the audit file without refunds.
  • Rebuild portal registries in one pass and detach deletion batches efficiently. Replace the large repair-ID broadcast with a compact registry refresh signal.
  • Clear TargetPortal's temporary map pins and prune stale cached records after repair. Unrelated saved map pins are unaffected.
  • Add production-code tests for large cleanup, position boundaries, invalid coordinates, different ships/types, confirmation, cancellation and map refresh.
  • Server and clients must all update to runtime 5.1.105.

Package and runtime 5.1.104

  • Limit the server audit preview to ten portal records and show the total count and audit ID prominently at both the start and end of the response.
  • Replace the client's unbounded full-record dump with a small loaded-instance counter. Preserve complete server reports in PortalAudits/<id>.txt.
  • Use six-character, case-insensitive audit IDs with collision checks against active audits and saved report filenames. Keep admin/session ownership and five-minute expiry checks.
  • Periodic portal diagnostics no longer format a full per-record report only to discard it and print the first line.
  • Add regression coverage using the production audit commands with 16,248 saved records. Existing saved portals and deletion rules remain unchanged.
  • Server and clients must all update to runtime 5.1.104.

Package 5.1.103 / runtime 5.1.102

  • Put runtime DLLs and their Assets hierarchy under an explicit plugins/ folder so Gale/r2modman preserve sail textures and translations.
  • Rebuild with virtual source paths and without debug symbols.
  • Remove the bundled ServerSync binary's original machine-specific CodeView path; executable code, assembly identity and public attribution are retained.
  • Ship public installation documentation instead of developer build/deployment notes.
  • Validate allowed files, privacy patterns, checksums and asset placement before accepting the final ZIP. No changes to gameplay, saved identifiers or runtime network version are included in this packaging release.

Runtime 5.1.102

  • Fix the deployment check's false alarm on the container's informational log-filter declaration and return startup evidence over the deployment connection.

Runtime 5.1.101

  • Initial fork integrating portal synchronization corrections, TargetPortal pairing compatibility, admin portal tools and native RaftRebalance policy/migration/refunds.