Autosell doesn't SELL!

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Autosell doesn't SELL!

#1 Post 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.
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Autosell doesn't SELL!

#2 Post 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
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: Autosell doesn't SELL!

#3 Post 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)
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Autosell doesn't SELL!

#4 Post 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.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: Autosell doesn't SELL!

#5 Post 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!
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Autosell doesn't SELL!

#6 Post 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.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: Autosell doesn't SELL!

#7 Post 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!
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
Post Reply