Page 1 of 1

[0.15.23] Game crash after mod script error

Posted: Mon Jun 26, 2017 3:38 pm
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.

Re: [0.15.23] Game crash after mod script error

Posted: Mon Jun 26, 2017 7:42 pm
by Rseding91
Do I run the command as the joined player or the person hosting the MP game?

Re: [0.15.23] Game crash after mod script error

Posted: Mon Jun 26, 2017 7:59 pm
by Bilka
As the host.

Re: [0.15.23] Game crash after mod script error

Posted: Mon Jun 26, 2017 8:03 pm
by Rseding91
When I try either I get the standard prompt on the server host and clicking "OK" exits to the main menu.

Re: [0.15.23] Game crash after mod script error

Posted: Tue Jun 27, 2017 6:55 pm
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?

Re: [0.15.23] Game crash after mod script error

Posted: Wed Jun 28, 2017 12:00 pm
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.