Structs Power
Important: Entity IDs containing dashes (like 3-1, 4-5) are misinterpreted as flags by the CLI parser. All transaction commands in this skill use -- before positional arguments to prevent this.
Procedure
- 1. Assess power state — Query player:
structsd query structs player [id]. Compute: availablePower = (capacity + capacitySecondary) - (load + structsLoad). If load + structsLoad > capacity + capacitySecondary, player goes OFFLINE (cannot act). Player passive draw: 25,000 mW. - Create substation — First create allocation from reactor/generator:
structsd tx structs allocation-create --allocation-type static|dynamic|automated|provider-agreement TX_FLAGS -- [source-id] [power]. The --controller flag accepts a PlayerId (e.g., 1-42). If omitted, the creating player is the default controller. Then: structsd tx structs substation-create TX_FLAGS -- [owner-id] [allocation-id]. - Connect power —
structsd tx structs substation-allocation-connect -- [substation-id] [allocation-id] to add source. structsd tx structs substation-allocation-disconnect -- [substation-id] [allocation-id] to remove. - Connect players —
structsd tx structs substation-player-connect -- [substation-id] [player-id] to draw power. structsd tx structs substation-player-disconnect -- [substation-id] [player-id] to remove. - Migrate players —
structsd tx structs substation-player-migrate TX_FLAGS -- [source-substation-id] [dest-substation-id] [player-id,player-id2,...]. - Manage allocations — Update:
structsd tx structs allocation-update -- [allocation-id] [new-power]. Delete: structsd tx structs allocation-delete -- [allocation-id]. - Delete substation —
structsd tx structs substation-delete -- [substation-id] (disconnect allocations/players first).
Commands Reference
| Action | Command |
|---|
| Substation create | INLINECODE18 |
| Substation delete |
structsd tx structs substation-delete -- [substation-id] |
| Allocation connect |
structsd tx structs substation-allocation-connect -- [substation-id] [allocation-id] |
| Allocation disconnect |
structsd tx structs substation-allocation-disconnect -- [substation-id] [allocation-id] |
| Player connect |
structsd tx structs substation-player-connect -- [substation-id] [player-id] |
| Player disconnect |
structsd tx structs substation-player-disconnect -- [substation-id] [player-id] |
| Player migrate |
structsd tx structs substation-player-migrate -- [src-substation-id] [dest-substation-id] [player-ids] |
| Allocation create |
structsd tx structs allocation-create --allocation-type [type] -- [source-id] [power] |
| Allocation update |
structsd tx structs allocation-update -- [allocation-id] [power] |
| Allocation delete |
structsd tx structs allocation-delete -- [allocation-id] |
TX_FLAGS: INLINECODE28
Verification
- - Player:
structsd query structs player [id] — capacity, capacitySecondary, load, structsLoad, online status. - Substation:
structsd query structs substation [id] — connected allocations, players. - Allocations:
structsd query structs allocation-all-by-source [source-id], allocation-all-by-destination [dest-id] — power flow.
How to Increase Capacity
If capacity is too low (or you're going offline), there are three paths:
| Method | Requires | Speed | Risk | Rate |
|---|
| Reactor infusion | Alpha Matter | Immediate | Low | 1g ≈ 1 kW (minus commission) |
| Generator infusion |
Alpha Matter + generator struct | Immediate | High (irreversible, raidable) | 1g = 2-10 kW |
| Buy via agreement | A provider with capacity | Immediate | Medium (ongoing cost) | Varies by provider |
Most common: Infuse Alpha Matter into your guild's reactor. Capacity increases automatically.
For step-by-step workflows, see the structs-energy skill.
Error Handling
- - Going offline: Load exceeds capacity. Deactivate structs immediately (
struct-deactivate), then increase capacity — see the structs-energy skill for options. - Allocation exceeds source: Source (reactor/provider) has limited capacity. Query source; create smaller allocation or add capacity.
- Substation delete failed: Ensure no players or allocations connected. Disconnect first.
- Automated allocation limit: One automated allocation per source. Attempting a second from the same source will error. Use static/dynamic for multiple.
- capacity=0 false positive: A player connected to a substation pool may show
capacity=0 while structs are online and drawing power. Check structsLoad > 0 as the real indicator of functionality, not capacity > 0.
See Also
Structs Power
重要提示:包含连字符的实体ID(如3-1、4-5)会被CLI解析器误判为标志。本技能中的所有交易命令在位置参数前使用--以防止此问题。
操作流程
- 1. 评估电力状态 — 查询玩家:structsd query structs player [id]。计算:可用电力 = (容量 + 次级容量) - (负载 + 结构负载)。如果负载 + 结构负载 > 容量 + 次级容量,玩家将进入离线状态(无法行动)。玩家被动抽取:25,000 mW。
- 创建变电站 — 首先从反应堆/发电机创建分配:structsd tx structs allocation-create --allocation-type static|dynamic|automated|provider-agreement TXFLAGS -- [源ID] [电力]。--controller标志接受玩家ID(例如1-42)。如果省略,创建玩家为默认控制器。然后:structsd tx structs substation-create TXFLAGS -- [所有者ID] [分配ID]。
- 连接电力 — structsd tx structs substation-allocation-connect -- [变电站ID] [分配ID]添加电源。structsd tx structs substation-allocation-disconnect -- [变电站ID] [分配ID]移除电源。
- 连接玩家 — structsd tx structs substation-player-connect -- [变电站ID] [玩家ID]抽取电力。structsd tx structs substation-player-disconnect -- [变电站ID] [玩家ID]移除玩家。
- 迁移玩家 — structsd tx structs substation-player-migrate TX_FLAGS -- [源变电站ID] [目标变电站ID] [玩家ID,玩家ID2,...]。
- 管理分配 — 更新:structsd tx structs allocation-update -- [分配ID] [新电力]。删除:structsd tx structs allocation-delete -- [分配ID]。
- 删除变电站 — structsd tx structs substation-delete -- [变电站ID](先断开分配/玩家连接)。
命令参考
| 操作 | 命令 |
|---|
| 创建变电站 | structsd tx structs substation-create -- [所有者ID] [分配ID] |
| 删除变电站 |
structsd tx structs substation-delete -- [变电站ID] |
| 连接分配 | structsd tx structs substation-allocation-connect -- [变电站ID] [分配ID] |
| 断开分配 | structsd tx structs substation-allocation-disconnect -- [变电站ID] [分配ID] |
| 连接玩家 | structsd tx structs substation-player-connect -- [变电站ID] [玩家ID] |
| 断开玩家 | structsd tx structs substation-player-disconnect -- [变电站ID] [玩家ID] |
| 迁移玩家 | structsd tx structs substation-player-migrate -- [源变电站ID] [目标变电站ID] [玩家ID列表] |
| 创建分配 | structsd tx structs allocation-create --allocation-type [类型] -- [源ID] [电力] |
| 更新分配 | structsd tx structs allocation-update -- [分配ID] [电力] |
| 删除分配 | structsd tx structs allocation-delete -- [分配ID] |
TX_FLAGS:--from [密钥名称] --gas auto --gas-adjustment 1.5 -y
验证
- - 玩家:structsd query structs player [id] — 容量、次级容量、负载、结构负载、在线状态。
- 变电站:structsd query structs substation [id] — 连接的分配、玩家。
- 分配:structsd query structs allocation-all-by-source [源ID]、allocation-all-by-destination [目标ID] — 电力流向。
如何增加容量
如果容量过低(或即将离线),有三种途径:
| 方法 | 需要 | 速度 | 风险 | 比率 |
|---|
| 反应堆注入 | Alpha物质 | 即时 | 低 | 1g ≈ 1 kW(扣除佣金) |
| 发电机注入 |
Alpha物质 + 发电机结构 | 即时 | 高(不可逆,可掠夺) | 1g = 2-10 kW |
| 通过协议购买 | 有容量的供应商 | 即时 | 中等(持续成本) | 因供应商而异 |
最常见:将Alpha物质注入公会的反应堆。容量自动增加。
有关分步工作流程,请参阅structs-energy技能。
错误处理
- - 离线:负载超过容量。立即停用结构(struct-deactivate),然后增加容量 — 有关选项,请参阅structs-energy技能。
- 分配超过源:源(反应堆/供应商)容量有限。查询源;创建较小的分配或增加容量。
- 变电站删除失败:确保没有连接的玩家或分配。先断开连接。
- 自动分配限制:每个源一个自动分配。尝试从同一源创建第二个将报错。多个分配请使用静态/动态类型。
- 容量=0误报:连接到变电站池的玩家可能在结构在线并抽取电力时显示容量=0。检查结构负载 > 0作为功能性的真实指标,而非容量 > 0。
参见