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
5 days ago
2.0
4.50K

b [FIXED] on_tick: LuaEntity API call when LuaEntity was invalid.

a month ago

Die Mod Abandoned Ruins - Updated (1.3.4) hat einen Fehler verursacht, der nicht behoben werden kann.
Bitte informiere den Autor der Mod über diesen Fehler.

Error while running event AbandonedRuins_updated_fork::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__AbandonedRuins_updated_fork
/lua/spawning.lua:261: in function 'clear_area'
AbandonedRuins_updated_fork/lua/spawning.lua:285: in function 'spawn_ruin'
AbandonedRuins_updated_fork/lua/spawning.lua:322: in function 'spawn_random_ruin'
AbandonedRuins_updated_fork/control.lua:128: in function <AbandonedRuins_updated_fork/control.lua:109>

a month ago

Ah, this is the error @Silly_Warlock was talking about. Thank you for reporting it here. There is 1.3.6 now out which has some changes around that issue. By chance, do you have debug log enabled? Logging entity.type and/or entity.name is not possible when the entity is invalid means entity.valid is false.

a month ago

I think the issue was with the mod Warptorio Space Age (https://mods.factorio.com/mod/warptorio-space-age?) , the error was only in the void plane, where no biters/ailiens normally spawn.

a month ago

Can you please try to reproduce this bug but before update to latest version and enable debug log in settings? You can find that setting in-game here: Settings -> Mod settings -> "Abandoned Ruins - Updated". Then when the crash happens again, pastebin it somewhere public.

a month ago

Catch this bug at Nauvis chopping a tree.

a month ago
(updated a month ago)

Hmm, I can chop a lot of trees and crack down rocks here without any crashes. So I guess some other mod that does something during chopping tress must have caused it But I can only guess it.

So since the bug only happens with you and I cannot reproduce it here, please turn on the mentioned debug log and please pastebin it somewhere publicly accessible. Or if you have a github account, you can start a new issue (see link "source code") and upload it there. Here is a wiki page where Factorio's logfile is saved: https://wiki.factorio.com/Log_file

So here is what you have to do:
- Enable debug log with debugging on_tick events (option below)
- Save game
- repeat what causes the bug (which is great!)
- if it crashes, you are being thrown over to the main menu
- exit Factorio and upload the generated log file.

If you want to help me, open the log file in any text editor, like Notepad(++) and check if you can find lines with __AbandonedRuins_updated_forked__ in it. If there is no line to be found, you have to start the game and load the save-game. and repeat above steps. Please don't forget to later turn these options off as they cost you some performance.

a month ago

And please update your mods, I have release a new version 1.3.8 here and 0.1.0 at AbandonedRuins-base.

a month ago

1.3.11 of this mod is now out. Compared to 1.3.8 it contains lots of bugfixes.

This thread has been locked.