I did my first test today.
It worked really well.
I want to attack the NPCs that tacle my ships like web and warp disruptor first.
Despite being tacled by the web and warp disruptor, the bot program attacked other NPCs first.
Then a neutral user suddenly appeared on local.
It was really dangerous.
I stopped the bot program and manually escaped the crisis.
I want to attack the NPCs that tacle my ships like web and warp disruptor first.
When we have that session recording, we can adapt the function to prioritize the NPCs to attack.
If you want to avoid having a bot run into such problems, you can also use a simulation before using it on a real game client. Using a simulation, you can see how a bot behaves in such a situation, without even starting a game client. Here is a guide on simulations: bots/guide/testing-a-bot-using-simulated-environments.md at main · Viir/bots · GitHub