Krastorio 2


An overhaul mod focusing on end-game technologies and moderately increased complexity.

Overhaul
6 months ago
0.18 - 1.1
338K
Transportation Logistics Trains Combat Armor Mining Fluids Logistic network Manufacturing Power Storage

b [Fixed][F0.18.28] Crash when switching Roboport Mode

4 years ago

I got this crash when switching a Roboport from 'Normal' to 'Logistic' The roboport was powered and active.

Error while running event Krastorio2::kr-change-roboport-state (ID 164)
.../lib/private/control-scripts/change-roboport-state.lua:57: attempt to call field 'showOnSurfaceText' (a nil value)
stack traceback:
...
/lib/private/control-scripts/change-roboport-state.lua:57: in function 'changeRoboportEntity'
...__/lib/private/control-scripts/change-roboport-state.lua:103: in function 'callback'
...control-scripts/control-lib/control-callbacks-merger.lua:163: in function <...control-scripts/control-lib/control-callbacks-merger.lua:160>

Factorio v 0.18.28
Krastorio 2 v 0.9.18

Other mods:
Alien Biomes + Hi Res Terrain
Armored Biters
Clockwork
Construction Drones
Even Distribution
Factory Planner
Far Reach
Fill4Me
Fluid Must Flow
FNEI
Krastorio 2
Krastorio 2 Extended Endgame
Mining Drones
Resource Spawner Overhaul
Squeak Through
Transport Drones
Vehicle Snap

4 years ago

factorio-current.log: https://pastebin.com/K8qQGjXu

4 years ago

This is related to https://forums.factorio.com/viewtopic.php?p=495921#p495921 - Krastorio2 has a flying-texts.showOnSurfaceText stored inside of global. In 0.18.28 functions are removed from global on save (they will be missing only in saved output).

4 years ago
(updated 4 years ago)

as a work around just place down brick, concrete or something similar and you will pickup the biomass and be about to build on top of it, only problem is sometimes you won't be able to pick the concrete back up, and if you try use the jack hammer to pickup you'll get the error

4 years ago

Last game update broke a lot of our scripts.
Don't worry we are working on this problem.

4 years ago

Fixed for Krastorio 2 ver : 0.9.19, that will be released soon.