kolton / d2bot-with-kolbot

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

Help with uber bot #1029

Open blinktenor opened 5 years ago

blinktenor commented 5 years ago

Im working on the org torch script and running into some difficulty. Im using a smiterdin that does not have nigma. Ideally, Id like the bot to clear the path to the mini bosses for den and hell. My thought here is for gold/rejuv collection as well as success rate. Currently the bot just tries to run to the minis, gets blocked by a mob and quits.

I looked through the diablo script as an example. I modified the script to Attack.clear(20) before the path, which does something close to what I expected, but it doesnt put the expected Aura on (and then gets hosed). Is there an area I should reference in the codebase that does this?

Also is there an example of somewhere that a bot changes out gear? I want to set up a fade buff from inventory (I know this is risky, I will be watching and holding games open just in case)

gdias1992 commented 5 years ago

get a nigma

blinktenor commented 5 years ago

I'm sorry, thats not what I'm looking for. I was asking a question about the code. While that seems like a simple enough answer, I would like to solve the issue I asked about.

5noop commented 5 years ago

Replace these lines in OrgTorch.js: line 177 Pather.moveToPreset(133, 2, 397, 2, 2, true); line 190 Pather.moveTo(findLoc[i], findLoc[i + 1], 3, true); line 205 Pather.moveToPreset(135, 2, 397, 2, 2, true);

Disclaimer: I didn't test it

blinktenor commented 5 years ago

Ah, that makes sense. I assumed the pather didn't incorporate the attacking, but I see the difference. Thanks a bunch!