Commit Graph

135 Commits

Author SHA1 Message Date
Guillaume ARM
24ffcce68d feat(inferium-server): configs are persisted 2024-05-22 19:31:53 +02:00
Guillaume ARM
77210784ff fix(inferium-harvester): handle when a turtle is blocked during forward 2024-05-22 19:31:17 +02:00
Guillaume ARM
f38f3dc7bf fix(inferium-harvester): forget to pass config 2024-05-22 18:54:21 +02:00
Guillaume ARM
90a3ac864e feat(inferium): replace getplan by getconfig 2024-05-22 18:40:00 +02:00
Guillaume ARM
38b9c24bd6 refactor(inferium-harvester): dynamic config (but still local) 2024-05-22 18:24:33 +02:00
Guillaume ARM
f988356750 feat(install): remove listed old filed during installation 2024-05-22 18:04:32 +02:00
Guillaume ARM
ddf028b4a4 chore: update README 2024-05-22 01:17:36 +02:00
Guillaume ARM
6ca8bacaf6 chore: update default startup.lua file 2024-05-22 01:16:21 +02:00
Guillaume ARM
467378f0c9 feat(inferium-harvester): add config.fertilizedBoost 2024-05-22 01:15:20 +02:00
Guillaume ARM
a29f8ac5cb fix(inferium-harvester): display of the harvest state 2024-05-22 00:17:49 +02:00
Guillaume ARM
0a9294310a feat(inferium-harvester): better logs on refuel, harvest and remove seeds 2024-05-22 00:15:29 +02:00
Guillaume ARM
b8fb2390f2 fix(inferium-harvester): better error handling for fetchRemotePlan 2024-05-21 23:52:09 +02:00
Guillaume ARM
9bd5bbc127 fix(inferium-server): bug when evaluating the type of a message 2024-05-21 23:49:11 +02:00
Guillaume ARM
7233ed7eb5 fix(inferium-harvester): avoid printing the same error message each time 2024-05-21 23:45:44 +02:00
Guillaume ARM
b9144d6847 fix(net): QUERY_PROTO was not used by sendQuery 2024-05-21 23:44:24 +02:00
Guillaume ARM
97bb32b544 chore(inferium-harvester): better debug messages 2024-05-21 23:41:43 +02:00
Guillaume ARM
6071fdb6b4 feat(inferium-harvester): fetch the remote plan before getting the local plan 2024-05-21 23:39:12 +02:00
Guillaume ARM
11b6f140e1 chore: add some debug messages 2024-05-21 23:37:35 +02:00
Guillaume ARM
cf39e16fa3 fix(inferium-server): server crash at start 2024-05-21 23:35:30 +02:00
Guillaume ARM
a4a33d1eef feat(inferium-harvester): improve printed messages + fuel management at start 2024-05-21 23:27:57 +02:00
Guillaume ARM
9dd106763e feat! migrate inferium-harvester and inferium-server to rednet 2024-05-21 23:08:12 +02:00
Guillaume ARM
cfea9f575f feat(net): add openRednet and closeRednet utils 2024-05-21 22:51:47 +02:00
Guillaume ARM
4f16cef9f5 fix(net): bad channel + change return of sendQuery 2024-05-21 22:34:50 +02:00
Guillaume ARM
5305afe203 feat(net): stopServer function for net.listenQuery 2024-05-21 21:58:49 +02:00
Guillaume ARM
3f92309ac6 feat: add new lib net.lua 2024-05-21 21:51:02 +02:00
Guillaume ARM
6294b38806 feat(inferium-server): add a warning when computerId is not known by the system 2024-05-21 20:24:09 +02:00
Guillaume ARM
cdad0204ba fix(inferium-harvester): replant only when needed 2024-05-21 20:08:07 +02:00
Guillaume ARM
cc1d083aa7 fix(inferium-server): computerId should be stringified 2024-05-21 19:12:03 +02:00
Guillaume ARM
efeba6f4cb fix(inferium-plans): default plan 2024-05-21 19:09:11 +02:00
Guillaume ARM
e628ec2153 feat(inferium-server)!: support of multi computer plans 2024-05-21 18:52:07 +02:00
Guillaume ARM
b075b953ab feat(inferium-harvester): crash the process when no response from the inferium server 2024-05-21 18:51:02 +02:00
Guillaume ARM
d4cbe6e808 feat(inferium-harvester): do not block harvest procedure when no crop 2024-05-21 18:02:27 +02:00
Guillaume ARM
4af7ae8cfe feat(inferium-harvester): do not wait for crops 2024-05-21 17:56:27 +02:00
Guillaume ARM
d16a9b2587 feat(inferium-harvester): update the local plan on the go 2024-05-21 17:48:59 +02:00
Guillaume ARM
be9c2c10a1 fix(inferium-harvester): shallow clone of the local plan to avoid errors 2024-05-21 17:43:22 +02:00
Guillaume ARM
f483c41c88 chore: remove energySaving mode 2024-05-21 17:42:58 +02:00
Guillaume ARM
8f14f48914 chore(inferium-server): change printed messages 2024-05-21 00:59:28 +02:00
Guillaume ARM
87188093f4 chore(inferium-server): print a message to the user 2024-05-21 00:57:21 +02:00
Guillaume ARM
e883deba5a feat(inferium-harvester): implement fetchRemotePlan 2024-05-20 22:26:53 +02:00
Guillaume ARM
cdb0e6e84f feat: implement basic inferium server 2024-05-20 22:19:27 +02:00
Guillaume ARM
5e2234da78 feat(inferium-harvester): add defaultRemotePlan to the static config 2024-05-20 21:08:10 +02:00
Guillaume ARM
340d5f4cff chore(inferium-harvester): remove print messages 2024-05-20 21:05:10 +02:00
Guillaume ARM
930b104522 fix: replace utils.difference by utils.shallowDiff 2024-05-20 20:51:37 +02:00
Guillaume ARM
e9ebf63c55 feat: create utils lib 2024-05-20 20:26:43 +02:00
Guillaume ARM
b1c3eac1b9 chore: retry with old implementation of difference 2024-05-20 20:21:09 +02:00
Guillaume ARM
a8788ca3b1 fix(inferium-harvester): set local plan to remote plan at the end of the replant procedure 2024-05-20 20:08:13 +02:00
Guillaume ARM
86baeb83f0 chore: try with a new implementation of difference 2024-05-20 19:58:11 +02:00
Guillaume ARM
997fe76fd1 fix(inferium-harvester): add sizeof util to compute the size of a table 2024-05-20 19:54:31 +02:00
Guillaume ARM
586b656fd7 chore: debug 2024-05-20 19:49:00 +02:00
Guillaume ARM
0f78c1c994 chore(inferium-harvester): add some print debug messages 2024-05-20 19:47:45 +02:00