Skip to content

v0.1.9.1 - Smart Craft persistence + 4-layer retry

Choose a tag to compare

@HOMEFTW HOMEFTW released this 29 Apr 12:03
· 8 commits to master since this release

v0.1.9.1 — Smart Craft persistence + 4-layer retry rollup

This is the cumulative release covering all increments from v0.1.1 through
v0.1.9.1 since v0.1.0. Highlights below; see log.md for the per-version
design notes and ToDOLIST.md for the task lists.

User-visible features

  • Multi-order tabs UI — every active smart-craft order gets its own tab
    with the player who issued it, the final-product icon, and a per-tab status
    dot. Owner gating ensures only the issuer can cancel / retry.
  • 4-layer retry mechanism — automatic backoff on three transient failure
    modes (plan / submit / link-cancel) plus full server-restart recovery.
    • L1 plan retry (5 / 10 / 20 / 40 / 80 tick backoff)
    • L2 submit retry (20 / 60 / 200 / 600 / 1200 tick backoff)
    • L3 link-cancel retry (6000 / 18000 / 36000 tick backoff)
    • L4 server-restart recovery (NBT + WorldSavedData + on-demand session
      rebind via the player's open AE2 container)
  • Per-task failure count — detail panel and tooltip surface
    failed N times so players can spot tasks that are currently struggling
    through retries.
  • Final-product tab icon — tabs always show the order's root request
    ItemStack rather than whatever leaf raw material happened to be the first
    task in the layer list.

Internals

  • SmartCraftOrderBuilder height-from-leaves layering with merge thresholds
    (SmartCraftMergeThreshold).
  • SmartCraftRequestKeyRegistry keeps the model package free of AE2
    imports; AE2 integration registers itself in preInit.
  • ownerName propagated end-to-end through SmartCraftOrder / Layer /
    Task NBT so re-binding after restart never targets the wrong player.
  • attemptRebindSession is owner-gated and uses reflection (getTarget())
    so it works across AE2 forks.
  • 31 unit tests passing (RuntimeCoordinator, OrderBuilder, OrderManager,
    packet codec, GUI button layout).

Artefacts

Jar Purpose
ae2intelligentscheduling-0.1.9.1.jar Player drop-in (notch obfuscation)
ae2intelligentscheduling-0.1.9.1-dev.jar SRG mappings, for development environments
ae2intelligentscheduling-0.1.9.1-sources.jar Source jar

Drop the first one into your mods/ folder. Requires Minecraft 1.7.10 with
GTNH 2.8.4 manifest dependencies (AE2 / Forge).