pyanodon / pybugreports

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

crash when using fluid network #437

Closed Borszcz closed 2 months ago

Borszcz commented 4 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?

unfortunetely I get crashes when using the fluid network. Tbh I do not really understand how to use it correctly, but when playing a bit around with it it crashes. Here the error message (unnfortunetaly in german):

Die Mod Pyanodons AlienLife (2.1.21) hat einen Fehler verursacht, der nicht behoben werden kann. Bitte informiere den Autor der Mod über diesen Fehler.

Error while running event pyalienlife::on_built_entity (ID 6) pyalienlife/scripts/biofluid/network-builder.lua:224: attempt to index local 'new' (a nil value) stack traceback: pyalienlife/scripts/biofluid/network-builder.lua:224: in function 'join_networks' pyalienlife/scripts/biofluid/network-builder.lua:178: in function 'built_pipe' pyalienlife/scripts/biofluid/biofluid.lua:73: in function 'on_built' pyalienlife/control.lua:153: in function <pyalienlife/control.lua:144>

Steps to reproduce

Not sure what exactly is the issue, but the crash happened when trying to connect the vessels from the fluid network

Additional context

facorio_crash

Log file

factorio-current.log

notnotmelon commented 2 months ago

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