kolton / d2bot-with-kolbot

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

How to sell the cubing items to the store without throwing them away? #1955

Open okokoksss opened 5 years ago

okokoksss commented 5 years ago

hello guys my bots cubing and check my nip. keep or throw I want to sell those items to the store instead of throwing them away. how can i fix it? thx for help

mf022 commented 5 years ago

maybe you should add some changes to https://github.com/kolton/d2bot-with-kolbot/blob/master/d2bs/kolbot/libs/common/Cubing.js#L967-L971, like:

                        case 0:
                            Misc.itemLogger("Sold", items[j], "doCubing");
                            Town.initNPC("Shop", "clearInventory");
                            unids[j].sell();

                            break;
okokoksss commented 5 years ago

maybe you should add some changes to https://github.com/kolton/d2bot-with-kolbot/blob/master/d2bs/kolbot/libs/common/Cubing.js#L967-L971, like:

                      case 0:
                          Misc.itemLogger("Sold", items[j], "doCubing");
                          Town.initNPC("Shop", "clearInventory");
                          unids[j].sell();

                          break;

oh thx :)