rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!
-
- Manual Inserter
- Posts: 1
- Joined: Wed Jan 08, 2025 9:54 pm
- Contact:
Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!
Fantastic tool, worked great for me so far, however it does not seem to take quality into account for modules, please see launch planner and attached screenshots.
https://rocketcal.cc/6a209f20904c22416206dd7d5e354c4b
I can fix it manually, but I wanted to bring it to your attn
Specifically the modules in the mixed launch combinator are not quality, it launches quality for the autolaunches
https://rocketcal.cc/6a209f20904c22416206dd7d5e354c4b
I can fix it manually, but I wanted to bring it to your attn
Specifically the modules in the mixed launch combinator are not quality, it launches quality for the autolaunches
-
- Inserter
- Posts: 28
- Joined: Sat Nov 02, 2024 8:21 pm
- Contact:
Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!
Hmm, exactly 50 platforms left over. Definitely a bug.Zulan wrote: Thu Dec 19, 2024 3:28 pm Thank you for the tool, it is very useful and well done. I have some suggestions to streamline the construction blueprints:
- Consider this platform: https://rocketcal.cc/c14bbb4311615a0693ae8912e7f25ede It only uses starter platform as auto launch and it has deleted default platforms. The auto launch blueprint is wrong. It does require platforms (which it should not), but not even all platforms. Not sure what is going on here.
-
- Inserter
- Posts: 28
- Joined: Sat Nov 02, 2024 8:21 pm
- Contact:
Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!
Ok, I think I finally have this figured out, this was a bit tricky.Zulan wrote: Thu Dec 19, 2024 3:28 pm Thank you for the tool, it is very useful and well done. I have some suggestions to streamline the construction blueprints:
- Consider this platform: https://rocketcal.cc/c14bbb4311615a0693ae8912e7f25ede It only uses starter platform as auto launch and it has deleted default platforms. The auto launch blueprint is wrong. It does require platforms (which it should not), but not even all platforms. Not sure what is going on here.
Take a look at the following in-game screenshot:
The game shows a count of 110 tiles, but if you count them up, there are 61, plus the 64 which sit underneath the hub, that's 125. So what the heck? It turns out 15 of the tiles under the hub are missing.
The bug is that when my script generates the auto-launch blueprint, it isn't giving special consideration to ensure that the hub has all 64 tiles under it. It looks at the "budget" of 110 tiles, places the first 110 it comes across, and calls it good, totally ignoring whether those 110 cover the hub or not.
The 15 tiles which are missing under the hub triggers an extra rocket launch during the auto-build phase. The manual phase then sends up another 46 tiles, so you end up with exactly 50 extra tiles.
I'll get a bugfix shipped shortly. Thanks again for pointing this out!
Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!
Some of the weights listed by https://rocketcal.cc/weights.json are incorrect.
Ones I have specifically noticed are copper, iron, and steel plate, and landfill which I believe should be 1, 1, 2.5, and 50. (I'm trying to validate YAFC against rocketcal.cc)
EDIT: Having now implemented weight calculations in YAFC, this is the diff between my weight results and yours. When we both had the same answer, I assumed we were both correct. Where we disagreed, I verified (most of) my results in Factorio.
Ones I have specifically noticed are copper, iron, and steel plate, and landfill which I believe should be 1, 1, 2.5, and 50. (I'm trying to validate YAFC against rocketcal.cc)
EDIT: Having now implemented weight calculations in YAFC, this is the diff between my weight results and yours. When we both had the same answer, I assumed we were both correct. Where we disagreed, I verified (most of) my results in Factorio.
- Attachments
-
- weights.zip
- (1.53 KiB) Downloaded 103 times
-
- Inserter
- Posts: 28
- Joined: Sat Nov 02, 2024 8:21 pm
- Contact:
Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!
Ah thanks! The weights in rocketcal.cc were derived from parsing the lua game files, but maybe I have a bug. I have since learned how to use the command-line flags to get a data dump. I should derive the weights from the data dump and compare them to yours.DaleStan wrote: Fri Jan 10, 2025 4:33 pm Some of the weights listed by https://rocketcal.cc/weights.json are incorrect.
Ones I have specifically noticed are copper, iron, and steel plate, and landfill which I believe should be 1, 1, 2.5, and 50. (I'm trying to validate YAFC against rocketcal.cc)
EDIT: Having now implemented weight calculations in YAFC, this is the diff between my weight results and yours. When we both had the same answer, I assumed we were both correct. Where we disagreed, I verified (most of) my results in Factorio.
Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!
This is a super useful tool, but I had two issues with using the blueprint below:
1. The auto launch blueprint only includes 746 foundations, but the full blueprint has 839, so this ends up being exactly 50 foundations short after the manual launches.
2. The auto launch blueprint contains 10 rare chemical plants as expected but it also includes the 30 eff1 modules in those chemical plants, and so causes 50 modules to be auto launched which is more than the full blueprint requires.
1. The auto launch blueprint only includes 746 foundations, but the full blueprint has 839, so this ends up being exactly 50 foundations short after the manual launches.
2. The auto launch blueprint contains 10 rare chemical plants as expected but it also includes the 30 eff1 modules in those chemical plants, and so causes 50 modules to be auto launched which is more than the full blueprint requires.
Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!
I pasted a blueprint recently and was informed "Internal server error: Weight unknown for 'one-to-one-reverse-pipe'"
Which is reasonable, but I'd like to be able to paste that blueprint anyway, and also others with modded items. Is there a way I can host/run rocketcal.cc locally and load it up with information from the mods I'm using?
Which is reasonable, but I'd like to be able to paste that blueprint anyway, and also others with modded items. Is there a way I can host/run rocketcal.cc locally and load it up with information from the mods I'm using?
-
- Inserter
- Posts: 28
- Joined: Sat Nov 02, 2024 8:21 pm
- Contact:
Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!
Thanks for the suggestion Zulan, I've just implemented silos with ghosted inventories as another option!Zulan wrote: Thu Dec 19, 2024 3:28 pm
- Instead of / in addition to the counting combinator request setup, I would prefer using construction inventory ghosts. In case you are not aware: from map you, you can make construction bots insert items into inventories. This works with blueprints. To create a space platform, you could cycle through the blueprint book and then shift click the required cargo in any rocket that is ready. This makes it easier to distribute the cargo across several rockets.
- Attachments
-
- Screenshot 2025-07-30 at 8.02.47 PM.png (100.98 KiB) Viewed 358 times
-
- Inserter
- Posts: 28
- Joined: Sat Nov 02, 2024 8:21 pm
- Contact:
Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!
Hi DaleStan, if you can give me a list of modified items and their weights, I'll add them to my python script.DaleStan wrote: Sun Mar 30, 2025 4:02 am I pasted a blueprint recently and was informed "Internal server error: Weight unknown for 'one-to-one-reverse-pipe'"
Which is reasonable, but I'd like to be able to paste that blueprint anyway, and also others with modded items. Is there a way I can host/run rocketcal.cc locally and load it up with information from the mods I'm using?
It would be most convenient if you list the in this format:
Code: Select all
'buffer-chest': 20.0,
'bulk-inserter': 20.0,
'burner-generator': 100.0,
-
- Inserter
- Posts: 28
- Joined: Sat Nov 02, 2024 8:21 pm
- Contact:
Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!
thanks for including a blueprint!torne wrote: Tue Mar 18, 2025 12:44 pm This is a super useful tool, but I had two issues with using the blueprint below:
1. The auto launch blueprint only includes 746 foundations, but the full blueprint has 839, so this ends up being exactly 50 foundations short after the manual launches.
2. The auto launch blueprint contains 10 rare chemical plants as expected but it also includes the 30 eff1 modules in those chemical plants, and so causes 50 modules to be auto launched which is more than the full blueprint requires.
I've fixed the foundation count bug (your auto bp will now include 810 foundations, with another 29 in the first manual launch).
However, I still need to fix the modules-in-auto-bp bug, thanks for pointing that out.
-
- Inserter
- Posts: 28
- Joined: Sat Nov 02, 2024 8:21 pm
- Contact:
Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!
Ok, this should be fixed now. Thanks for providing an example blueprint!WhiteWhistle wrote: Wed Jan 08, 2025 10:00 pm Fantastic tool, worked great for me so far, however it does not seem to take quality into account for modules, please see launch planner and attached screenshots.
- Attachments
-
- Screenshot 2025-07-30 at 9.01.19 PM.png (127.23 KiB) Viewed 327 times