darkbot-reloaded / DarkBot

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

Run config to chase #376

Open Andrzejone opened 1 month ago

Andrzejone commented 1 month 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

Upon setting up bot on Kill&Collect module with NPC settings enabled "Use run config to chase" bot is not switching config when NPC is running away, until NPC reach the set "Ignore NPC futher than" distance and switch to another one.

Expected Behavior

Upon NPC running away switch configuration to one set up as Running - to catch NPC fsdsfdsfdsf

dggdfgdf

Steps To Reproduce

  1. Set up bot on Kill&Collect module to any map.
  2. Select some NPC to be killed and turn on "Run config to chase" option
  3. Watch bot attacking one of them
  4. If NPC is faster than the Hero ship upon running away on low hp bot gonna chase it without changing config

Screenshots, Video, or other media

https://github.com/user-attachments/assets/16c4aa90-2374-4e8d-bc0e-2f1e05960f6c

Logs

log is empty

Bot Version

1.131.2

Installed Plugins & versions

any, but to list them: Default plugin v2,0,0 !LeanPlugin v1,6,6 MiniCore v1,6,2 Osiris v1,6,1 Penguin Plugin v3,4,0 DarkPlane v1,22,0 Discord presence v1,0,3 DmPlugin v2,3,1 Donor plugin v2,2,4 Kekka Reloaded v1,6,9 KEKW v1,7,0 Launch v1,0,5 Optimal v1,0,9 Pika Plugin v1,8,23 REEE v2,0,1 TYX Plugin v1,27 VoT Plugin v1,2,4

Browser API & version

KekkaPlayer v26

Operating System

Windows 10 22H2 19045.2604

Anything else?

No response

dm94 commented 1 month ago

That setting is for when your ship is running away from enemies, not for when an NPC is running away from you

Andrzejone commented 1 month ago

And is located in NPC tab above NPC table? Well, I think it was for NPC's

dm94 commented 1 month ago

And is located in NPC tab above NPC table? Well, I think it was for NPC's

but it will not change to that configuration until the distance is greater than the radius * 2 i.e. in the case you show it would be 1400

Andrzejone commented 1 month ago

oh, okay. I'm sure I saw bot not switching config event when this condition is met, but will test again.