Open MCMic opened 3 years ago
Ok, I think this commit should fix it:
A couple other related commits:
We played the mission and it crashed after docking at sb-29. We tried again and same crash. Most likely when the prince is supposed to come aboard.
I tested it a few days ago and it worked, so I think it is related to those fixes.
What crashes? snis_server? or just the Lua script?
Anything in snis_server_log.txt?
snis_server crashes. I think snis_server.default.log was overwritten because we relaunched it. I had to delete the lock file by hand to do so.
Hum, I tried editing the script to trigger the board_prince function at start and nothing crashes. I will have to do the mission again to see if I can reproduce the crash or if it was specific to something in our setup.
I cannot reproduce the crash on a single computer.
Things that might play a role:
Ok, thanks.
In the bad ending of royal wedding mission, the cargo was not empied.
I received the payment, which means check_player_cargo did return true, but collect_player_cargo somehow failed because the manifest still showed the mission cargo after mission end.