pyanodon / pybugreports

Central bug-report repository for pymods
The Unlicense
5 stars 1 forks source link

Crash when placing recycler #389

Closed in-the-mood-for-mov closed 5 months ago

in-the-mood-for-mov commented 5 months ago

Mod source

Factorio Mod Portal

Which mod are you having an issue with?

Operating system

=Windows 10

What kind of issue is this?

What is the problem?

AlienLife crashes when I place a recycler.

Steps to reproduce

  1. Place a recycler anywhere (there is one in the inventory in the save game provided below).

Additional context

Save file: Py.zip

I don't know if that can have an impact, but I picked the sweet syrup TURD for the recycler.

Log file

 281.037 Error MainLoop.cpp:1391: Exception at tick 46106050: The mod Pyanodons AlienLife (2.1.18) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event pyalienlife::on_built_entity (ID 6)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
    [C]: in function '__index'
    __pyalienlife__/scripts/mounts/mounts.lua:43: in function 'on_built'
    __pyalienlife__/control.lua:154: in function <__pyalienlife__/control.lua:144>

factorio-current.log

in-the-mood-for-mov commented 5 months ago

Save with only Pyanodons and stdlib enabled: Py2.zip

notnotmelon commented 5 months ago

Fixed. Thanks for the report. https://github.com/pyanodon/pyalienlife/commit/618bb4fdff42fbe0b894eb1bf446bdbe5e6d8a87