celguar / mangosbot-bots

Bot AI Core from ike3 for cmangos/mangos classic/tbc/wotlk
https://github.com/cmangos/playerbots
84 stars 40 forks source link

Playerbots often don't use game objects or loot corpses #272

Open Loriloio opened 1 year ago

Loriloio commented 1 year ago

I'm using this project as part of spp-classics-cmangos (Update 10.06.2023).

Sometimes, bots do not automatically (and manually) do things they are tasked to do, like gathering herbs, looting corpses or even collecting quest items. In such cases, if I use the "los gos" command to list the game objects and then use "u [SomeGameObject]", the bot responds with "Using SomeGameObject", but does neither perform the objective nor do anything at all. If I use "use [SomeGameObject]" (unabbreviated), nothing happens at all and the bot does not respond with the aforementioned line.

The actions demanded from the bot, do not require skills, tools or inventory space the bot doesn't have. If I quickly log out and switch to the bots character, I can perform the actions without a problem.

This seems to happen at different probabilites, depending what action the bot is supposed to do. For gathering herbs, the chance of this happening is very high, like 80%, for looting quest items through a game object it is maybe 20%. If it occurs at some object, I can walk over to the next corpse, herb, etc and the bot does what it is supposed to do without problems.

Reenabling the gather and looting settings did not solve the issue.