Page 1 of 1

Sell Blue items, but not Monstercards,,, how ?

Posted: Sat Apr 23, 2011 3:25 am
by M4gm4
Hi, what i have to do, to sell blue items, but not the monstercards ?

Code: Select all


			-- expert inventar
			INV_MAX_SLOTS = 150,	 			-- maximal slots to update in the inventory:update()
			INV_UPDATE_INTERVAL = 300,	 	-- full inventory update every x seconds (only used indirect atm)
			INV_AUTOSELL_ENABLE = true,	-- autosell items at merchant true|false
			INV_AUTOSELL_FROMSLOT = 121,		-- autosell from slot #
			INV_AUTOSELL_TOSLOT = 150,		-- autosell to slot #
			INV_AUTOSELL_QUALITY = "white,green,blue",	-- 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

i can only discriminate itembagplace, stats, dura and color if i had understand right..

Re: Sell Blue items, but not Monstercards,,, how ?

Posted: Sat Apr 23, 2011 3:40 am
by rock5
Normally you would add "Card" to INV_AUTOSELL_IGNORE. But I'm not sure if that will work because cards don't always behave as expected. Maybe something to do with the '-' in the name. Try it anyway and see if it works.

Re: Sell Blue items, but not Monstercards,,, how ?

Posted: Sat Apr 23, 2011 3:41 am
by JackBlonder
I think

Code: Select all

INV_AUTOSELL_IGNORE = "Card",      -- itemnames never so sell
should work.

Re: Sell Blue items, but not Monstercards,,, how ?

Posted: Sat Apr 23, 2011 3:42 am
by M4gm4
hmm, k ,, i buy some cheap cards and test it...

Re: Sell Blue items, but not Monstercards,,, how ?

Posted: Sat Apr 23, 2011 3:49 am
by rock5
You don't need to. Just pull out some of your current cards and test. If they sell, you can just buy them back at the same price.

Re: Sell Blue items, but not Monstercards,,, how ?

Posted: Sat Apr 23, 2011 4:01 am
by M4gm4
^^ok,, i have test it ...
There is no problem, and nothing to do in the settings^^
cards can“t be selled by the merch ^^ :oops: :mrgreen:

Re: Sell Blue items, but not Monstercards,,, how ?

Posted: Sat Apr 23, 2011 10:36 am
by Alkaiser
Right, cards aren't sellable, however, the merchant function would sell faster if it didn't always try to sell them and skipped over them instead. The "Card" filter doesn't work, and like rock said, it is most likely because of the hyphen in the name.

Re: Sell Blue items, but not Monstercards,,, how ?

Posted: Sat Apr 23, 2011 8:14 pm
by rock5
The only other thing I think you can filter by is 'type'. Try adding "Monster Cards" to the "INV_AUTOSELL_TYPES_NOSELL" profile option.

Re: Sell Blue items, but not Monstercards,,, how ?

Posted: Sun Apr 24, 2011 1:50 pm
by Alkaiser
That did it!