Colonists

by jonkeda

You are not alone on the planet. Hundreds of pods have crashed on the planet and people are waiting to be saved. And you will need to keep them warm, fed and under a roof. Or they will get unhappy.

3 years ago
0.16 - 1.0
20

b Error with TradeRouteOverhaul

3 years ago

Hi,
I am playing with TradeRouteOverhaul modified for mods usage, This mod creates Assembly machines and lock them with various recipes. In a city like fashion.

I have traced this bug with using only the required mods you need plus the TradeRouteOverhaul mod. And got this even from the starting new game.

Your 0.24.0 version does not interfere with this mod.

The mod Colonists (0.25.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Colonists::on_tick (ID 0)
Colonists/prototypes/housing/housing_script.lua:223: attempt to index local 'player' (a nil value)
stack traceback:
Colonists/prototypes/housing/housing_script.lua:223: in function 'update_working_colonists'
Colonists/prototypes/housing/housing_script.lua:379: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

3 years ago

Could you try 0.26.0 please? And let me know?

3 years ago

The answer is Yes and no.

New game Worked with Colonist (0.26.0) with my TradeRoutes
New game with all of my mods active Worked.

My existing savegame with all the mods Failed to load. There was i think somewhere else non-recoverable error.

But i will call it success for now.

Thanks.

3 years ago

I did get some errors with TradeRoutes but didn't investigate further

3 years ago

Original TradeRouteOverhaul blocks mapgen, research and mods as a whole.

Because i have disabled the blocks and some fixes elsewhere to work. Here is my changes if you want to play with unlocked TradeRoutesOverhaul
Line numbers provided using Notepad++ . Changes reflect TradeRoutesOverhaul 0.0.4 version

control.lua
2 DEBUG = true -> false

109 remote.call("freeplay", "set_disable_crashsite", true) -> false

814 (not importnant change) Biter guard the cities
838 (not importnant change)

922
| Deleted whole script
948

data.lua
deleted mapgen and research from loading

20 require("prototypes.map-gen-presets") -> ""
21 require("prototypes.mapgen") -> ""
25 require("prototypes.research") -> ""

prototypes\log1.lua
1
| Deleted whole script
17

file begin with --starter coal recipe

New response