Shopbot issues

Hi,

I tried shopbot for a first time to get me some claws and wands. Here is some issues I have noticed.

  1. Shopbot script don’t use Anya’s portal in act5 if the quest is done but the waypoint is not taken. Fixed that ugly…

  2. I shop wands in act2 from Drognan and the bot goes to Rocky Waste (next to Drognan) to reset the inventory. If the bot chickens when it is outside and gets hit the first thing it does after creating a new game is … dadaa it drops every single item it has bought =)

  3. Is the bot ever stashing bought items when inventory is full?

  4. It would be nice if the bot prints to the console (or stops) if it has run out of money…

D2Bot # Version: 19.3.3.100
Kolbot Branch: master

it should work as intended, check the line 302 of Shopbot.js. Anyway, the red portal is up?

If you want to use only waypoints, comment the lines 311-313

			} else if (getDistance(me, exit) < (getDistance(me, wpX, wpY) + 6)) {
				Pather.moveToExit(me.area + 1, true);
				Pather.moveToExit(me.area - 1, true);

yes, when space in inventory is too small, he should move the items to stash.

you can add in line 159 a desired value for gold, depending of the value of shopped items>

				if (Config.ShopBot.QuitOnMatch || me.gold <= 25000) {
					scriptBroadcast("quit");
				}

or you can add additional lines

				if (me.gold <= 25000) {
					D2Bot.printToConsole("Shopbot out of gold. game: " + me.gamename + "char: " + me.account + " - " + me.name, 6);
					D2Bot.stop(me.profile, true);
				}

Thanks for the reply. I’ll modify the script. However:

  1. Portal is there but the bot started to WP to Crystalline Passage.

  2. Config.ShopBot.QuitOnMatch = true; This has no effect at all. At least when the bot equips the wand he buys.

Ok. I just grabbed lvl99 Pally unskilled/unstatted/unequipped, put him Sanders boots and maxed Vigor at first.

Now I also bought him a belt and configured it to be full of HP. Also put rest of the points to Vit so now he doesn’t chicken so easy =)

Rocky Waste is ok since it must be much faster than going to WP…

Tested that and it just should. It keeps running and acts like it don’t find any matches. Tested that with easy pickit.

check this https://github.com/kolton/d2bot-with-kolbot/issues/1530#issuecomment-494591306

idk why it isn’t working like in the past, but you should try to add shopbot.nip in the config.