Page 2 of 2

Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!

Posted: Wed Jan 08, 2025 10:00 pm
by WhiteWhistle
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
all speed mods in the actual ship are rare
all speed mods in the actual ship are rare
01-08-2025, 15-58-29.png (4.19 MiB) Viewed 398 times
rare eff 3 mods
rare eff 3 mods
01-08-2025, 15-59-33.png (97.8 KiB) Viewed 398 times
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

Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!

Posted: Thu Jan 09, 2025 9:15 pm
by cellularmitosis
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.
Hmm, exactly 50 platforms left over. Definitely a bug.

Re: rocketcal.cc: calculate the rocket launches needed to build a space platform blueprint!

Posted: Thu Jan 09, 2025 11:42 pm
by cellularmitosis
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.
Ok, I think I finally have this figured out, this was a bit tricky.

Take a look at the following in-game screenshot:
Screenshot 2025-01-09 at 3.39.30 PM.png
Screenshot 2025-01-09 at 3.39.30 PM.png (125.84 KiB) Viewed 305 times
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!

Posted: Fri Jan 10, 2025 4:33 pm
by DaleStan
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!

Posted: Fri Jan 10, 2025 9:47 pm
by cellularmitosis
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.
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.