Log in

View Full Version : sloot2



stickyfingers
01-04-2011, 11:53 AM
>;sloot2 sell
--- Lich: sloot2 active.
>
[sloot2]>open #4284246
There doesn't seem to be any way to do that.
[sloot2]>look in #4284246
There is nothing in there.
[sloot2: error: failed to find lootsack contents]
--- Lich: sloot2 has exited

Getting this error when trying to sell with sloot2. It has Lootsack id as 4, and it is trying to use my circlet(first item i'm wearing that starts with #4 i think) as the containter to sell.

>;e echo UserVars.lootsack.id
--- Lich: exec2 active.
[exec2: 4]
--- Lich: exec2 has exited.

In setup all my sacks types are set, and the script sells completely fine on my empath but won't on my rogue for some reason. New with Lich/Ruby, is there a manual way to change that variable with a command. Or another way to fix this problem?

also what is this command doing exactly, from sloot2 script, was trying to adjust script manually but didn't know where to edit.

lootsack = (GameObj.inv.find { |obj| obj.name =~ /\b#{Regexp.escape(UserVars.lootsack.strip)}$/i } || GameObj.inv.find { |obj| obj.name =~ /\b#{Regexp.escape(UserVars.lootsack).sub(' ', ' .*')}$/i })


Thanks in advance

IorakeWarhammer
01-04-2011, 02:13 PM
seems like your sack is just too small :)