-
Notifications
You must be signed in to change notification settings - Fork 20
/
changelog.txt
817 lines (816 loc) · 49.8 KB
/
changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
---------------------------------------------------------------------------------------------------
Version: 1.1.14
Date: 2024-05-28
Bugfixes:
- Fixed a crash after a new surface was created and a Constructron and / or station was placed on that surface.
- Fixed a crash when a surface was deleted and a Constructron and / or station was present on that surface.
Changes:
- Radar reveal will now only detect spawners and worms to trigger a destroy job to reduce the amount of jobs triggered.
- An entity proximity search has been added to radar scanning to discover the full nest size to reduce the amount of jobs triggered.
- Chunk checks now only detect military targets, which filters out worm splashes, reducing the amount of jobs triggered.
- Destroy jobs will now progress conditionally on enemies in range rather than potentially terminating early based on arbitrary timing.
- Repair pack count is now based on robot count times 4 instead of 50 + 2 per entity in the case of destroy jobs.
Translation:
- updated russian locale [thanks Eldrinn-Elantey]
---------------------------------------------------------------------------------------------------
Version: 1.1.13
Date: 2024-05-26
Bugfixes:
- Fixed an issue with the selection tool not triggering destroy jobs.
- Fixed a crash when a logistic slot was manually set on a Constructron and the max request was 'infinity'.
- Fixed an issue where construction jobs were disabled and Constructrons and Stations were not registered.
---------------------------------------------------------------------------------------------------
Version: 1.1.12
Date: 2024-05-25
Bugfixes:
- Fixed a crash related to combinators when more than 20 items were requested.
---------------------------------------------------------------------------------------------------
Version: 1.1.11
Date: 2024-05-24
Features:
- [MAJOR] Entity selection tool: Bypass job toggle settings by manually selecting which entities you want constructed & deconstructed.
- SHIFT + C To activate
- Left click select to build
- Right click select to deconstruct
- Shift right click select to destroy
- [MAJOR] Destroy jobs: Constructrons will seek and destroy biter nests found via radar reveal.
- [MAJOR] Added the ability to request a default amount of ammo for Constructrons to defend themselves with.
- [MAJOR] Added circuit output to Stations which output what Constructrons are requesting at that particular Station and general stats.
- Utility jobs - a new job type that allows for the Constructron to perform a variety of tasks. Represented by the color yellow.
- Robot collection: Constructrons will now go and collect robots left behind after a job (E.g. after a deconstruction job with full inventory) instead of waiting for them at the station.
- Constructrons that get dammaged below 60% health will now cancel the job and attempt to retreat to the service station.
Changes:
- Corrected setting name enties_per_tick to entities_per_second.
- Repair jobs now paint the Constructron's purple and black is now used for destroy jobs.
- Constructron's that cannot find a path now present a red line to the failed destination in debug mode.
- Changed the amount of repair packs a repair job takes per entity to 1 instead of 3.
- Added interface for other mods to notify Constructron about new entities. [fgardt]
Bugfixes:
- Fixed a crash when the custom pathfinder iterated into ungenerated chunks.
---------------------------------------------------------------------------------------------------
Version: 1.1.10
Date: 2024-05-18
Features:
- [MAJOR] Entity selection tool: Bypass job toggle settings by manually selecting which entities you want constructed & deconstructed.
- SHIFT + C To activate
- Left click select to build
- Right click select to deconstruct
Changes:
- Added compatibility with Nullius [fgardt]
---------------------------------------------------------------------------------------------------
Version: 1.1.9
Date: 2024-02-26
Changes:
- Added confirmation messages to horde mode enable/disable command.
- Updated /ctron help to include horde mode enable/disable command.
- Added debug message to inform the user when a Constructron is not considered for a job because robots have not made it back into the inventory.
Bugfixes:
- Fixed a crash when commands were ran from the server console.
- Fixed a crash when jobs were in progress and the last station was removed or has no power.
- Hopefully fixed the intermittent inventory overload issue once and for all.
---------------------------------------------------------------------------------------------------
Version: 1.1.8
Date: 2024-02-20
Bugfixes:
- Fixed an entity validation issue when a station has no power.
---------------------------------------------------------------------------------------------------
Version: 1.1.7
Date: 2024-02-19
Bugfixes:
- Fixed Constructrons prematurely walking away before all entities are deconstructed.
- Fixed request / inventory overload potential in chunk merging process.
---------------------------------------------------------------------------------------------------
Version: 1.1.6
Date: 2024-02-16
Bugfixes:
- Fixed a crash when a station has no power.
- Fixed item request proxies not being found by a reset all command.
- Fixed entities not being scanned which prevents the subsequent job from being created after a construction chunk was overloaded.
- Fixed robots not being factored in to the total required slot calculation on the first chunk of a job which could lead to inventory overload.
- Fixed (or at least significantly improved) construction job slot calculation to prevent inventory / request overload.
Changes:
- Added /ctron (enable|disable) horde to enable/disable horde mode via command.
- Added robot check in the migration script to check that robots are valid.
- Filtered out fish from the entity processor to stop Constructrons attempting to walk on water. Sorry no fishing zone.
---------------------------------------------------------------------------------------------------
Version: 1.1.5
Date: 2024-01-28
Changes:
- Fixed a typo.
---------------------------------------------------------------------------------------------------
Version: 1.1.4
Date: 2024-01-28
Bugfixes:
- Fixed entity validiation.
- Fixed Constructrons gettings stuck trying to navigate to an island during a landfill job.
---------------------------------------------------------------------------------------------------
Version: 1.1.3
Date: 2024-01-25
Bugfixes:
- Fixed Constructrons getting stuck deconstructing cliffs with no cliff-explosives in inventory.
---------------------------------------------------------------------------------------------------
Version: 1.1.2
Date: 2024-01-21
Changes:
- Fixed an issue that caused the Constructron waypoints to be out of order on landfill jobs.
---------------------------------------------------------------------------------------------------
Version: 1.1.1
Date: 2024-01-19
Changes:
- Reimplemented chunk splitting for deconstruction jobs. This will use more Constructrons when a chunk has more than one inventory worth of items to collect.
Bugfixes:
- Fixed an issue that caused Constructrons to not use the games pathfinder during landfill jobs.
- Fixed an issue where Constructrons could not path to or from proximity to water.
- Fixed an issue where full Constructrons would not return to the station.
- Fixed a crash when a Constructron did not have any roboports and was being considered for a job.
- Fixed a crash when the station was assigned to a job, is removed, and no Constructrons were available.
- Fixed a crash in the custom pathfinder after iterations completed and there was no more task positions left.
---------------------------------------------------------------------------------------------------
Version: 1.1.0
Date: 2024-1-05
Features:
- [MAJOR] Implemented a custom pathfinder to augment the games pathfinder for landfill jobs.
Changes:
- [MAJOR] Completely overhauled the job operation code.
- Aligned the Constructron collision mask to the Spidertron which allows Constructrons to path through shallow water.
- [SE] Added event handler for teleportation of Constructrons and Stations.
- The reset command no longer triggers jobs for job types that are disabled.
- It is now possible to clear an individual job types queue and unprocessed entities. see /ctron help
- The minimum supported Factorio version for this mod is now 1.1.77.
Bugfixes:
- Fixed managed surfaces not being repopulated when performing the reset command.
- Fixed infamous line 285 crash during deconstruction processing of modded entities that did not return a product upon mining the entity.
- Fixed Constructrons getting stuck while building long trains.
- Fixed request / inventory overload.
- Fixed items-on-ground not being actioned upon being marked for deconstruction due to legacy code.
- Fixed roboport radius not being reset when a reset command was run dueing landfill jobs.
Other:
- Removed clear robots setting as this is now done by default.
- Robot name is validated on mod setting change rather than within a job and will be reset if it is invalid with a message displayed.
---------------------------------------------------------------------------------------------------
Version: 1.0.74
Date: 2023-05-05
Changes:
- Modified pathfinder attempt process to attempt more things in one go for a faster outcome.
Bugfixes:
- Request overload issue that causes the Constructron to wait for logistics with a full inventory.
---------------------------------------------------------------------------------------------------
Version: 1.0.73
Date: 2023-03-16
Changes:
- Added Chinese localisation.
---------------------------------------------------------------------------------------------------
Version: 1.0.72
Date: 2023-03-10
Changes:
- Added Russian localisation.
- Added French localisation.
- Using the 'reset all' or 'clear all' commands now resets path request queues.
---------------------------------------------------------------------------------------------------
Version: 1.0.71
Date: 2023-03-03
Bugfixes:
- Fixed Constructrons not requesting bots when used for the first time on a deconstruction job.
- Fixed icon sizes on assemblers, chests and belts.
---------------------------------------------------------------------------------------------------
Version: 1.0.70
Date: 2023-02-25
Changes:
- [SE] Changed normal recipes to align with the spidertron.
---------------------------------------------------------------------------------------------------
Version: 1.0.69
Date: 2023-02-09
Features:
- Horde Mode. Literally thousands of Constructrons can perform jobs by assigning one Constructron per task/chunk. (avoids job proximity merging)
Changes:
- New setting: Horde Mode - toggles horde mode.
- Constructrons no longer step to the station if they are already in range.
- Added requeue functionality to path finder when it is busy instead of retrying the job action.
Bugfixes:
- Fixed a crash when the specified robot name was invalid in the settings.
---------------------------------------------------------------------------------------------------
Version: 1.0.68
Date: 2023-02-05
Improvements:
- Constructrons will now move to a new station if their own station they are requesting at is removed.
Bugfixes:
- Fixed an issue that caused a memory leak and game crash when a Constructron had a roboport with a construction radius of 0.
- Fixed a crash when considering roboports to roam to that are out of power.
Changes:
- New command: /ctron enable all - enables all job types.
- New command: /ctron disable all - disables all job types.
---------------------------------------------------------------------------------------------------
Version: 1.0.67
Date: 2023-02-04
Bugfixes:
- Fixed a crash when an entity was deconstructructed with an inventory but was not in the trash_items cache.
- Fixed a crash when the job.request_station was invalidated during logistic roaming.
- Fixed an issue where Constructrons would get staged and the function would return early instead of moving on to find an available Constructron.
- Fixed and issue where Constructrons would get staged but the job_processor would not be triggered.
Changes:
- Increased maximum entities_per_tick settin value to 100000.
---------------------------------------------------------------------------------------------------
Version: 1.0.66
Date: 2023-02-03
Bugfixes:
- Fixed a crash when tiles were deconstructed.
---------------------------------------------------------------------------------------------------
Version: 1.0.65
Date: 2023-02-03
Features:
- Smart logistic roaming. Constructrons will now roam to other stations if the current logistic network has nothing to offer and another one does.
Improvements:
- Major job efficiency improvements because all entities are placed inside a chunk before it can be released as a job.
- Optimizations, when different things are idle they are now disabled and awoken when needed.
- Pathfinder speed & performance attempt was re-introduced when not on a landfill job.
- Jobs are given to constructrons all at the same time now instead of one per second previously.
- Constructrons will no longer roam the map just because a chunk will fit into it's inventory.
- Entity inventories are now taken into account when deconstructing. i.e modules, inputs, outputs and fuel etc. This will cause far more Constructrons to be sent to the job site when there are full chests etc.
Bugfixes:
- Deconstruction jobs should always be selected first now.
- Fixed an issue where if the path finder was busy it would mark the path in the job as active.
- Fixed an issue where the try_again_attempts in the path finder were reset with each new request.
Changes:
- A red rectangle is drawn around the chunks in debug mode where and when entities are being processed.
- Logistic request slots are now cleared as they are filled making it easier to identify lacking items.
- Removed missing material alert setting, the alert is only triggered when no stations have anything to offer after 15 seconds.
- Removed max_jobtime setting as it only effected the old station roaming method.
Info:
- The job_start_delay setting is no longer the maximum wait time before jobs get released but rather the minimum.
- Very large jobs will seem slow to start, this is becuase of the entity processing embargo. The entities_per_tick setting effects this delay significantly.
---------------------------------------------------------------------------------------------------
Version: 1.0.64
Date: 2023-01-23
Bugfixes:
- Fixed a crash when Constructrons were recalled via command(s).
- Fixed an issue where chunks could be overloaded with entities that resulted in a job loop.
Changes:
- Added job chunk visuals to debug mode.
- Large amounts of code restructure.
---------------------------------------------------------------------------------------------------
Version: 1.0.63
Date: 2023-01-21
Bugfixes:
- A crash when clearing items from trash took too long.
- Constructrons movement speed was inhibited while station roaming.
---------------------------------------------------------------------------------------------------
Version: 1.0.62
Date: 2023-01-20
Bugfixes:
- Constructrons not operating on any surface other than nauvis.
- A possible crash during the v1.0.55 migration script when pathfinder global variables weren't initialised yet.
---------------------------------------------------------------------------------------------------
Version: 1.0.61
Date: 2023-01-20
Bugfixes:
- A crash if '/ctron reset settings' was used.
- Empty slots during job creation not being counted correctly.
Changes:
- Large amounts of code restructure.
- Refactor chunk merge function.
- Refactor request_done condition.
---------------------------------------------------------------------------------------------------
Version: 1.0.60
Date: 2023-01-17
Bugfixes:
- A crash when Constructrons had certain roboport equipments equipped.
- An issue where items were blacklisted when some but not all recipies were hidden.
---------------------------------------------------------------------------------------------------
Version: 1.0.59
Date: 2023-01-15
Bugfixes:
- Constructrons powered by solar energy were not being considered for jobs.
- Migration script issue causing a crash when loading older game saves.
---------------------------------------------------------------------------------------------------
Version: 1.0.58
Date: 2023-01-15
Bugfixes:
- Constructrons and Stations not being correctly counted if /ctron clear all command was used.
- Allowed_items cache was being cleared but not rebuilt if /ctron reset all was used.
Changes:
- Removed toggle setting for items-on-ground. (due to entity processing optimizations).
---------------------------------------------------------------------------------------------------
Version: 1.0.57
Date: 2023-01-14
Bugfixes:
- [SE] Spidertrons despawn when ordered to place spaceship tiles.
- Miniloaders not being upgraded.
- A crash if roboports were removed whilst on a landfill job.
Improvements:
- Large amounts of optimization to entity processing.
- Code/file restructuring for better readability and navigation.
- Improvements to Debug mode to show more information about what is happening.
Changes:
- Added a power source as an equipment requirement instead of just roboports. Which prevents Constructrons walking off while being setup.
- The "equipment needed" message will be draw on Constructrons even without debug mode enable if equipment requirements are not met.
- Landfill now cannot be disabled and all settings have been removed (due to entity processing optimizations).
- Removed action messages in debug mode due to not being specific to a Constructron. Instead, see text drawn on the Constructrons.
---------------------------------------------------------------------------------------------------
Version: 1.0.56
Date: 2023-01-09
Bugfixes:
- A crash when other mods called the game pathfinder API.
---------------------------------------------------------------------------------------------------
Version: 1.0.55
Date: 2023-01-09
Info:
- 1 Year anniversary update!
Bugfixes:
- Pathfinder retries failing which prevented traversal of land 1 tile wide.
- Containers that were not completely emptied/picked up during deconstruction jobs would not be added as a new job in the chunk checks.
- Constructrons taking small movement steps in jobs.
- Entities that could be placed by multiple different items will no longer request all items but only the first.
Improvements:
- Pathfinder will now search for the mainland and start building from a fairly close point rather than trying to path through the whole lake.
Changes:
- Overhaul of Constructron movement actions/conditions.
- Renvations to job actions and job conditions code.
- Deduplicated validation code.
- Pathfinder was refactored for better readability & less complexity.
- Pathfinder was overhauled in general.
---------------------------------------------------------------------------------------------------
Version: 1.0.54
Date: 2022-12-29
Improvements:
- Constructrons no longer respond to entites within roboport range that robots have already been dispathed to fulfill.
- Slight optimization to entity processing.
- Tweaked upgrade jobs to follow standard processing.
Changes:
- Entity processing is now every 15 ticks instead of every tick.
---------------------------------------------------------------------------------------------------
Version: 1.0.53
Date: 2022-12-28
Bugfixes:
- A crash when /ctron reset settings was used.
- Some settings were not being reset to defaults when using /ctron reset settings.
- Fixed pathfinder.initial_bounding_box being inadvertenly changed during path requests.
Improvements:
- Added a constant waypoint overshoot and waypoint orbit check when Constructrons are active and are moving faster than intended due to other mods.
- Tweaked path finder to use very skinny paths.
Changes:
- Various internal CI improvements.
- Various code comments added.
- Added better formatting in pathfinder code for readability.
- Added initial go_to_position job to get to the service station before request_items job.
---------------------------------------------------------------------------------------------------
Version: 1.0.52
Date: 2022-12-26
Bugfixes:
- An issue where Constructrons would get stuck in perpetual 'moving to position'.
Improvements:
- Overshoot prevention. Constructrons will now slow to base speed within 3 map chunks of the destination.
---------------------------------------------------------------------------------------------------
Version: 1.0.51
Date: 2022-12-25
Bugfixes:
- A crash on load when jobs were in progress after 1.0.50.
---------------------------------------------------------------------------------------------------
Version: 1.0.50
Date: 2022-12-24
Changes:
- [internal] expose job to actions and conditions for later use.
- Job retry after 3 failures of attempting to move to a position.
---------------------------------------------------------------------------------------------------
Version: 1.0.49
Date: 2022-12-23
Changes:
- Defaulted max entities per tick to 1000 instead of 100.
Bugfixes:
- Required item count is now correctly factored in when identifying if a Constructron has inventory to build a ghost.
---------------------------------------------------------------------------------------------------
Version: 1.0.48
Date: 2022-12-15
Bugfixes:
- Modded roboports being removed.
- A bug that caused a crash when the Constructron could not reach its destination.
- A bug that caused a crash when a Constructron was standing in a logistic network but did not have a roboport itself.
---------------------------------------------------------------------------------------------------
Version: 1.0.47
Date: 2022-12-06
Bugfixes:
- A bug where which caused jobs not to trigger when clear_robots_when_idle was enabled.
Other:
- Added type annotations to functions. [fgardt]
---------------------------------------------------------------------------------------------------
Version: 1.0.46
Date: 2022-12-01
Changes:
- Major changes to landfill behaviour that results in a much better experience. Constructrons will now build landfill as they move toward the construction area creating a path.
Bugfixes:
- Constructrons and Stations would not be registered when construction jobs were disabled.
---------------------------------------------------------------------------------------------------
Version: 1.0.45
Date: 2022-11-13
Bugfixes:
- A bug which caused Constructrons to work on the wrong surface.
---------------------------------------------------------------------------------------------------
Version: 1.0.44
Date: 2022-11-11
Changes:
- Made the experience of Constructron staging a bit better when logistic requests were delayed.
- Code Cleanup.
---------------------------------------------------------------------------------------------------
Version: 1.0.43
Date: 2022-11-10
Changes:
- Removed periodic Constructron checks, now available Constructrons will be checked as needed.
---------------------------------------------------------------------------------------------------
Version: 1.0.42
Date: 2022-11-08
Bugfixes:
- A crash upgrading miniloaders and other items with mismatching prototype names.
---------------------------------------------------------------------------------------------------
Version: 1.0.41
Date: 2022-11-03
Changes:
- Reverted back to pre 1.0.30 method of unused chunk processing for optimization purposes.
- Cleaned up a lot of unused information in the chunk tables for optimization purposes.
- Added interval reset to the Constructron checks.
Bugfixes:
- Pre v1.0.21 save game migration bug.
---------------------------------------------------------------------------------------------------
Version: 1.0.40
Date: 2022-10-30
Bugfixes:
- A bug that caused only the first Constructron to be checked.
---------------------------------------------------------------------------------------------------
Version: 1.0.39
Date: 2022-10-30
Bugfixes:
- Constructrons getting stuck on ghosts that cannot be fulfilled due to missing inventory.
Changes:
- Disabled the Constructron job grouping. Whilst a cool feature, this change will make it easier to develop and has no negative impacts to how the mod works.
- Optimized frequent check occuring on all Constructrons. Constructrons will now be checked in a queued format eliminating a cpu spike when hundreds of Constructrons were placed.
---------------------------------------------------------------------------------------------------
Version: 1.0.38
Date: 2022-10-21
Bugfixes:
- A crash when train rails were detected in the new build_done check behaviour
---------------------------------------------------------------------------------------------------
Version: 1.0.37
Date: 2022-10-20
Changes:
- Additional changes to deconstruct_done behaviour.
- Added a graceful wrapup of deconstruction jobs when the inventory has no remaining free slots. Instead of the job carrying on like normal, the Constructron will walk back to the station and queue another job.
- Changed build_done check behaviour. It now checks if there is more to build in the area instead of only basing it off the bot statuses.
- Changed upgrade_done check behaviour. It now checks if there is more to build in the area instead of only basing it off the bot statuses.
- Removed overally verbose logging from pathfinder.
- Added Dynamic Robot Queues to optional mods. This is an excelent companion mod to increase bot throughput without any changes to the game and minimal performance loss. https://mods.factorio.com/mod/dynamic-robot-queues
- [SE] Added "Cannot be placed on:" description in Constructron tooltip. - Thanks Stringweasel!
---------------------------------------------------------------------------------------------------
Version: 1.0.36
Date: 2022-10-8
Changes:
- Changed deconstruction_done check behaviour. It now checks if there is more to deconstruct in the area instead of only basing it off the bot statuses.
- Jobs will no longer be assigned to Constructrons that are awaiting robots to fly back to them.
---------------------------------------------------------------------------------------------------
Version: 1.0.35
Date: 2022-09-16
Changes:
- Added Space Exploration as an optional dependency for Stringweasel.
---------------------------------------------------------------------------------------------------
Version: 1.0.34
Date: 2022-08-27
Changes:
- New, hopefully more fitting and unique, mod thumbnail.
- Added a new setting to control wether a Constructron will clear all bots from it's inventory after a job is done. Bots will get requested at the beginning of a new job with this enabled.
---------------------------------------------------------------------------------------------------
Version: 1.0.33
Date: 2022-08-19
Changes:
- Enabled the ability to repair at any percentage for high health buildings that get damaged only slightly.
- Minor setting rename.
---------------------------------------------------------------------------------------------------
Version: 1.0.32
Date: 2022-07-20
Bugfixes:
- Fixed a bug that disabled deconstruction when items-on-ground is disabled.
---------------------------------------------------------------------------------------------------
Version: 1.0.31
Date: 2022-07-9
Bugfixes:
- Fixed a crash when recalling Constructrons when no stations are present on the surface.
- Fixed unwanted behaviour with internal troubleshooting commands.
---------------------------------------------------------------------------------------------------
Version: 1.0.30
Date: 2022-06-4
Bugfixes:
- Fixed multiplayer desyncs by disabling the pathfinder cache in path requests.
- Fixed a job loop in very specific circumstances.
Improvements:
- Constructrons will now spread out randomly around a station when there are more than 10 Constructrons on a surface.
---------------------------------------------------------------------------------------------------
Version: 1.0.29
Date: 2022-05-25
Bugfixes:
- Fix a bug that caused entities marked for deconstruction to not be actioned after a reset all command.
---------------------------------------------------------------------------------------------------
Version: 1.0.28
Date: 2022-05-23
Improvements:
- Added better visualisation to single entity chunk checks for deconstruction & upgrades.
Bugfixes:
- Fixed a bug that caused build/deconstruction/upgrade checks to miss entities.
---------------------------------------------------------------------------------------------------
Version: 1.0.27
Date: 2022-05-22
Bugfixes:
- Fixed crash with 'lastpos' variable not being set in jobs that existed prior to v1.0.26.
---------------------------------------------------------------------------------------------------
Version: 1.0.26
Date: 2022-05-22
Improvements:
- Anti-stuck / waypoint orbiting / pathfinding reattempts added which will find new paths during landfill jobs as they become available.
- Prioritized deconstruction jobs after reset command is given.
- Added extra validation to go_to_position action.
Bugfixes:
- Fixed an issue that prevented landfill from being enabled through the mod settings menu.
---------------------------------------------------------------------------------------------------
Version: 1.0.25
Date: 2022-05-15
Bugfixes:
- Optimized the get_service_stations function when unit_numbers were extremely high to fix very slow responses in the function and even game freezes.
---------------------------------------------------------------------------------------------------
Version: 1.0.24
Date: 2022-05-14
Bugfixes:
- Bugfix in deconstruction checks to fix unremoved trees and rocks.
---------------------------------------------------------------------------------------------------
Version: 1.0.23
Date: 2022-05-11
Bugfixes:
- Bugfix for Rocket Constructrun not responding to scripting due to entity placement filters.
- Bugfix for entity counts not subtracting at time of removal which caused a crash when Constructrons performed a check and had no robots in inventory.
---------------------------------------------------------------------------------------------------
Version: 1.0.22
Date: 2022-05-6
Features:
- New setting: entities_per_tick - control how many items are processed into jobs per tick. Higher numbers requires more initial compute with large blueprints.
- Added /ctron stats command for further diagnostics.
- Added /ctron clear inventory command.
Improvements:
- Optimizations to job assignment process with a significant amount of Constructrons.
- Optimizations through out other parts of job assignment process.
- Optimizations to on_built event.
- Optimizations to inventory calculations.
Bugfixes:
- Bugfix in /ctron reset all command whilst recalling the Constructrons.
- Bugfix after surface deletion.
---------------------------------------------------------------------------------------------------
Version: 1.0.21
Date: 2022-05-1
Features:
- Added a rocket Constructron for Space Exporation. This must be enabled in the startup settings and is only placable in space zones. WIP.
Improvements:
- Commands! enable|disable|reset|clear. Please see the mod portal page for info.
- Performance improvements in entity processing and Constructron checks.
Bugfixes:
- Minor bugfix with unit status not clearing after it was picked up/destroyed.
- Bugfix for Constructrons requesting more than one path at once.
- Bugfix for landfill not being constructed after toggling the setting.
- Bugfix for LTN like entities that cannot be crafted by the player.
---------------------------------------------------------------------------------------------------
Version: 1.0.20
Date: 2022-04-15
Bugfixes:
- Changed chunk calculation assumptions back to original value to decrease the chance of missing entities.
- Bugfix in migration script which only occurred in older saves.
---------------------------------------------------------------------------------------------------
Version: 1.0.19
Date: 2022-04-10
Improvements:
- Added a check to detect entities that may have been missed during an upgrade job.
- Moved missed entity messages to debug instead of game chat.
- Added a game alert when a Constructrons logistic request is not fulfilled within 30 seconds by default.
- Added a setting to control after how long the alert is displayed.
- Items on the ground that get marked for deconstruction will now be actioned.
- Added a toggle option in startup settings that toggles deconstruction of items on ground.
Bugfixes:
- Fixed a bug that caused Rocks and trees to be excluded from deconstruction jobs.
- Construction robots will now be cleared from inventory if the count exceeds desired_robot_count.
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
- If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
---------------------------------------------------------------------------------------------------
Version: 1.0.18
Date: 2022-04-03
Experimental:
- Added the ability to construct landfill and landfill like tiles! READ NOTES!
Improvements:
- Reregistered and recounted all entities on all surfaces to reduce the chances of crashes occuring from entites previously placed on older versions of the mod.
- Added force checks to various actions such as construct, deconstruct and upgrade to accomodate AbandonedRuins mod and Auto-Deconstruct mod.
- Added force to chunk checks so other forces entities will not be considered when a ghost is placed from another force.
- Expanded minimum chunk check range so item-request-proxies / missing modules would be found in single entity construction if they got missed somehow.
Bugfixes:
- Various crashes due to lack of entity validation.
Info:
- Landfill can be enabled or disabled through the mod settings menu.
- Landfill functionality is highly experimental and does not represent the finished product.
- Landfill is best constructed in small jobs close to the shore. It is highly recommended to have atleast a few Constructrons placed.
- Constructrons will obviously not be able to reach entities/tiles in the middle of a lake and will cause Construnctrons to become stuck if this is done.
- Constructing landfill will likely cause inefficient behaviour of Constructrons until the job is complete.
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
- If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
---------------------------------------------------------------------------------------------------
Version: 1.0.17
Date: 2022-03-26
Bugfixes:
- Fixed job assignment function exit when previous surfaces had no available Constructrons.
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
- If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
- The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
---------------------------------------------------------------------------------------------------
Version: 1.0.16
Date: 2022-03-25
Bugfixes:
- Fixed queue backlogs that were created if a player performed an action on a lot of entities and then undone the changes
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
- If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
- The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
---------------------------------------------------------------------------------------------------
Version: 1.0.15
Date: 2022-03-21
Bugfixes:
- Added validation to pathfinder to prevent a crash.
- Bug fixes in chunk check processes.
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
- If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
- The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
---------------------------------------------------------------------------------------------------
Version: 1.0.14
Date: 2022-03-21
Improvements:
- Constructrons can now repair entities! This is OFF by default - toggle this in the mod settings.
- v3 pathfinder has been introduced for better path finding!
- A mod settings to control how low an entity can get before a repair job is triggered has been added.
- Startup mod settings have been added which gives the ability to toggle construct, rebuild, deconstruct, upgrade and repair jobs.
- Debug text no longer has a random offset.
Bugfixes:
- Map mod settings now update in game.
Info:
- The Constructron colour whilst performing a repair job is charcoal.
- Any pre-existing damage on entities will not be repaired. The repair jobs are triggered by on_entity_damaged.
- Constructrons that are already on the way to repair an entity that dies will still proceed as the job is already in progress.
- Constructrons that are already on the way to repair an entity that gets repaired by a local robot will still proceed as the job is already in progress.
- If you find there are too many repair jobs that are fulfilled by robots the advice is to lower the repair % or toggle the repair jobs to OFF.
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
- If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
- The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
---------------------------------------------------------------------------------------------------
Version: 1.0.13
Date: 2022-03-11
Improvements:
- Countless amounts of code cleanup and refactoring all thanks to Karoschl!
- Constructron waypoint circling should be detected and reset.
Info:
- Krastorio2 Tesla coils should now target Constructrons
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
- If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
- The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
---------------------------------------------------------------------------------------------------
Version: 1.0.12
Date: 2022-03-11
Improvements:
- Compatibility with Packing Tape
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
- If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
- The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
---------------------------------------------------------------------------------------------------
Version: 1.0.11
Date: 2022-03-09
Improvements:
- Constructrons are now painted grey(idle) when placed or cloned to another surface.
Bugfixes:
- Resolved a crash in Constructron staging when no stations were placed.
- Resolved a crash in go_to_position retry when a companion was no longer valid.
- Fixed companion Constructrons not resetting thier status after the leader became invalid.
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
- If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
- The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
---------------------------------------------------------------------------------------------------
Version: 1.0.10
Date: 2022-03-08
Improvements:
- Chunk checks now finds item-request-proxy / unfulfilled modules and will queue another job.
Bugfixes:
- Resolved a crash when a Constructron companion was no longer valid.
- Resolved 'calculate_required_inventory_slot_count' crash.
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
- If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
- The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
---------------------------------------------------------------------------------------------------
Version: 1.0.9
Date: 2022-03-05
Improvements:
- The mod will now detect unbuilt ghost tiles after a build job.
- Constructron pathing now takes into account the smallest gaps(1 tile) between water to path through.
- Garbage collection on path requests that fail to navigate to destination.
Bugfixes:
- Resolved a crash in 1.0.7 migrations with invalid entities.
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
- If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
- The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
---------------------------------------------------------------------------------------------------
Version: 1.0.8
Date: 2022-02-26
Improvements:
- Surface support! using this mod with Space Exploration is now possible.
- Visual debuging! Massive improvements to the debug view so it is alot more obvious to see what a Constructron is doing.
- Constructrons will now request/refill robots based on two new mod settings, robot_name and robot_count.
- Service Stations now have a new look.
- Construction and Deconstruction jobs will now be fulfilled by another Constructron after the original stops existing.
- Deconstruction jobs now have better logic to detect when a Constructrons inventory is full. The process is much faster but still needs work.
- Added Fuzzy pathing logic to assist when entities are placed in tight places or when using mods like MazeRibbon018.
- Constructrons will now retry move actions after a few seconds instead of max_jobtime.
- Constructrons and Service Stations are now registered entities so their removal will be captured regardless of how they are removed.
Bugfixes:
- Resolved the 'next_station' crash when only one Service Station was placed.
- Resolved an issue with unconstructucted rails being detected by the post job check.
Info:
- Space-exploration platform tiles are not constructed at this time for the same reason as landfill.
- Constructrons do not travel between space-exploration surfaces themselves.
- A discord has been created for discussions, ideas, bugs etc. https://discord.gg/m9TDSsH3u2
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
- If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
- The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
---------------------------------------------------------------------------------------------------
Version: 1.0.7
Date: 2022-02-09
Improvements:
- Added the ability to construct tiles! Landfill (and others like Landfill) is unfortunately still not possible at this stage. Landfill is specifically ignored.
- Significantly more validation is performed at all job stages to prevent crashes.
- Added event listening for when mods add modules to an entity (i.e Module Inerter) so Constructrons will now build modules even if a ghost is not created.
- Constructrons will now move to other service stations in hope of fulfilling their logistic request at the new station after max_jobtime is reached. More logic to be added to make this smarter later.
- Added Krastorio 2 support with equipment grids in Constructrons.
Bugfixes:
- Clean up service stations and constructrons that are destroyed which will prevent crashes at various stages.
- Clean up service stations that are removed by bots which will prevent crashes at various stages.
- Constructrons will now retry to move into position after overshooting its destination due to moving too fast after max_jobtime is reached.
- Constructrons will now retry to move into position after max_jobtime if a player interferes with the Contructron either by driving the Constructron or using a connected Spidertron Remote to it.
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
- If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
- The Landfill tile is not constructed as this requires changes to the pathing calculation.
---------------------------------------------------------------------------------------------------
Version: 1.0.6
Date: 2022-01-30
Improvements:
- Deconstruction jobs now adhere to the same 5 second(default) delay to allow for robots to deconstruct the entities.
- Upgrade jobs now adhere to the same 5 second(default) delay to allow for robots to upgrade the entities.
- Job start delay is now configurable. Allow more or less time for robots to finish building before a job is queued.
- Ghosts created by other mods (such as Recursive Blueprints) will now be built.
- Entities created by other mods that are not buildable by the player, like those found in Logistic Train Network(LTN) will now be skipped from logistic requests.
---------------------------------------------------------------------------------------------------
Version: 1.0.5
Date: 2022-01-25
Improvements:
- Contructrons will now rebuild entities that die. I.e are destroyed by biters or players.
- Constructrons will now go back for items missed during a deconstruction job.
- Alternate recipes. An easy mode and normal mode. Toggle this from the game menu > settings > mod settings > startup.
---------------------------------------------------------------------------------------------------
Version: 1.0.4
Date: 2022-01-13
Bugfixes:
- Linear constructron job assignment.
Improvements:
- Contructrons no longer will start a job without a roboport and at least one bot allowing time to place and fit equipment.
---------------------------------------------------------------------------------------------------
Version: 1.0.3
Date: 2022-01-12
Bugfixes:
- Crash on Constructron placement.
Improvements:
- Major performance improvements to ghost and deconstruction entity processing.
- Ability to set maximum amount of time a job can take before timing out and returning home in the mod settings. Default is 2 minutes.
- Code refactoring.
Known issues:
- After job time out, Constructrons will attempt to finish the build or deconstruction queue when the inventory is full.
- Missed ghosts and deconstructions will no longer be considered by Contructrons until the entity is deconstructed again.
---------------------------------------------------------------------------------------------------
Version: 1.0.2
Date: 2022-01-10
Bugfixes:
- Mining a Constructron gives the player a Spidertron instead.
- Partially fixed deconstruction process when Constructron inventory fills. Constructrons will not get stuck any more eliminating manual intervention.
Known issues:
- Constructrons will attempt to finish the deconstruction queue when the inventory is full.
- Missed deconstructions will no longer be considered by Contructrons until the entity is deconstructed again.
- Placing Constructrons whilst there are active jobs may cause a crash.
Other:
- Inception of debug mode.
---------------------------------------------------------------------------------------------------
Version: 1.0.1
Date: 2022-01-09
Bugfixes:
- Crash on mining a Constructron whilst there are active jobs.