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
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:
-
- Inserter
- Posts: 23
- 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: 23
- 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 8 times
-
- Inserter
- Posts: 23
- 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.