Mods introducing new content into the game.
Augmented or new ways of transporting materials - belts, inserters, pipes!
The mod Miniloader (Redux) (0.6.1) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event miniloader-redux::on_space_platform_built_entity (ID 75)
miniloader-redux/scripts/controller.lua:286: assertion failed!
stack traceback:
[C]: in function 'assert'
miniloader-redux/scripts/controller.lua:286: in function 'setup'
miniloader-redux/scripts/controller.lua:317: in function 'create'
miniloader-redux/scripts/event-setup.lua:36: in function 'handler'
miniloader-redux/stdlib/event/event.lua:345: in function 'pcall'
miniloader-redux/stdlib/event/event.lua:362: in function 'dispatch_event'
miniloader-redux/stdlib/event/event.lua:441: in function <miniloader-redux/stdlib/event/event.lua:399
Thanks for reporting this! This error happens if an entity is added that already exists.
Did you do anything specific (especially undo/redo) when that happened. Do you have a save where you can reproduce the error.
This is in the category of "should not happen" (hence the assert) and that makes it intriguing to chase down.
hmm i was building a factory in space but i wasnt building anything with a loader. I will see if it happens again, it happened to me twice so far.
The save i have happens and the error get occur again at the same time. I tried it 3 times and they all crash at with the same error and timing and i'm not doing anything.
The mod Miniloader (Redux) (0.6.1) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event miniloader-redux::on_space_platform_built_entity (ID 75)
miniloader-redux/scripts/controller.lua:286: assertion failed!
stack traceback:
[C]: in function 'assert'
miniloader-redux/scripts/controller.lua:286: in function 'setup'
miniloader-redux/scripts/controller.lua:317: in function 'create'
miniloader-redux/scripts/event-setup.lua:36: in function 'handler'
miniloader-redux/stdlib/event/event.lua:345: in function 'pcall'
miniloader-redux/stdlib/event/event.lua:362: in function 'dispatch_event'
miniloader-redux/stdlib/event/event.lua:441: in function <miniloader-redux/stdlib/event/event.lua:399>
went to download ver .6.0 and it happen even quicker
The mod Miniloader (Redux) (0.6.0) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event miniloader-redux::on_space_platform_built_entity (ID 75)
miniloader-redux/scripts/controller.lua:286: assertion failed!
stack traceback:
[C]: in function 'assert'
miniloader-redux/scripts/controller.lua:286: in function 'setup'
miniloader-redux/scripts/controller.lua:317: in function 'create'
miniloader-redux/scripts/event-setup.lua:37: in function 'handler'
miniloader-redux/stdlib/event/event.lua:345: in function 'pcall'
miniloader-redux/stdlib/event/event.lua:362: in function 'dispatch_event'
miniloader-redux/stdlib/event/event.lua:441: in function <miniloader-redux/stdlib/event/event.lua:399>
I also get an error message when I try to place the white miniloader. Removing it doesn’t work either, not even with drones.
Die Mod Miniloader (Redux) (0.6.1) hat einen Fehler verursacht, der nicht behoben werden kann.
Bitte informiere den Autor der Mod über diesen Fehler.
Error while running event miniloader-redux::on_built_entity (ID 6)
miniloader-redux/scripts/controller.lua:181: assertion failed!
stack traceback:
[C]: in function 'assert'
miniloader-redux/scripts/controller.lua:181: in function 'create_loader'
miniloader-redux/scripts/controller.lua:293: in function 'setup'
miniloader-redux/scripts/controller.lua:317: in function 'create'
miniloader-redux/scripts/event-setup.lua:36: in function 'handler'
miniloader-redux/stdlib/event/event.lua:345: in function 'pcall'
miniloader-redux/stdlib/event/event.lua:362: in function 'dispatch_event'
miniloader-redux/stdlib/event/event.lua:441: in function <miniloader-redux/stdlib/event/event.lua:399>
quote: This error happens if an entity is added that already exists. Did you do anything specific (especially undo/redo) when that happened.
I have only noticed this error on gleba
This should be fixed in 0.6.2
Here is what happened:
- the miniloader got destroyed somehow (I shot mine up, but it could be something else). In any case, the miniloader "died" and was replaced by a ghost. Except it wasn't because the "internal" entities kept hanging around and especially the state was not deleted.
- A robot showed up and wanted to rebuild the miniloader (replace the ghost with an entity again). That is a "robot constructed entity" event with the same id as the entity that was destroyed
- The internal code received the entity but already had state for it (because it was not deleted). That triggered the assertion.
This was caused in a roundabout way by a change to manage redo/undo which removed the "on_entity_died" from the list of events managed by the mod. Re-adding this fixed the problem (at least in my tests).
I just got it on 0.6.3
The mod Miniloader (Redux) (0.6.3) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event miniloader-redux::on_robot_built_entity (ID 17)
__miniloader-redux__/scripts/controller.lua:181: assertion failed!
stack traceback:
[C]: in function 'assert'
__miniloader-redux__/scripts/controller.lua:181: in function 'create_loader'
__miniloader-redux__/scripts/controller.lua:293: in function 'setup'
__miniloader-redux__/scripts/controller.lua:317: in function 'create'
__miniloader-redux__/scripts/event-setup.lua:36: in function 'handler'
__miniloader-redux__/stdlib/event/event.lua:345: in function 'pcall'
__miniloader-redux__/stdlib/event/event.lua:362: in function 'dispatch_event'
__miniloader-redux__/stdlib/event/event.lua:441: in function <__miniloader-redux__/stdlib/event/event.lua:399>
I was manually replacing some yellow miniloaders with red ones via the map.
(And I can reliably reproduce it)
This is fixed in 0.6.4
Thanks!
The error still occurs on "Gleba" when placing something at a spot where the loader appears to be present, but isn’t really there and couldn’t be dismantled, an error message pops up immediately and the game crashes.
Die Mod Miniloader (Redux) (0.6.4) hat einen Fehler verursacht, der nicht behoben werden kann.
Bitte informiere den Autor der Mod über diesen Fehler.
Error while running event miniloader-redux::on_built_entity (ID 6)
miniloader-redux/scripts/controller.lua:181: assertion failed!
stack traceback:
[C]: in function 'assert'
miniloader-redux/scripts/controller.lua:181: in function 'create_loader'
miniloader-redux/scripts/controller.lua:293: in function 'setup'
miniloader-redux/scripts/controller.lua:317: in function 'create'
miniloader-redux/scripts/event-setup.lua:36: in function 'handler'
miniloader-redux/stdlib/event/event.lua:345: in function 'pcall'
miniloader-redux/stdlib/event/event.lua:362: in function 'dispatch_event'
miniloader-redux/stdlib/event/event.lua:441: in function <miniloader-redux/stdlib/event/event.lua:399>
Weird. Will take a look.
It is clear to me how that happens; what would be more interesting is why it happened. you wrote "a spot where the loader appears to be present but isn't really there". Is that from a failed attempt of removing a loader (iaw a game state that should not really exist) or did you do something to remove the miniloader but leave the (invisible) loader in place.
I consider adding some sanity checking to the code to resolve the invalid states but I would also be interested in what exactly you did to get into that state.
So I pushed 0.6.5. This in itself will not yet solve the problem. What I need to you to do is load the game and then execute the /inspect-miniloaders console command that this release brings. One of two things should happen:
In either case, to be able to figure that out, I will need more information. :-) But I very much hope that running /inspect-miniloaders solves the problem.
The command /inspect-miniloaders fixed the issue — I was able to remove the miniloaders that were visible but not actually present, and place them again on planet Gleba. This error hasn't occurred on any other planet so far! Thanks!
Cool. Do you happen to have recorded the values from the "Invalid entities removed: ..." output line?
(I assumed that there were some half-baked miniloaders somewhere, related to previous bugs about upgrading/fast-replacing. Great that this turned out to be correct).