diff options.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 289c7667adab
line wrap: on
line diff
--- a/options.lua	Fri Aug 10 00:07:35 2012 -0400
+++ b/options.lua	Mon Aug 13 21:49:08 2012 -0400
@@ -161,6 +161,17 @@
 		[[Irreverent replacement names for boss events.  See abbreviations.lua for details.]])
 	container:AddChild(w)
 
+	-- auto-GOP mode when in LFR
+	w = mktoggle('history_suppress_LFR', "Suppress history in LFR", stdw,
+		[[Do not record anything at all in the History tab while in an LFR raid.  Changes only take effect outside of LFR.]])
+	container:AddChild(w)
+
+	-- ignore cross realm players in history
+	w = mktoggle('history_ignore_xrealm', "Suppress history for cross-realm players",
+		stdw,
+		[[Do not record anything in the History tab for players from other realms.]])
+	container:AddChild(w)
+
 	-- LOD plugins in all cases
 	w = mktoggle('display_disabled_LODs', "Include disabled plugins", stdw,
 		[[Show loadable plugins even if they've been disabled (and offer to enable them if clicked).  Relog to take effect.]])