Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Add pausing and resuming in between game sessions

yesjoeyesjoey opened this issue ยท 6 comments

commented

Hello! I apologize if this was already suggested, but maybe a good feature (If this is possible) would be to be able to pause and save in one session and resume when logging back in at a later time. This would prove beneficial to players who are focusing on large projects that take multiple days to complete and aren't able to keep a running PC overnight due to financial or hardware issues.

Settings

I believe that there should be (again, if this is possible), a MANUAL save option/button where before you plan on leaving the server or moving on to some other task, you can manually save and cross-session pause your current build. When you relog or want to continue, you'd be able to press the same button to continue the last process. Honestly, I don't know anything about coding and I have no idea if this is even possible so I apologize if this is a waste of time!

Context

This would improve Baritone greatly by allowing players to improve the scale of and increase the creativity of the builds and tasks Baritone is used to perform by allowing projects to have a wider time frame.

Final checklist

  • I know how to properly use check boxes
  • [ x] I have not used any OwO's or UwU's in this issue.
commented

I think this is a duplicate but it's pretty detailed so I'll keep this open and close the ones it duplicates.

I tried adding this myself and had a bunch of issues, mainly some things are inconsistently saved / not saved after logging out, such as calculated paths.

commented

I actually found a semi-solution. In order to do this, (without adding any kind of code or modifying existing), you NEED to use #b sel pos1 and #b sel pos2 in order to set your positions at the appropriate locations. After that, disable "Allow Break" on Baritone, and start building. If you happen to get disconnected, reconnect and re-place those SAME EXACT pos positions, and execute the build. This most of the time I have found will continue the build but it can be inconsistent and buggy at times.

commented

That's only for building, not pathing

commented

It would be really cool to add that maybe we want a lot from you but we would be grateful if you do.

commented

I may be late, but this is AMAZING!!

commented

I would like to add on to this suggestion.

Maybe an entire task/path system that you can save and come back to later. Similar to saving waypoints. You could save different tasks/paths to resume at a later time.

Example: I want to build 3 different schematics, I start one, I decide I don't want to finish it now but want to work on my other one. I save this task and exit out of it. Now I do a new schematic command. Similarly, I decide to work on a different one, so I save this task and exit out. I start a 3rd one. At any time I can pause a task and save it then cancel out of it. However, later I can reload that task that I had canceled out of which would reload all my settings from that time (selection, paths, commands, etc).