Page 1 of 1

[Klonan] [0.18.27] Unknown style close_button

Posted: Wed May 27, 2020 5:25 am
by Kiklov
2020-05-27 00:15:31 [LEAVE] Kiklov left the game
403.191 Error MainLoop.cpp:1205: Exception at tick 17084510: The scenario level caused a non-recoverable error.
Please report this error to the scenario author.

Error while running event level::on_player_left_game (ID 44)
Unknown style close_button
stack traceback:
...lication Support/factorio/temp/currently-playing/pvp.lua:1552: in function 'choose_joining_gui'
...lication Support/factorio/temp/currently-playing/pvp.lua:3909: in function 'handler'
__core__/lualib/event_handler.lua:47: in function <__core__/lualib/event_handler.lua:45>
stack traceback:
[C]: in function 'add'
...lication Support/factorio/temp/currently-playing/pvp.lua:1552: in function 'choose_joining_gui'
...lication Support/factorio/temp/currently-playing/pvp.lua:3909: in function 'handler'
__core__/lualib/event_handler.lua:47: in function <__core__/lualib/event_handler.lua:45>
403.191 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "The scenario level caused a non-recoverable error.
Please report this error to the scenario author.


We got this error a few times last night while playing our PVP scenario.

Re: [0.18.27] Unknown style close_button

Posted: Wed May 27, 2020 12:23 pm
by Twinsen
The scenario will need to be updated due to the changes to style.lua. See viewtopic.php?p=495184#p495184
close_button was removed. Use frame_action_button instead.
This is not a bug with the game but with the scenario script.

Re: [0.18.27] Unknown style close_button

Posted: Wed May 27, 2020 3:52 pm
by Klonan
Kiklov wrote: Wed May 27, 2020 5:25 am 2020-05-27 00:15:31 [LEAVE] Kiklov left the game
403.191 Error MainLoop.cpp:1205: Exception at tick 17084510: The scenario level caused a non-recoverable error.
Please report this error to the scenario author.

Error while running event level::on_player_left_game (ID 44)
Unknown style close_button
stack traceback:
...lication Support/factorio/temp/currently-playing/pvp.lua:1552: in function 'choose_joining_gui'
...lication Support/factorio/temp/currently-playing/pvp.lua:3909: in function 'handler'
__core__/lualib/event_handler.lua:47: in function <__core__/lualib/event_handler.lua:45>
stack traceback:
[C]: in function 'add'
...lication Support/factorio/temp/currently-playing/pvp.lua:1552: in function 'choose_joining_gui'
...lication Support/factorio/temp/currently-playing/pvp.lua:3909: in function 'handler'
__core__/lualib/event_handler.lua:47: in function <__core__/lualib/event_handler.lua:45>
403.191 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "The scenario level caused a non-recoverable error.
Please report this error to the scenario author.


We got this error a few times last night while playing our PVP scenario.
Can you provide your save game?
I guess its base game PvP?
I can look at fixing it

Re: [Klonan] [0.18.27] Unknown style close_button

Posted: Fri May 29, 2020 9:28 am
by Kiklov
Yeah, it's base game PVP. We wanted to have different spawns but still be on the same team..

Here's the save: https://we.tl/t-reQl09z0Xf

Re: [Klonan] [0.18.27] Unknown style close_button

Posted: Fri May 29, 2020 10:12 am
by Klonan
Kiklov wrote: Fri May 29, 2020 9:28 am Yeah, it's base game PVP. We wanted to have different spawns but still be on the same team..

Here's the save: https://we.tl/t-reQl09z0Xf
Very cool...

It seems to work now in 0.18.28, can you confirm it works for you?
I did a script migration for the release, because I was pretty sure what the issue was

Re: [Klonan] [0.18.27] Unknown style close_button

Posted: Fri May 29, 2020 11:55 am
by Kiklov
Yeah great! It seems to work in .28 Thnx for the reply and quick fix!