fuel all stages percentage includes volume of dumped stage until dumped stage is out of range, Causes 'while fuel Stage > 0' to end prematurely on 2nd stage. Also causes 'while fuel AllStages > 0' to not end when fuel of all stages = 0 on 2nd (final) stage.
View |
11 Comments
- Log in to leave a comment
-
@bspawn ok well I just finished my automatic moon landing program which includes the launch from earth and it actually works I’m incredibly surprised
-
235 bspawn
@Boingaircraft never mind. Whatever the glitch is, it has been picked up and fixed for the next version.
-
@bspawn just do fuel equals zero and while throttle above zero if that doesn’t work in a repeat loop with a wait for throttle then break before the second wait
-
-
235 bspawn
@Boingaircraft
what does work with all stages is this:
while (true)
wait until fuel stage <=0
wait 2 seconds
activate stage
wait 2 seconds
endwhile -
-
@bspawn I can make a 2 stage rocket stage can you explain it simpler so I can understand maybe
-
235 bspawn
@Boingaircraft "use current stage fuel = 0"
Thanks for the comment but that does not work, except supposedly with a long enough "wait x second" before it - i have not (yet) tested that.
It may or may not have something to do with 'fuel all stages percentage includes volume of dumped stage'. -
-
235 bspawn
"fuel all stages percentage includes volume of dumped stage until dumped stage is out of range" appears to be fixed, and did not cause the issues with fuel Stage / AllStages on 2nd stage.
Vizzy code 'While Stage fuel > 0' works for the first stage but does not work for the second stage: the While loop is skipped.
'While AllStages fuel > 0' also does not work for 2nd stage: the While loop never ends.
The workaround i found is to use 'fuel AllStages' instead of 'fuel Stage' for the 2nd stage AND within the loop check for fuel AllStages < 0.001 and break out of the loop if true. This only works because it is a 2 stage rocket...
@bspawn ok I get it now no one uses all stages