kolton / d2bot-with-kolbot

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

Is it possible to make a Mode called "VeryPoor" #505

Open franva opened 6 years ago

franva commented 6 years ago

Once the VeryPoor mode is turned on, it picks up everything and sell them to save money?

rather than what I do right now is, set the gold >= 1, change several files here and there.

rhoxthebeast commented 6 years ago

There is a lowgold option in char config that sets a gold limit, below that limit the bot will auto pick stuff to sell.

On Mon, Jul 2, 2018, 17:54 Winston Fan notifications@github.com wrote:

Once the VeryPoor mode is turned on, it picks up everything and sell them to save money?

rather than what I do right now is, set the gold >= 1, change several files here and there.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kolton/d2bot-with-kolbot/issues/505, or mute the thread https://github.com/notifications/unsubscribe-auth/AYCsTvSjRlthT1LrH5bYlDk71vXEUvKxks5uCqS_gaJpZM4VADPy .

winston-fan-webjet commented 6 years ago

thanks man, could you be more specific please?

DarkHorseDre commented 6 years ago

This wasnt in my config but I chanced upon it in town.js: Config.LowGold = 150000

seems the code will sell items if your combined gold is under this number

fwaechter commented 6 years ago

You don't have to change it in the Town.js. If you change it there it's true for all profiles. Just add Config.LowGold = 150000 to your character config.

DarkHorseDre commented 6 years ago

Yeah thats what i meant, as in it is referenced in town.js but was not present in the configs, so I pasted it in