aeon0 / botty

D2R Pixel Bot
MIT License
532 stars 378 forks source link

Chicken loop in Hardcore when using defensive chicken settings #942

Open jobithu opened 2 years ago

jobithu commented 2 years ago

Botty Version Master 20220625 https://github.com/bottytools/botty/commit/859e8e725f5be68fa5c2f1957e126ca136704311

Describe the bug having settings: chicken at 0.9, take health pot at 0.95 and CTA = 1 , botty comes in a loop of chicken, ultimately leading botty to stop (too many consecutive fails.

To Reproduce Open game Buff with CTA Fight mobs Chicken Start next game Health is LOW -> vendor is not visited Start run Go to CTA spot BO, -> HP increases, but base HP remains, resulting in not taking a pot, but a chicken. (next game starts with CTA on mainhand, getting botty mixed up with main/offhand), since never the vendor is visited in between (nor a pot is taken fast enough to avoid a chicken) the run ends after setting for max consecutive fails

Expected behavior detect that health is low on game start, visit vendor or pot so that run starts at full hp ensure that CTA is available at EACH run, dont stop checking for CTA after 1 failed CTA check could be relevant for HC only, could be combined with param safe_routines.

Screenshots / Video na

Logs na

Additional info Master, not stable.