cabaletta / baritone

google maps for block game
GNU Lesser General Public License v3.0
7.1k stars 1.42k forks source link

Mobs killing baritone while mining. #786

Closed bjcband closed 5 years ago

bjcband commented 5 years ago

Some information

Operating system: Win 10 Java version: v8u45 Minecraft version: 1.14.4 (no impact) Baritone version: recent (~10 days)(sorry XD) Forge mods (if used): none

Some examples:

  1. Baritone walks through a cave, creeper sees the bot but it keeps mining. Creeper walks right up behind baritone and explodes. A fix for this could be killing the creeper, or blocking up the path behind the bot.
  2. Baritone walks near lava to mine some blocks in a cave. A skeleton spots baritone, and shoots an arrow at baritone, hitting the bot into lava. A fix for this could be, again killing the skeleton, or standing at a calculated distance from lava after detecting a skeleton.
  3. Baritone walks near lava again in a cave and a creeper walks up to the bot and it explodes, the blocks destroyed or knockback knocks baritone into lava. A fix for this could be, killing the creeper, or standing at a range from lava on detection of a creeper (maybe used in combo of killing the creeper) Also if desperate measures happen where the bot cannot escape the creeper, maybe it could build below itself after the explosion to build a platform above the lava.

It is a lot to ask, but these are some issues I had while using the bot. It is a bug and suggestion, but it did interfere when I wanted to start mining, otherwise I had no problems.

LoganDark commented 5 years ago

standing at a calculated distance from lava after detecting a skeleton

dodge the arrow.

PatrickStar420 commented 5 years ago

you can turn on avoidance, jesus, kill aura and auto log turn off combat pause for the best results and then all the problems you listed would be fixed

LoganDark commented 5 years ago

you can turn on avoidance, jesus, kill aura and auto log

Baritone doesn't have those.

plootia commented 5 years ago

Baritone has avoidance.

On Wed., Aug. 14, 2019, 10:40 p.m. LoganDark, notifications@github.com wrote:

you can turn on avoidance, jesus, kill aura and auto log Baritone doesn't have those.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cabaletta/baritone/issues/786?email_source=notifications&email_token=AJWBKT6KUWTOVDVGYVHLW4LQES6YZA5CNFSM4ILZA3UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4KVR3A#issuecomment-521492716, or mute the thread https://github.com/notifications/unsubscribe-auth/AJWBKT3BL7TC664NZNXARQ3QES6YZANCNFSM4ILZA3UA .

PatrickStar420 commented 5 years ago

you can turn on avoidance, jesus, kill aura and auto log

Baritone doesn't have those.

Yeah but most hacked clients have those options accept avoidance since that is a part of baritone already

BlueCyro commented 5 years ago

In my experience, avoidance doesn't work unless you're following a player.

0-x-2-2 commented 5 years ago

avoidance does work it is just done at path calc so if a mob moves onto the path it wont avoid the mob.

bddvlpr commented 5 years ago

Just turn the avoidance radius higher and you’ll be good.

TheUnderTaker11 commented 3 years ago

This really shouldn't be closed, at least not for the reason given.

Avoidance, if set too high, makes Baritone never able to calculate any path.

Then if it's at a more reasonable amount, the mobs see the bot and very easily follow it into the path it made. Avoidance settings haven't reduced the deathrate of my bot in the slightest.

If it's a "won't fix/not directly related so not gonna try to fix" then that's fine, but the reason for closing it doesn't actually work since it doesn't account for the mobs seeing and following you. What I would like to see is the option for baritone to close the 2 block path behind it every once in awhile, would solve at least most of the deaths.

scorbett123 commented 3 years ago

You can use backfill to close the hole if you really need to. I know it isn't perfect for this use, however it would temporarily solve it. I doubt that anyone will care to fix this, and there are lots of suggestions that suggest ways to solve this issue more directly. For example lighting up mines.

5HT2 commented 3 years ago

Most people use the provided Baritone from Impact / KAMI Blue, which do have KillAura integrated with Baritone which would solve this issue

josephyooo commented 3 years ago

Most people use the provided Baritone from Impact / KAMI Blue, which do have KillAura integrated with Baritone which would solve this issue

What if you're not one of those people? Has such a feature already been recognized as something that won't be implemented?

5HT2 commented 3 years ago

It will not be implemented.

J0SH1X commented 2 years ago

This got wayyy worse with 1.17 as there are caves everywhere now

bddvlpr commented 2 years ago

thanks, i hate it

DerDennisOP commented 1 year ago

Hey, baritone community. I'm a programmer and would contribute a fix. Who would like a fix? If there is enough demand to avoid mobs properly and doge arrows / blazes.

tbukfrc commented 2 months ago

This really should be a thing. Some people use Baritone for reasons that disallow a hacked client. I want to build a giant schematic without my bot dying constantly. Would it really be hard to make it attack mobs with a sword if it has to?

ImAlexBlock commented 2 months ago

Consider bypassing strict anti-cheat (such as Grim) I think this is difficult to achieve