[2.0.55] Crash when launching rocket by command on custom surface

This subforum contains all the issues which we already resolved.
Hanakocz
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Sun Jun 24, 2018 7:06 pm
Contact:

[2.0.55] Crash when launching rocket by command on custom surface

Post by Hanakocz »

Hello,

the current API for launching rockets should allow launching rockets with custom target, this usually works well, however I found a case when it causes a crash.

Steps to do:
1) start new game
2) use /editor to be able to cheat some stuff
3) on map view, create a space platform and let it be built up
4) move to the space platform and do something like /c storage.hub = game.player.selected while hovering over the platform hub.
5) In editor, create new surface that isn't a planet
6) go to this surface and build there rocket silo, make it ready for launch (power, parts, ...)
7) use this command: /c game.player.selected.launch_rocket({type = defines.cargo_destination.station, station = storage.hub})
8) the game crashes

the log file is attached, and the savefile from freeplay that is ready to just use the launching command is attached too.
Attachments
rockettest.zip
(2.68 MiB) Downloaded 9 times
factorio-current.log
(14.59 KiB) Downloaded 11 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 15741
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.55] Crash when launching rocket by command on custom surface

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”