fixed issue with selling suffix items
This commit is contained in:
@@ -339,8 +339,8 @@ function refresh_entries()
|
||||
subclass = subclass_index,
|
||||
},
|
||||
page = 0,
|
||||
on_start_page = function(k, i)
|
||||
set_message('Scanning auctions: page ' .. i + 1 .. (total_pages and ' out of ' .. total_pages or '') .. ' ...')
|
||||
on_start_page = function(k, page, total_pages)
|
||||
set_message('Scanning auctions: page ' .. page + 1 .. (total_pages and ' out of ' .. total_pages or '') .. ' ...')
|
||||
return k()
|
||||
end,
|
||||
on_read_auction = function(k, i)
|
||||
|
||||
@@ -86,11 +86,8 @@ function move_item(from_slot, to_slot, amount)
|
||||
end
|
||||
|
||||
function item_name(slot)
|
||||
local hyperlink = GetContainerItemLink(slot.bag, slot.bag_slot)
|
||||
if hyperlink then
|
||||
local _, _, item_name = strfind(hyperlink, "^.-%[(.*)%].*")
|
||||
return item_name
|
||||
end
|
||||
local container_item_info = Aux.info.container_item(slot.bag, slot.bag_slot)
|
||||
return container_item_info and container_item_info.name
|
||||
end
|
||||
|
||||
function item_id(slot)
|
||||
|
||||
Reference in New Issue
Block a user