Hardcorio:SC2

by maroder

Version 26.12.2017. Remake of Stx3's Hardcorio:SC2. Hardcorio:SC2 turns Factorio into a hardcore survival game, by completely replacing the enemies, combat mechanics and added life support requirements.

Overhaul
2 years ago
0.13 - 1.1
2.67K
Transportation Logistics Combat Enemies Mining Manufacturing

b Error: attempt to index field

4 years ago

Hello

I really enjoy your mod, thank you for it :-)
But at a certain state of the game I get the following error, idenpendently what I'm doing at that point:

"4366.781 Error MainLoop.cpp:1195: Exception at tick 3341841: Die Mod Hardcorio:SC2 caused an unrecoverable error: Please inform the mod author

Error while running event hardcorio::on_tick (ID 0)
hardcorio/control.lua:1147: attempt to index field '?' (a nil value)
stack traceback:
hardcorio/control.lua:1147: in function 'base_spawn'
hardcorio/control.lua:1192: in function 'base_control'
hardcorio/control.lua:2515: in function 'tick'
hardcorio/control.lua:2620: in function <hardcorio/control.lua:2619>

I have some other mods installed, i tried it with deactivating them, but without any difference. Could you please help?
Mod-List:
- railloader 0.6.5
- WireShortcuts 0.3.174
-better-air-filtering 0.2.3
-bobinserters 0.17.10
-Bottleneck 0.10.4
- b_light_poles 1.4.0
- clock 0.17.7
- CopyPasteModules 0.0.2
- even-distribution 0.3.13
- Fill4Me 0.8.1
- FluidMustFlow 1.2.2
- fws 0.2.3
- GameClock 17.0.1
- hardcorio 2.3.16
- Helicopters 0.3.14
- InlaidLampsExtended 0.1.7
- MushroomCloud 1.0.10
- Power Armor MK3 0.2.11
- Realistic_Electric_Trains 0.4.3
- Repair_Turret 0.2.5
- resourceMarker 0.2.5
- robot_attrition 0.3.8
- Shortcuts 0.7.4
- YARM 0.8.18
- alien-biomes 0.4.16
- LogisticTrainNetwork 1.11.8
- Nanobots 3.1.0
- LTN_Tracker 0.10.9
- space-exploration 0.1.149

Br and thank you
Michael

4 years ago
(updated 4 years ago)

Thanks for the report. Such errors occur due to multi-threaded script processing. If the error persists, I will need a save file.

4 years ago
(updated 4 years ago)

The message is being edited, but cannot be deleted ?! I need to sleep

4 years ago

Hi maroder,

thanks for the reply. I drop you a pm in the forum .-)

br
Michael

4 years ago

I did not receive a message on the forum.

4 years ago

Increased the reliability of the script in this place. That is, a rare mistake can still occur just like in other places, but now the probability is very small.

I know what needs to be done to solve this problem: delete sections of tables in one place. But without an optimal solution, this will greatly overload the processor.

4 years ago

Hello maroder

thank you very much for the update! It seems to work now, the error is gone :-)

br
Michael

New response