Xian55 / WowClassicGrindBot

Highly configurable and responsive World of Warcraft Classic pixel Grind Bot - No DLL injection or memory tampering, just screen capture and input simulation.
177 stars 121 forks source link

Bot will keep trying to skin over and over again. #571

Closed adamssullivan closed 6 months ago

adamssullivan commented 7 months ago

Description

While in combat the bot will keep trying to skin over and over again until it just dies.

Addon Version

current

World of Warcraft Client

SOD Classic

Reproduction Steps

  1. in combat with more than one mob that is skinnable.
  2. after the first kill it will try and skin the first mob until it dies or gets lucky

Last Good Version

No response

Screenshots

No response

Logs

out20240215.log

Xian55 commented 7 months ago

After #573 the situation should be improved! Its already in dev branch!

adamssullivan commented 6 months ago

This does seem to be better thanks

Xian55 commented 6 months ago

Meanwhile i noticed a conflicting feature in the game itself.

In case you have killed a skinnable mob, and you are facing it and the soft targeting is enabled, once you press the interact button, the skinnable target going to be preferred over the other enemy which is engaged with you in combat.

In order to avoid the endless loop of attempting skinning and getting interrupted, the player has to face away from the corpse.

The previously mentioned situation can occur without using the bot. Sadly that's how the game is currently works

Sattva-108 commented 4 months ago

Wouldn't it be easy fix to make him attempt to cast "Skinning" only once if bot is currently in combat? (Assuming no mobs left, should be fine?)

Or if that is too hard, then only skin after:

  1. Recently looted.
  2. Combat ended.

I don't do any AOE farm, and I'm new to project. So please tell me if these methods are gonna break something.

P.S: I really appreciate your recent update for bot skinning only eligible mobs.

Xian55 commented 4 months ago

Meanwhile i noticed a conflicting feature in the game itself.

In case you have killed a skinnable mob, and you are facing it and the soft targeting is enabled, once you press the interact button, the skinnable target going to be preferred over the other enemy which is engaged with you in combat.

In order to avoid the endless loop of attempting skinning and getting interrupted, the player has to face away from the corpse.

The previously mentioned situation can occur without using the bot. Sadly that's how the game is currently works

One you get familiar how the backend operates, its going to be more clear what i just explained here.

The project heavily relies on the interact with target feature which is a capability in the game.

However once soft targeting is enabled things can go wrong easily.

Interact with targert is used for turning the target if its in melee range as well.