Mercurial > wow > ouroloot
view print_log.lua @ 102:fe04f5c4114a
- expiring cache callback arg, handle new entries coming in during the
same loop at the previous ones ALL being removed
TODO: rework other "candidate" caches to use this instead
- raider snapshots use string tokens for 'online' field
- document callback args
- CheckBoxSmallLabel preemptively apply proposed fix for ace3 ticket 304
- now that option toggles are not wedged into tight space, revert to
using standard CheckBox widget instead of small-label variant
(go back if ticket 304 is not fixed for release)
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Sat, 04 Aug 2012 22:03:05 +0000 |
parents | 8f7ec6ccf5e3 |
children |
line wrap: on
line source
#!/usr/bin/env lua --[[ This is meant to be run from a command-line interpreter. It's what I use in practice, but is shipping primarily an example. ]] if not arg[1] or arg[1] == "" then print"Usage: lua print_log.lua /path/to/OuroLoot_savedvars.lua" print"Don't forget to delete log table after viewing!" os.exit(1) end dofile(arg[1]) if type(OuroLootSV_log) ~= 'table' then print("Did not find OuroLootSV_log in", arg[1]) os.exit(1) end for _,v in ipairs(OuroLootSV_log) do print(v) end os.exit(0) -- vim:noet ff=unix