baritone icon indicating copy to clipboard operation
baritone copied to clipboard

Add a way to queue goals

Open leijurv opened this issue 7 years ago • 13 comments

e.g. "baritone please don't be smart and try and go diagonal. please just go from 0,0 to 25000,0 to 25000,2000 to 24500,2000 to the portal there" btw those aren't my real base coords i promise

leijurv avatar Sep 20 '18 00:09 leijurv

can confirm, don't bother going to those coords

plootia avatar Sep 20 '18 14:09 plootia

please yes

ThaUnknown avatar Sep 25 '18 18:09 ThaUnknown

I assume the next goal in the queue would only be set if the current one is successfully reached, and if the current one fails all succeeding ones are dropped?

ZeroMemes avatar Jan 15 '19 21:01 ZeroMemes

Bumping this, it is something that I’m actually capable of doing

ZeroMemes avatar Apr 21 '19 14:04 ZeroMemes

bump! any news on this? it would be hella useful to go to a certain set of coords, then #mine , and THEN go back to home base.

VolantTheFox avatar Sep 19 '19 00:09 VolantTheFox

Would it take much more than a list tho?

ghost avatar Sep 19 '19 14:09 ghost

don't comment useless shit for no reason, unless you have something to contribute to the conversation, as it sends a notification. this isn't a forum

5HT2 avatar Jul 03 '20 01:07 5HT2

hopefully this is allowed because this info would have saved me days of research and testing (I just didn't see isActive lol):

for mod makers using the api researching how to do this, you can check if the player's BuilderProcess (or whatever process) is active ( IBaritoneProcess::isActive ) every tick or every X seconds. when it finally isn't you can execute another task. this can slow down the game if you do it every tick and is pretty scuffed so i would recommend modifying and building baritone to fire some kind of flag or event when it's done a task.

laxerrrr avatar Aug 27 '21 03:08 laxerrrr

this can slow down the game if you do it every tick

Completely incorrect.

    @Override
    public boolean isActive() {
        return schematic != null;
    }

That is the implementation. That's like one instruction, it'll take a nanosecond at most. It will not slow down your game.

More likely, some other apparently crappy slow code of yours gets ran depending on the outcome of the isActive check.

leijurv avatar Aug 27 '21 06:08 leijurv

you're right, I eat my words. currently working with an external database, didn't bother to check what was causing client-sided lag. turns out I was getting too much data every X ticks. didn't mean to insult your implementation, sorry about that.

laxerrrr avatar Aug 27 '21 09:08 laxerrrr

I found this issue personally resolved by using AltoClef.

More specifically, this fork of altoclef which allows running chain commands.

Just incase anyone from the mentioned issues would like a temporary solution / something to toy with.

SeasonalFerret avatar Jan 05 '22 16:01 SeasonalFerret

yeah but we shouldn't have to use forks/addons to use a feature that should be in the base mod

walksanatora avatar May 23 '23 04:05 walksanatora

Would also be cool to automatically set up bounding boxes, ie #queue goto 0 0 0 #queue sel pos1 #queue goto 100 0 100 #queue sel pos2 #queue sel cleararea #queue home

Natelolzzz avatar Apr 21 '25 16:04 Natelolzzz

Seems like this suggestion has lost its momentum, but I think this would be a great addition to Baritone.

bp88dev avatar Aug 15 '25 17:08 bp88dev

waiting for this solid 7years!!!

zvox-rbx avatar Oct 02 '25 18:10 zvox-rbx