Version 2.0014

Updated changelog for this checkin
master
Durel 7 years ago
parent 96a38525fc
commit 9da82267dd

@ -2,6 +2,45 @@
dbot.changelog = {}
dbot.changelog[2.0014] =
{
{ change = drlDbotChangeLogTypeFix,
desc =
[[Fixed a race condition that could allow multiple threads to run the plugin
initialization code simultaneously]]
},
{ change = drlDbotChangeLogTypeFix,
desc = "Fixed a bug that allowed multiple automatic backups to execute simultaneously"
},
{ change = drlDbotChangeLogTypeFix,
desc =
[[Fixed search queries that compare something with a field that isn't present.
If a field is not present, we use a default value of 0 for that field.]]
},
{ change = drlDbotChangeLogTypeNew,
desc =
[[Added "eager" refresh mode to allow ASAP identification of newly acquired
items. The previous refresh "on" mode works the same as before.]]
},
{ change = drlDbotChangeLogTypeMisc,
desc =
[[Optimized refresh code to skip notifications and checks in some cases where
there are no known unidentified items in your inventory]]
},
{ change = drlDbotChangeLogTypeMisc,
desc = "Increased default size of recent cache from 500 entries to 1000 entries"
},
{ change = drlDbotChangeLogTypeMisc,
desc = "Increased timeout when attempting to detect the prompt and invmon states"
},
{ change = drlDbotChangeLogTypeMisc,
desc =
[[Made the plugin less verbose. Some info notifications were downgraded to
notes and some notes were downgraded to debug messages.]]
}
}
dbot.changelog[2.0013] =
{
{ change = drlDbotChangeLogTypeFix,

@ -1667,24 +1667,31 @@ function inv.cli.refresh.fn(name, line, wildcards)
if (command == "off") then
retval = inv.items.refreshOff()
dbot.note("Automatic inventory refresh is disabled: run \"@G" .. pluginNameCmd ..
dbot.info("Automatic inventory refresh is disabled: run \"@G" .. pluginNameCmd ..
" refresh on@W\" to re-enable it")
inv.tags.stop(invTagsRefresh, line, retval)
elseif (command == "on") then
retval = inv.items.refreshOn(refreshPeriod, 0)
dbot.note("Inventory refresh is enabled")
dbot.info("Inventory refresh is enabled")
inv.tags.stop(invTagsRefresh, line, retval)
elseif (command == "eager") then
retval = inv.items.refreshOn(refreshPeriod, inv.items.timer.refreshEagerSec or 0)
dbot.note("Inventory refresh is enabled and uses eager refreshes after acquiring items")
dbot.info("Inventory refresh is enabled and uses eager refreshes after acquiring items")
inv.tags.stop(invTagsRefresh, line, retval)
elseif (command == "") or (command == "all") then
if (inv.state == invStatePaused) then
inv.state = invStateIdle
end -- if
if (command == "") then
dbot.info("Inventory refresh started")
else
dbot.info("Inventory refresh full scan started")
end -- if
local retval = inv.items.refresh(0, refreshLoc, line, nil)
if (retval == DRL_RET_HALTED) then
dbot.note("Run \"" .. pluginNameCmd .. " refresh on\" to re-enable automatic inventory refreshes")

Loading…
Cancel
Save