ryndrb / dota2bot

DotA 2 Bot Script: Tinkering ABo(u)t
19 stars 5 forks source link

Bots can't finish Boots of Bearing #33

Closed am3692 closed 3 months ago

am3692 commented 6 months ago

In this game, Clockwork sold Tranquil Boots while trying to buy Boots of Bearing image image image image

forest0xia commented 4 months ago

This is a problem because that bot kept supporting items in backpack and when it purchases the new components, the new components got dropped on the ground. Which is a stupid issue or feature by Valve that can happen to any human players as well. But human is intelligent enough to drop and pick up with different combinations to assemble the items, which is hard for bots to do. Because some components items may in courier.

This is a systematic problem by design, and bots need to know what to drop and repick items on ground in some specific order.

forest0xia commented 4 months ago

The reference you added won't fix this problem. To fix this problem you need to have a good strategy for the bots to pick up items on the ground. But it's hard because when this issue happens, the bot most likely does not have any empty slots to pick items. So they either need to know what to drop to ground to pick up the component items on ground and finish the item building, or having courier to help picking things up and combine components, note currently we do not have sufficient APIs to do this easily.

You can reproduce this easily by assigning the bot with complex items that requires a lot of components. And give bots 50000 gold so they will try to buy the items quickly, which you will see this can happen again pretty frequently.

ryndrb commented 3 months ago

Tracked in Issues #8 .