darkbot-reloaded / DarkBot

Darkbot is a memory-bot for a flash browser-game
https://darkbot.eu/
67 stars 53 forks source link

Pet Locator not going to locate NPC #373

Open Andrzejone opened 2 months ago

Andrzejone commented 2 months ago

Is there an existing issue for this?

Are you running the latest bot version?

Have you tried to remove all plugins and see if the issue persists?

Can anyone else reproduce the issue?

Describe the bug

When hunting on any map with Pet locator set to certain NPC with flag "Ignore boxes" and negative priority on this NPC, bot goes to NPC but it shutter between resources to collect on map and traveling to NPC

Bot settings are One NPC to kill on map with -10 proprity and Extra flags set as below: Ignore ovnership Ignore attacked Ignore boxes PET localizator

Setting below table "Ignore enemies futher than" is set to 20 000

Resources from this NPC to collect are set to be collected with priority 0 and set radius "collect while killing" to 700

Expected Behavior

Ignore Resources while traveling to NPC on PET locator and collect them when no NPC on PET locator is found\while being not futher aways from them while killing NPC than set radius in Collect tab.

Steps To Reproduce

  1. Make new config file
  2. Fly thru map to NPC be added to NPC tab
  3. Select for one NPC in Extra row "PET locator, Ignore boxes"
  4. Select some resources to be collected ex. dropped from NPC you gonna shoot
  5. Farm couple of NPC's. See how bot tries go to collect missed resources far away despite selected Extra feature "ignore boxes" for NPC you hunt

Screenshots, Video, or other media

https://github.com/user-attachments/assets/ef0cb26f-20b3-483c-97ae-c39668426b4c

Logs

2024-08-08_15-37-34_853.txt

Bot Version

1.131.2

Installed Plugins & versions

Default plugin v2.0.0

Browser API & version

KekkaPlayer v26 [8]

Operating System

Windows 10 22H2 19045.2604

Anything else?

No response