Abandoned Ruins - Updated (core)

by Keysivi

This mod doesn't do anything by itself. You need to install ruin-set mods or no ruin will be spawned. It then can spawn randomly choosen ruins in the world. These ruins are destroyed fragments of bases, forts, small oases, and more. (Now co-authored with roland77)

Content
17 days ago
2.0
5.14K

b [INFO-REQUESTED] control.lua:280: attempt to index field (a nil value)

18 days ago

Crash on new game. Here is the log, i hope you find it helpful.

The mod miniMAXlme: Character scaler and selector (2.0.17) caused a non-recoverable error. Please report this error to the mod author.
Error while running event minime::on_init() Error when running interface function AbandonedR uins.exclude _ surf ace: _ AbandonedRuins_updated_fork /control.lua:280: attempt to index field (a nil value) stack traceback: _ _AbandonedR uins updated fork _ /controllua:280: in function _ AbandonedR uins updated fork _ /controllua:276> stack traceback: (C): in function 'call' _ Pi-C _lib icommon.lua:384: in function temote_call' _ minime /scripts/surfaces.lua:449: in function Iblacklist_surfacel _ _minime iscripts/surfaceslual 24: in function 'create_surfacel _ minime _ /control.lua:274: in function 'init. minime _ icontrollua:382: in function < minime icontrollua:378>

17 days ago

Can you please reformat your text? It is hard to read with all the spaces. And what version does AbandonedRuins have?

17 days ago

It looks like you have 1.4.5 ? Then that line reads this: elseif game.surfaces[name].planet ~= nil then which could ean that game.surfaces[name] isn't set causing the nil value (.planet references a nil then).

17 days ago

1.4.6 is out and contains an added check for game.surfaces[name].

17 days ago
(updated 17 days ago)

Apologies for the late response, I was asleep. Anyhow, I ran the update (now 1.4.6 ) and got an error on map creation again. This time the log was similar but spat out some different stuff.

+++

The mod miniMAXlme: Character scaler and selector (2.0.17) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event minime::on_init()
Error when running interface function AbandonedRuins.exclude_surface:

_ AbandonedRuins_updated_fork _/lua/surfaces.lua:27: attempt to index field '?' (a nil value)

stack traceback:

_ AbandonedRuins_updated_fork /lua/surfaces.lua:2 7: in function 'exclude' _ _AbandonedRuins_updated_fork /control.lua:286: in function
<
AbandonedRuins updated fork _/control.lua:276>

stack traceback:

[C]: in function 'call' _ Pi-C_lib /common.lua:384: in function 'remote_call' _ _minime /scripts/surfaces.lua:449: in function 'blacklist_surface' _ _minime /scripts/surfaces.lua:124: in function 'create_surface' _ _minime /control.lua:274: in function 'init' _ _minime /controllua:382: in function < _ minime_ _ /controllua:378>

+++

To get the log, I got a screenshot and ran it through OCR since I have no idea where to get the log otherwise. So, last time was because it was the result that got spat out from that. This time, instead of being lazy, I when and formatted the and corrected the OCR vomit to make sure everything is correct this time.
I wish this part of the site supported codebocks or img links, it would be a lot easier.

17 days ago

No worries, I have work Mo-Fr so I also can respond slowly. I uploaded 1.4.7 which contains the same check in surface.lua:27.

17 days ago

You can upload the logfile to websites like paste-bins. They are often taking no charge. Then I can read it properly. And please when you report a bug, include the debug lines which you need to enable in mod settings. The FAQ states it very clearly: https://mods.factorio.com/mod/AbandonedRuins_updated_fork/faq

New response