kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
343 stars 332 forks source link

Diablo stash, piles etc. #1014

Open sollaf opened 5 years ago

sollaf commented 5 years ago

How do I get the bot to open piles, stash etc. while doing chaos runs?

I activated the chest open script so that it does open chests but it seems to skip stash, piles etc..

What to do?

Thanks in advance.

semirotta commented 5 years ago

I was interested about this aswell, some places those could be opened (worldstone for example)

aim2kill commented 5 years ago

\d2bs\kolbot\libs\common\attack.js around line 894 you add all chest there

sollaf commented 5 years ago

\d2bs\kolbot\libs\common\attack.js around line 894 you add all chest there

So like this:

var i, unit, list = [], ids = ["chest", "chest3", "weaponrack", "armorstand", "hiddenstash", "deadrogue", "skeleton", "skullpile"];

But it doesnt seem to work?

sollaf commented 5 years ago

Seems like I fixed the problem.

In libs\common\attack.js put:

line 894: ids = ["chest", "chest3", "weaponrack", "armorstand", "hidden stash", "roguecorpse", "skeleton", "skullpile", "loose rock", "loose boulder", "skull pile"];

in libs\common\misc.js put:

line 970:

containers = ["chest", "chest3", "armorstand", "weaponrack", "hidden stash", "roguecorpse", "skeleton", "skullpile", "skull pile", "loose rock", "loose boulder"];

Thread can be closed its fixed :-)

aim2kill commented 5 years ago

Ops my bad forgot about misc, you need to close it