pyanodon / pybugreports

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

Crash in MP after selecting TURD #506

Closed szentigrad3 closed 1 month ago

szentigrad3 commented 1 month ago

Mod source

Factorio Mod Portal

Operating system

GNU/Linux

What kind of issue is this?

What is the problem?

0300.906 Error MainLoop.cpp:1404: Exception at tick 10323039: The mod Pyanodons AlienLife (2.1.34) caused a non-recoverable error. Please report this error to the mod author.

Error while running event pyalienlife::on_gui_click (ID 1) pyalienlife/scripts/turd/turd.lua:382: attempt to index local 'old' (a nil value) stack traceback: pyalienlife/scripts/turd/turd.lua:382: in function 'apply_turd_bonus' pyalienlife/scripts/turd/turd.lua:454: in function 'f' pyalienlife/control.lua:17: in function <pyalienlife/control.lua:14> 40300.906 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod Pyanodons AlienLife (2.1.34) caused a non-recoverable error. Please report this error to the mod author.

Error while running event pyalienlife::on_gui_click (ID 1) pyalienlife/scripts/turd/turd.lua:382: attempt to index local 'old' (a nil value) stack traceback: pyalienlife/scripts/turd/turd.lua:382: in function 'apply_turd_bonus' pyalienlife/scripts/turd/turd.lua:454: in function 'f' pyalienlife/control.lua:17: in function <pyalienlife/control.lua:14>" 40300.906 Info ServerMultiplayerManager.cpp:814: updateTick(10323039) changing state from(InGame) to(Failed) 40300.910 Quitting: multiplayer error. 40301.821 Info ServerMultiplayerManager.cpp:154: Quitting multiplayer connection. 40301.821 Info ServerMultiplayerManager.cpp:814: updateTick(4294967295) changing state from(Failed) to(Closed) 40301.823 Info HttpSharedState.cpp:58: Downloading https://multiplayer.factorio.com/remove-game/17759487 40302.515 Info UDPSocket.cpp:233: Closing socket 40302.515 Info UDPSocket.cpp:263: Socket closed 40302.515 Info UDPSocket.cpp:233: Closing socket 40302.827 Info UDPSocket.cpp:233: Closing socket 40302.827 Info UDPSocket.cpp:263: Socket closed 40302.827 Goodbye

Steps to reproduce

Go into PY Codex goto TURD and selected Moon Light under Moondrop upgrade

Additional context

No response

Log file

No response

notnotmelon commented 1 month ago

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