baritone icon indicating copy to clipboard operation
baritone copied to clipboard

Defence Setting, makes bot prioritise staying alive over completing task.

Open MrBruz opened this issue 4 years ago • 9 comments

Describe your suggestion

So this would automatically eat when necessary so the player doesnt starve, run away from players if they approach or come into render distance and avoid mobs, THIS INCLUDES AVOIDING OR HITTING BACK GHASTS FIREBALLS. I have had a massive problem with that, I cannot use baritone in the nether AT ALL because ghast will constantly shoot at me and baritone doesnt defend itself. I have also had problems with avoiding mods and especialy skeletons are baritone just ignores them and let the arrows damage the player.

So, how to do this?'

Make baritone eat when hungry and status is classified as 'safe', no immidate danger such an mods or players in a dangerous vincity.

Stay out of range of basic hostile mods so avoiding creepers/zombies/skeletons/spiders, best way to do it would be to re-path away from the mobs(with that being the main goal) but force the bot walk within 45-90 degrees of the way to the original target.

Also make it so the bot will deflect ghasts fireballs and avoid areas where they will land if they could damage the bot(if the bot cannot deflect the fireball in time)

Also a good feature would be to use a shield against incoming arrows if they are incoming

Settings

Auto-eat Have different settings like: [more eating -> less eating] Regen - Eat so the bot can always regen Sprint - Eat so the bot can always sprint Live - Eat so the bot doesnt stave

Defence: Have different responce settings for reactions to players in the area, like run away when player is 100-80-50-30-20-10 blocks away from bot Make option so the bot will hide itself(mine into a wall then repair entrence and shift until player leaves area), this could also work for mobs if player is on low health and cannot regen. Have option for paranoid option where the bot will log off if a player comings within a certain distance.

Context

This means baritone is more versitile in the wild and allows people to leave the bot running, being comfortable that the account wont get fireballed as soon as it stands in the nether or let a player kill it with arrows[or with a sword, etc] as soon as the account is spotted.

Final checklist

  • [✓] I have not used any OwO's or UwU's in this issue.

MrBruz avatar Nov 08 '19 02:11 MrBruz

How would this be activated? Also, the "avoid" command doesn't work, and this link https://github.com/cabaletta/baritone/blob/master/src/api/java/baritone/api/utils/ExampleBaritoneControl.java doesn't work.

Cheese-Echidna avatar Nov 08 '19 10:11 Cheese-Echidna

It would be a setting so like you type in #defencemode true

I'm not sure about the other things you mentioned, can u give me some context?

MrBruz avatar Nov 08 '19 20:11 MrBruz

This and other things are features of hacked clients/mods like Impact, where Baritone is already implemented and used in. I don't think this is a feature that belongs into Baritone itself.

Emosewaj avatar Nov 17 '19 18:11 Emosewaj

I think that this would be a brilliant addition to baritone as often I am killed when auto mining blocks. also travelling I get attacked by mobs. This should 100% be a part of baritone, and I don't know why it isn't already.

AliahX avatar Nov 18 '19 06:11 AliahX

How would this be activated? Also, the "avoid" command doesn't work, and this link https://github.com/cabaletta/baritone/blob/master/src/api/java/baritone/api/utils/ExampleBaritoneControl.java doesn't work.

What about a setting that when you get attacked it pauses your current task, creates a new task to kill the entity that damaged you, then when it kills it it resumes your previous task. Not a perfect solution, but it is nice when clearing an area to have the bot at least fight back instead of just allowing itself to be killed.

andythoman avatar Nov 17 '20 18:11 andythoman

Just use Impact or KAMI Blue which already do exactly what you described

5HT2 avatar Nov 17 '20 18:11 5HT2

Just use Impact or KAMI Blue which already do exactly what you described

Wow, this is an old issue, but I just started to use KAMI, and I was wondering how you do that. Thanks

FinleyVickers avatar Feb 21 '21 02:02 FinleyVickers

KAMI and KAMI Blue have that feature but only KAMI Blue bundles Baritone for you.

As for how to use it, just google the website...

5HT2 avatar Feb 21 '21 04:02 5HT2

Need this real bad please make this happen. Or something like it. Only autoeating would be great already because if it does get shot and it just dips it would heal. That would already make it much better if you have any kind of decent armor.

thefasteagle avatar May 23 '22 09:05 thefasteagle