some bugfixes
This commit is contained in:
+6
-8
@@ -5,20 +5,18 @@
|
||||
## SavedVariables: auxSellEntries
|
||||
core.xml
|
||||
control.xml
|
||||
util.lua
|
||||
|
||||
sell.xml
|
||||
buy.xml
|
||||
|
||||
scan.xml
|
||||
stack.xml
|
||||
post.xml
|
||||
scan.lua
|
||||
stack.lua
|
||||
post.lua
|
||||
info.xml
|
||||
util.lua
|
||||
completion.xml
|
||||
list.xml
|
||||
|
||||
options.xml
|
||||
about.xml
|
||||
|
||||
list.xml
|
||||
|
||||
completion.xml
|
||||
|
||||
|
||||
@@ -32,14 +32,14 @@ function process()
|
||||
if stack_slot then
|
||||
post_auction(stack_slot, function()
|
||||
state.posted = state.posted + 1
|
||||
process()
|
||||
return process()
|
||||
end)
|
||||
else
|
||||
stop()
|
||||
return stop()
|
||||
end
|
||||
end)
|
||||
else
|
||||
stop()
|
||||
return stop()
|
||||
end
|
||||
end
|
||||
|
||||
@@ -97,6 +97,6 @@ function Aux.post.start(name, stack_size, duration, bid, buyout, count, callback
|
||||
callback = callback,
|
||||
}
|
||||
|
||||
process()
|
||||
return process()
|
||||
end)
|
||||
end
|
||||
@@ -176,7 +176,8 @@ end
|
||||
|
||||
function Aux.stack.start(name, size, callback)
|
||||
Aux.control.on_next_update(function()
|
||||
stop()
|
||||
stop()
|
||||
|
||||
local slots = item_slots(name)
|
||||
local target_slot = slots()
|
||||
|
||||
@@ -188,12 +189,12 @@ function Aux.stack.start(name, size, callback)
|
||||
}
|
||||
|
||||
if not target_slot then
|
||||
stop()
|
||||
return stop()
|
||||
elseif item_charges(target_slot) then
|
||||
state.target_slot = find_charges_item_slot(name, size)
|
||||
stop()
|
||||
return stop()
|
||||
else
|
||||
return process()
|
||||
end
|
||||
|
||||
process()
|
||||
end)
|
||||
end
|
||||
Reference in New Issue
Block a user