Page 1 of 1

Autosell doesn't SELL!

Posted: Sat Nov 20, 2010 1:10 pm
by jduartedj
Hi,

I've been trying to use autosell and had no success! I take it it works...

here's my settings.lua (part of)

Code: Select all

			INV_AUTOSELL_ENABLE = true,	-- autosell items at merchant true|false
			INV_AUTOSELL_FROMSLOT = 0,		-- autosell from slot #
			INV_AUTOSELL_TOSLOT = 0,		-- autosell to slot #
			INV_AUTOSELL_QUALITY = "green",	-- itemcolors to sell
			INV_AUTOSELL_IGNORE = nil,		-- itemnames never so sell
			INV_AUTOSELL_NOSELL_DURA = 0,	-- durability > x will not sell, 0=sell all
			INV_AUTOSELL_STATS_NOSELL = nil,	-- stats (text search at right tooltip side) that will not be selled
			INV_AUTOSELL_STATS_SELL = nil,		-- stats (text search at right tooltip side) that will be selled, even if in nosell
As I Want both green and white, maybe I should use:
INV_AUTOSELL_QUALITY = "white, green"

But i'm not sure... Or maybe Every time I tested it I only had whites...
anyway pls tell me if anything is wrong w/ this.

Re: Autosell doesn't SELL!

Posted: Sat Nov 20, 2010 7:57 pm
by rock5
I'm curious, what is it that you think these option do? :)

Code: Select all

			INV_AUTOSELL_FROMSLOT = 0,		-- autosell from slot #
			INV_AUTOSELL_TOSLOT = 0,		-- autosell to slot #
and

Code: Select all

			INV_AUTOSELL_NOSELL_DURA = 0,	-- durability > x will not sell, 0=sell all

Re: Autosell doesn't SELL!

Posted: Sat Nov 20, 2010 9:57 pm
by jduartedj
rock5 wrote:I'm curious, what is it that you think these option do? :)

Code: Select all

			INV_AUTOSELL_FROMSLOT = 0,		-- autosell from slot #
			INV_AUTOSELL_TOSLOT = 0,		-- autosell to slot #
and

Code: Select all

			INV_AUTOSELL_NOSELL_DURA = 0,	-- durability > x will not sell, 0=sell all

Ah wait I get it... I tought that if I DIDN'T set INV_AUTOSELL_FROMSLOT and INV_AUTOSELL_TOSLOT It'd sell through the would bag! But it seems i was mistaken as for the third one the comment is xplicit setting to 0 will sell items with any dura (0-120)

Thanks for the warning!

I though the first 2 were only to be set IF we wanted specific slots to be set! Shouldn't it be set INV_AUTOSELL_TOSLOT = 60 by default? since autosell enable is false by default...

EDIT: BTW what does the bot do if it encounter a quest item(bound or not) in a slot set to sell?
EDIT2: or set INV_AUTOSELL_TOSLOT = INV_MAX_SLOTS by default. (this is more correct)

Re: Autosell doesn't SELL!

Posted: Sun Nov 21, 2010 7:02 am
by rock5
jduartedj wrote:Ah wait I get it... I tought that if I DIDN'T set INV_AUTOSELL_FROMSLOT and INV_AUTOSELL_TOSLOT It'd sell through the would bag! But it seems i was mistaken
Hm... I can't see any code that assigns default values besides '0' so it looks like you have to specify a range. Actually I'm surprised the default for TOSLOT isn't 60. Maybe it's a safety feature.
jduartedj wrote:as for the third one the comment is xplicit setting to 0 will sell items with any dura (0-120)
Looks like your right. A dura of 0 disables it. You learn something new every day.
jduartedj wrote:EDIT: BTW what does the bot do if it encounter a quest item(bound or not) in a slot set to sell?
Quest items "Cannot be sold". So they just wont sell. You don't have to worry about them.

Re: Autosell doesn't SELL!

Posted: Sun Nov 21, 2010 10:08 am
by jduartedj
rock5 wrote:
jduartedj wrote:Ah wait I get it... I tought that if I DIDN'T set INV_AUTOSELL_FROMSLOT and INV_AUTOSELL_TOSLOT It'd sell through the would bag! But it seems i was mistaken
Hm... I can't see any code that assigns default values besides '0' so it looks like you have to specify a range. Actually I'm surprised the default for TOSLOT isn't 60. Maybe it's a safety feature.
jduartedj wrote:as for the third one the comment is xplicit setting to 0 will sell items with any dura (0-120)
Looks like your right. A dura of 0 disables it. You learn something new every day.


Actually I tested it now and works, but It sold me a "blue" Zinc Nugget, when the setting is to "white, green" only!

Re: Autosell doesn't SELL!

Posted: Sun Nov 21, 2010 9:08 pm
by rock5
jduartedj wrote:Actually I tested it now and works, but It sold me a "blue" Zinc Nugget, when the setting is to "white, green" only!
It shouldn't have. Did you add something to one of the other setting that might cause it to sell?

I just tested it. If "white,green" it didn't sell my "Zinc Nugget". If "white,green,blue" it sold so there must be something wrong with your settings.

Re: Autosell doesn't SELL!

Posted: Sun Nov 21, 2010 11:16 pm
by jduartedj
rock5 wrote: It shouldn't have. Did you add something to one of the other setting that might cause it to sell?

I just tested it. If "white,green" it didn't sell my "Zinc Nugget". If "white,green,blue" it sold so there must be something wrong with your settings.

I guess so.. :P anyway it has been working fine now!