[0.16.36]Lua Error(not able to play multipla. on specific map)
Posted: Sat Apr 07, 2018 6:33 pm
by user3748
1. What did you do?
I tried to host a saved game in multiplayer using the: Host saved game
button in factorio.
2. What happened?
When the game finished loading my map a message box appeard with the following content:
ERROR MESSAGE BOX CONTENT
Notice
Error while running event
level::on_player_created (ID 24)
...Data/Roaming/Factorio/temp/currently-playing/control.lua:17: attempt to call field 'gui_init' (a nil value)
After pressing Ok I got redirected back to the main game entry screen.
3. What did you expect to happen instead?
I would have expected to be able to play my savegame in multiplayer.
4. Write down the steps to reproduce the bug if you know them.
From the main menu in factorio
Press Play->Multiplayer->Host saved game->
Choose my map with the name "map_001_bug"->Press load
Multiplayer lobby settings
Visibility: Public: checked LAN: Not checked
Max players: 2
Ignore when returning: Not checked
Max upload: no string entered
Password: no string entered
Tags: no string entered
Autosave interval: 10 minutes
AFK auto kick: never
Allow lua commands: Admins only
Only admins can pause: checked
Autosave only on server: checked
Enable non-blocking saving: not checked
Verify user identitiy: checked
Press play again. Now after closing the "Tips and tricks" dialog by pressing close,
you should now see a messeage box with the following content:
Error Message Box Content
Notice
Error while running event
level::on_player_created (ID 24)
...Data/Roaming/Factorio/temp/currently-playing/control.lua:17: attempt to call field 'gui_init' (a nil value)
After pressing Ok the dialog box disappears and you are send back to the main menu in factorio.
5. Does it happen always, once, or sometimes?
In multiplayer this Error always ocours.
In singleplayer the map loads and works fine.
Additional notes:
Factorio Error Message Picture
Factorio Error Message Picture
Factorio_Error_Message.PNG (3.03 MiB) Viewed 2243 times
Re: [0.16.36]Lua Error(not able to play multipla. on specific map)
Posted: Fri Apr 13, 2018 10:58 am
by Klonan
So your save game has the wrong script file loaded
If you can make some reliable step to reproduce the problem of having the wrong script, please let me know,
Otherwise this isn't really a bug we can fix