Mercurial > wow > ouroloot
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 105:646c9b41aaed | 106:095ee38508e8 |
|---|---|
| 1836 end | 1836 end |
| 1837 self:Print("Restored previous data, but not in a raid", | 1837 self:Print("Restored previous data, but not in a raid", |
| 1838 "and 5-player mode not active. |cffff0505NOT tracking loot|r;", | 1838 "and 5-player mode not active. |cffff0505NOT tracking loot|r;", |
| 1839 "use 'enable' to activate loot tracking, or 'clear' to erase", | 1839 "use 'enable' to activate loot tracking, or 'clear' to erase", |
| 1840 "previous data, or 'help' to read about saved-texts commands.") | 1840 "previous data, or 'help' to read about saved-texts commands.") |
| 1841 if #g_loot > 400 then | |
| 1842 self:Print("|cffff0505Crikey!|r You are carrying around a lot of", | |
| 1843 "stored loot data. You should seriously consider clearing it", | |
| 1844 "out, as some of the text generation routines can choke the", | |
| 1845 "game client if they run for too long.") | |
| 1846 end | |
| 1841 return | 1847 return |
| 1842 end | 1848 end |
| 1843 self.rebroadcast = true -- hardcode to true; this used to be more complicated | 1849 self.rebroadcast = true -- hardcode to true; this used to be more complicated |
| 1844 self.enabled = not opt_bcast_only | 1850 self.enabled = not opt_bcast_only |
| 1845 g_seeing_oldsigs = nil | 1851 g_seeing_oldsigs = nil |
