[0.15.23] Game crash after mod script error

This subforum contains all the issues which we already resolved.
Bilka
Factorio Staff
Factorio Staff
Posts: 3310
Joined: Sat Aug 13, 2016 9:20 am
Contact:

[0.15.23] Game crash after mod script error

Post by Bilka »

After using a mod created command the mod gave a script error because the command parameter was nil. When clicking ok, the game itself also crashed.

Steps to reproduce:

1. Start a multiplayer game with the attached mod, enable commands for all players
2. Have somebody else join you
3. Use "/mailAll" in the console. Don't give any parameters, just use the command.

You will get the script error. After clicking Ok on that, the game will crash.
Attachments
YouGotMail_0.1.0.zip
(127.29 KiB) Downloaded 147 times
Last edited by Bilka on Sun Feb 25, 2018 1:18 am, edited 1 time in total.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14720
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.23] Game crash after mod script error

Post by Rseding91 »

Do I run the command as the joined player or the person hosting the MP game?
If you want to get ahold of me I'm almost always on Discord.
Bilka
Factorio Staff
Factorio Staff
Posts: 3310
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.15.23] Game crash after mod script error

Post by Bilka »

As the host.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14720
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.23] Game crash after mod script error

Post by Rseding91 »

When I try either I get the standard prompt on the server host and clicking "OK" exits to the main menu.
If you want to get ahold of me I'm almost always on Discord.
Bilka
Factorio Staff
Factorio Staff
Posts: 3310
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.15.23] Game crash after mod script error

Post by Bilka »

I can reproduce the crash. (Only in multiplayer, but even without another person. If I use the command in singleplayer the game only shows the error and does not crash). What can I do to help investigate this crash?
Attachments
the settings I used to start the game
the settings I used to start the game
427520_20170627204502_1.png (1.19 MiB) Viewed 3472 times
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14720
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.23] Game crash after mod script error

Post by Rseding91 »

Thanks for the screenshot. I was able to reproduce the crash when I set it to host public - which I wasn't doing before.

It's now fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”