Mercurial > wow > ouroloot
diff core.lua @ 106:095ee38508e8
Warn if restoring ridonkulous amount of data. Placeholder values for MoP raids.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Sun, 05 Aug 2012 19:08:53 +0000 |
parents | 04198c8d0717 |
children | 35b55c6f5551 |
line wrap: on
line diff
--- a/core.lua Sun Aug 05 16:59:24 2012 +0000 +++ b/core.lua Sun Aug 05 19:08:53 2012 +0000 @@ -1838,6 +1838,12 @@ "and 5-player mode not active. |cffff0505NOT tracking loot|r;", "use 'enable' to activate loot tracking, or 'clear' to erase", "previous data, or 'help' to read about saved-texts commands.") + if #g_loot > 400 then + self:Print("|cffff0505Crikey!|r You are carrying around a lot of", + "stored loot data. You should seriously consider clearing it", + "out, as some of the text generation routines can choke the", + "game client if they run for too long.") + end return end self.rebroadcast = true -- hardcode to true; this used to be more complicated