pyanodon / pybugreports

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

Collision with Factorissimo 2 #347

Closed xeon0527 closed 9 months ago

xeon0527 commented 9 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?

Hello. It seems that there's an error in Factorissimo 2 after the recent update of Py Alternative Energy. I'm not sure where to report this issue, so I'm reporting it to both sides for now.

Steps to reproduce

It seems that entering Factorissimo while having the building window open on the Nauvis surface causes a crash.

Additional context

No response

Log file

40092.852 Error MainLoop.cpp:1391: Exception at tick 302151105: The mod Factorissimo 2 - notnotmelon fork (1.2.3) caused a non-recoverable error. Please report this error to the mod author.

Error while running event factorissimo-2-notnotmelon::on_nth_tick(6) The mod Pyanodons Alternative Energy (1.2.7) caused a non-recoverable error. Please report this error to the mod author.

Error while running event pyalternativeenergy::on_player_changed_surface (ID 53) pyalternativeenergy/scripts/aerial.lua:701: attempt to index local 'entity' (a nil value) stack traceback: pyalternativeenergy/scripts/aerial.lua:701: in function 'on_gui_closed' pyalternativeenergy/control.lua:140: in function <pyalternativeenergy/control.lua:136> stack traceback: [C]: in function 'teleport' factorissimo-2-notnotmelon/script/travel.lua:58: in function 'teleport_safely' factorissimo-2-notnotmelon/script/travel.lua:67: in function 'enter_factory' factorissimo-2-notnotmelon/script/travel.lua:126: in function <factorissimo-2-notnotmelon/script/travel.lua:103> 40092.852 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod Factorissimo 2 - notnotmelon fork (1.2.3) caused a non-recoverable error. Please report this error to the mod author.

Error while running event factorissimo-2-notnotmelon::on_nth_tick(6) The mod Pyanodons Alternative Energy (1.2.7) caused a non-recoverable error. Please report this error to the mod author.

Error while running event pyalternativeenergy::on_player_changed_surface (ID 53) pyalternativeenergy/scripts/aerial.lua:701: attempt to index local 'entity' (a nil value) stack traceback: pyalternativeenergy/scripts/aerial.lua:701: in function 'on_gui_closed' pyalternativeenergy/control.lua:140: in function <pyalternativeenergy/control.lua:136> stack traceback: [C]: in function 'teleport' factorissimo-2-notnotmelon/script/travel.lua:58: in function 'teleport_safely' factorissimo-2-notnotmelon/script/travel.lua:67: in function 'enter_factory' factorissimo-2-notnotmelon/script/travel.lua:126: in function <factorissimo-2-notnotmelon/script/travel.lua:103>" 40092.852 Info ServerMultiplayerManager.cpp:814: updateTick(302151105) changing state from(InGame) to(Failed) 40092.852 Quitting: multiplayer error.

notnotmelon commented 9 months ago

Fixed https://github.com/pyanodon/pyalternativeenergy/commit/0e8740e26bdbef8e255680b5e01364debc4672d8