[17.37] Players crashing server on join - new game crashing with import string

This subforum contains all the issues which we already resolved.
Zacharum
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Mar 31, 2019 5:48 am
Contact:

[17.37] Players crashing server on join - new game crashing with import string

Post by Zacharum »

Standard (no mods) PVP scenario with custom world settings to get off the ground a little faster. Works fine for players already connected.

Noticed this when a new player joined my server. Server would crash with an output error.

The scenario level caused a non-recoverable error.
Please report this error to the scenario author.

Error while running event level::on_gui_click (ID 1)
Unknown entity name: player
stack traceback:
.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:1388: in function 'set_player'
.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:902: in function '?'
.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:3574: in function <.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:3567>
stack traceback:
[C]: in function 'find_non_colliding_position'
.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:1388: in function 'set_player'
.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:902: in function '?'
.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:3574: in function <.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:3567>

Also, trying to start a new scenario with the exported string from the server crashes on attempting to start with a different error. I noticed that the seed option goes away when importing that string.

eyJnYW1lX2NvbmZpZyI6eyJ0aW1lX2xpbWl0IjowLCJhbGxvd19zcGVjdGF0b3JzIjp0cnVlLCJub19ydXNoX3RpbWUiOjAsImJhc2VfZXhjbHVzaW9uX3RpbWUiOjAsInJldmVhbF90ZWFtX3Bvc2l0aW9ucyI6dHJ1ZSwicmV2ZWFsX21hcF9jZW50ZXIiOnRydWUsInRlYW1fd2FsbHMiOnRydWUsInRlYW1fdHVycmV0cyI6dHJ1ZSwidHVycmV0X2FtbXVuaXRpb24iOnsib3B0aW9ucyI6WyJmaXJlYXJtLW1hZ2F6aW5lIiwicGllcmNpbmctcm91bmRzLW1hZ2F6aW5lIiwidXJhbml1bS1yb3VuZHMtbWF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iOnsibGFzdF9zaWxvX3N0YW5kaW5nIjp0cnVlLCJzcGFjZV9yYWNlIjp0cnVlLCJyZXF1aXJlZF9yb2NrZXRzX3NlbnQiOjEsInByb2R1Y3Rpb25fc2NvcmUiOmZhbHNlLCJyZXF1aXJlZF9wcm9kdWN0aW9uX3Njb3JlIjo1MDAwMDAwMCwib2lsX2hhcnZlc3QiOmZhbHNlLCJyZXF1aXJlZF9vaWwiOjEwMDAwMDAwLCJraWxsX3Njb3JlIjpmYWxzZSwicmVxdWlyZWRfa2lsbF9zY29yZSI6MTAwMDAwMH0sInN0YXJ0aW5nX2VxdWlwbWVudCI6eyJvcHRpb25zIjpbIm5vbmUiLCJzbWFsbCIsIm1lZGl1bSIsImxhcmdlIl0sInNlbGVjdGVkIjoic21hbGwifSwic3RhcnRpbmdfY2hlc3QiOnsib3B0aW9ucyI6WyJub25lIiwic21hbGwiLCJtZWRpdW0iLCJsYXJnZSJdLCJzZWxlY3RlZCI6Im5vbmUifX0=
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5289
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [17.37] Players crashing server on join - new game crashing with import string

Post by Klonan »

Thanks for the report,
It should be fixed for the next release

Can you provide a save game? I can double check the fix, and also fix your save game so you can play right away
Zacharum
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Mar 31, 2019 5:48 am
Contact:

Re: [17.37] Players crashing server on join - new game crashing with import string

Post by Zacharum »

Oh, I thought I had posted the save in here. Here's a link to it as it doesn't seem to want to upload here.. :(

https://drive.google.com/open?id=1_zKEx ... LzxlBlaCy8

Thank you so much!!
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5289
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [17.37] Players crashing server on join - new game crashing with import string

Post by Klonan »

Confirmed that its fixed in the next version

Here is a fixed version of your save:

https://drive.google.com/open?id=1R0iWZ ... DTAkKa1hUw
Zacharum
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Mar 31, 2019 5:48 am
Contact:

Re: [17.37] Players crashing server on join - new game crashing with import string

Post by Zacharum »

You are a god. Worked flawlessly!
cuixun819
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Jun 24, 2019 9:58 am
Contact:

Re: [17.37] Players crashing server on join - new game crashing with import string

Post by cuixun819 »

First of all, the following text comes from the translator.

This problem still exists in 0.17.52. When I want to switch teams in the game, the game will collapse.

Can you tell me how to modify it? Thank you.



====================================

Error while running event level::on_gui_click (ID 1)
Character can only be connected to one player at a time.
stack traceback:
.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:1405: in function 'set_player'
.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:905: in function '?'
.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:3555: in function <.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:3548>
stack traceback:
[C]: in function 'set_controller'
.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:1405: in function 'set_player'
.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:905: in function '?'
.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:3555: in function <.../AppData/Roaming/Factorio/temp/currently-playing/pvp.lua:3548>
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5289
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [17.37] Players crashing server on join - new game crashing with import string

Post by Klonan »

cuixun819 wrote: Fri Jun 28, 2019 8:59 am First of all, the following text comes from the translator.

This problem still exists in 0.17.52. When I want to switch teams in the game, the game will collapse.

Can you tell me how to modify it? Thank you.

Seems it was broken by a recent change,
It have fixed the script in the next version
Post Reply

Return to “Resolved Problems and Bugs”