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.
[2.0.55] Crash when launching rocket by command on custom surface
[2.0.55] Crash when launching rocket by command on custom surface
- Attachments
-
- rockettest.zip
- (2.68 MiB) Downloaded 10 times
-
- factorio-current.log
- (14.59 KiB) Downloaded 11 times
Re: [2.0.55] Crash when launching rocket by command on custom surface
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.