comparison text_tabs.lua @ 114:67bf97136273

- Start paying attention to cross-realm names. New 'fname' and 'realm' keys in snapshot (now indexed by name only), 'person_realm' key in loot entries. Realm data not stored if it's the same as the player's realm. Manual rebroadcasting does not include realm data (do we care?). - New history_suppress_LFR and history_ignore_xrealm options. - This implementation depends on no two cross-realm players sharing the same player name. Is that guaranteed by Blizzard, or merely "unlikely"? - Gather history suppression knobs into a single function. - If restoring loot data, make sure the item cache has their values; fix up any missing data on load. - Memory tweaks for player history sorting. - Handle some long-standing FIXME's: reassigning loot to the same player, using expunge() for history, no partial duplication of effort for addHistoryEntry. - Try to be more graceful when discovering messed up history during column 3 display loops. Don't leave History tab in player-focused mode when all that player's data have been removed elsewhere.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Mon, 13 Aug 2012 21:49:08 -0400
parents ce45011fab4c
children fc2ff128835a
comparison
equal deleted inserted replaced
113:d1b914bbed8b 114:67bf97136273
152 152
153 -- Assumption: everybody is packed into the first N groups. 153 -- Assumption: everybody is packed into the first N groups.
154 if raidertable then for name,info in pairs(raidertable) do 154 if raidertable then for name,info in pairs(raidertable) do
155 if info.online ~= 'no_longer' then -- 'no_longer' == left the raid 155 if info.online ~= 'no_longer' then -- 'no_longer' == left the raid
156 if (info.subgroup or (NUM_RAID_GROUPS+1)) <= max_group_number then 156 if (info.subgroup or (NUM_RAID_GROUPS+1)) <= max_group_number then
157 tins (ingroups, name) 157 tins (ingroups, info.fname)
158 else 158 else
159 tins (outgroups, name) 159 tins (outgroups, info.fname)
160 end 160 end
161 end 161 end
162 end end 162 end end
163 if #ingroups > 0 then 163 if #ingroups > 0 then
164 tsort(ingroups) 164 tsort(ingroups)