Page 1 of 1

INV_AUTOSELL_IGNORE Question

Posted: Sun Oct 10, 2010 9:51 pm
by Alkaiser

Code: Select all

        <option name="INV_AUTOSELL_ENABLE"    value="true" />
        <option name="INV_AUTOSELL_FROMSLOT"    value="31" />
        <option name="INV_AUTOSELL_TOSLOT"    value="60" />
        <option name="INV_AUTOSELL_QUALITY"    value="white,green" />
        <option name="INV_AUTOSELL_IGNORE"    value="Rune,Sand,Bundle,Timber" />
I would like to avoid selling recipes of any color. I tried adding "Recipe" to the ignore list, but it continues to sell recipes. I do have the ingamefunctions in my interface/addons folder.

Re: INV_AUTOSELL_IGNORE Question

Posted: Sun Oct 10, 2010 10:08 pm
by rock5
Recipes are one of those problem items because of the hyphen "-" in the name. I don't think there is any way around it.

Re: INV_AUTOSELL_IGNORE Question

Posted: Sun Oct 10, 2010 10:44 pm
by Administrator
rock5 wrote:Recipes are one of those problem items because of the hyphen "-" in the name. I don't think there is any way around it.
What's the problem with hyphen? Is it just with the matching? If so, "%-" instead of just "-" should allow it to be matched properly, without having to disable wild cards.

Re: INV_AUTOSELL_IGNORE Question

Posted: Sun Oct 10, 2010 11:01 pm
by Alkaiser
Are you suggesting "Recipe %-" will work while just "Recipe" will not? As an alternative, since all recipes are worth 1 gold and this is stated in the item description, will it work if I use "1 Gold" as a filter?

Re: INV_AUTOSELL_IGNORE Question

Posted: Mon Oct 11, 2010 12:35 am
by rock5
Well I just checked, I have a recipe but the name comes up blank. I think cards would have a similar problem but an exception has been put in the code to name cards correctly. I suspect similar steps need to be taken to correctly name the recipes too.