SableCat
为 Sable 提供可靠性修复和完整的子层级恢复工具包。它是 Create-Aeronautics:Compatibility + Bug fixes (F**kSable) 的一个分支,通过重建来修复根本原因,而非仅仅掩盖问题。
概览
Sable 子层级为 Create: Aeronautics 中的飞艇、漫游车和其他机械装置提供动力。随着时间的推移,服务器会积累废弃的建筑、失控的实体、半途而废的项目以及损坏的子层级,这些都可能导致性能问题、数据丢失或崩溃。
SableCat 保留了 CACB 用户所熟悉的命令结构,但用更稳健的架构替换了内部实现:修复根本原因而非掩盖问题,通过正确的状态管理和坐标空间计算妥善处理边缘情况,并增加了 CACB 所缺乏的预防措施,如自动备份。
可靠性修复
异步保存可见性。 保存失败现在会清晰记录日志、进行跟踪,并向在线操作员发出闪烁警报,而不是完全静默地失败。
链式保存保护。 Sable 将物理上相邻的子层级分组进行保存操作。以前,该组中一个损坏的子层级可能会无声地中止整个批次。现在每个链成员的保存都是隔离的。
空数据删除崩溃。 真实的子层级删除可能在下一个保存周期导致整个服务器崩溃。已在源头修复。
删除时的实时驱逐。 已删除的子层级现在会从运行中的模拟中正确移除,而不仅仅是其磁盘记录。
恢复与管理工具包
所有命令均位于 /sablecat 下。
- rescue:修复姿态损坏但方块内容完整的子层级。
- purge:移除当前已加载且确认接近空的子层级。
- rescue purge:移除被捕获为无法恢复的加载失败的子层级。
- forcepurge:无条件移除已加载的子层级,不进行内容检查,完整记录并向操作员广播。
- manifest:跟踪本会话中看到的每个子层级,包括 UUID、名称、位置和最后查看时间。
- tphere:通过 UUID 或名称安全地重新定位子层级,保留方向并在到达时消除动量。
- import:通过 UUID 从离线备份恢复子层级。
- backup:自动、非破坏性、定期备份到独立库。带时间戳,永不覆盖,原子写入。
致谢
SableCat 是 Create-Aeronautics:Compatibility + Bug fixes (F**kSable) 的一个分支,该模组首次为 Sable 的内部结构带来了可见性和管理能力。本项目建立在该基础之上,我们鼓励用户也去查看原始模组。
祝 Sable 使用愉快!
SableCat
Reliability fixes and a full sub-level recovery toolkit for Sable. A fork of Create-Aeronautics:Compatibility + Bug fixes (F**kSable), rebuilt to fix root causes instead of papering over them.
Overview
Sable sub-levels power airships, rovers, and other contraptions in Create: Aeronautics. Over time, servers accumulate abandoned builds, runaways, half finished projects, and corrupted sub-levels, all of which can cause performance issues, data loss, or crashes.
SableCat keeps the same command structure CACB users already know, but replaces the internals with a more robust architecture: fixing root causes rather than papering over them, handling edge cases properly through correct state management and coordinate space calculations, and adding preventative measures like automatic backups that CACB lacked.
Reliability Fixes
Async save visibility. Save failures now log clearly, get tracked, and flash an alert to online operators, instead of failing completely silently.
Chain save guard. Sable groups physically touching sub-levels together for save operations. Previously, one corrupted sub-level in that group could silently abort the entire batch. Each chain member's save is now isolated.
Null data deletion crash. Genuine sub-level deletions could crash the entire server on the very next save cycle. Fixed at the source.
Live eviction on deletion. Deleted sub-levels are now properly removed from the running simulation, not just their on-disk record.
Recovery & Management Toolkit
All commands live under /sablecat.
- rescue: repairs sub-levels whose pose is corrupted but whose block content is intact.
- purge: removes a currently loaded sub-level confirmed to be near empty.
- rescue purge: removes a sub-level captured as an unrecoverable failed load.
- forcepurge: unconditional removal of a loaded sub-level, no content check, fully logged and broadcast to operators.
- manifest: tracks every sub-level seen this session, including UUID, name, location, and last seen time.
- tphere: safely relocates a sub-level by UUID or name, preserving orientation and zeroing momentum on arrival.
- import: recovers a sub-level from an offline backup by UUID.
- backup: automatic, non-destructive, periodic backups to an independent library. Timestamped, never overwritten, atomic writes.
Credit
SableCat is a fork of Create-Aeronautics:Compatibility + Bug fixes (F**kSable), the mod that first brought visibility and management to Sable's internals. This project stands on that foundation, and we encourage users to check out the original mod as well.
Happy Sabling!
评论 0
登录后参与评分
还没有评论,来抢沙发吧