Download
(197 Kb)
Download
Updated: 04/29/15 07:23 AM
Pictures
File Info
Updated:04/29/15 07:23 AM
Created:04/29/15 07:23 AM
Monthly downloads:299
Total downloads:70,182
Favorites:34
MD5:
Categories:Discontinued & Outdated, Discontinued & Outdated
Bug Eater (Update 6)  Popular! (More than 5000 hits)
Version: 1.1
by: manavortex [More]
This functionality is now a part of the amazing No, Thank You

Fixed the original BugEater, updated the menu to LibAddonMenu2.0 and fixed a few typos.
Optional Files (0)


Post A Reply Comment Options
Unread 05/03/15, 02:13 PM  
merlight
AddOn Author - Click to view AddOns

Forum posts: 671
File comments: 213
Uploads: 12
There are a couple of omitted LAM1-isms. Here's my diff:
diff Code:
  1. diff -ru ../../autoupdate/unpacked/BugEater/BugEater.lua ./BugEater.lua
  2. --- ../../autoupdate/unpacked/BugEater/BugEater.lua 2015-04-29 12:22:20.000000000 +0200
  3. +++ ./BugEater.lua  2015-05-03 20:53:42.000000000 +0200
  4. @@ -7,7 +7,6 @@
  5.  local SuppressErrorDialog   = false
  6.  local ToggleSuppressDialog  = ZO_UIErrors_ToggleSupressDialog
  7.  local BugEater_SaveData         = nil
  8. -local BugEater_SettingsPanel = nil
  9.  
  10.  local LibOrangUtils = LibStub("LibOrangUtils-1.0")
  11.  
  12. @@ -707,9 +684,9 @@
  13.     if name ~= "BugEater" then return end
  14.  
  15.     --initialize saved variables
  16. -   local savedVars = ZO_SavedVars:NewAccountWide( "BugEaterSaveData", 1, nil, defaults, nil )
  17. +   BugEater_SaveData = ZO_SavedVars:NewAccountWide("BugEaterSaveData", 1, nil, defaults, nil)
  18.    
  19. -   if(savedVars.SuppressErrorDialog == true) then
  20. +   if BugEater_SaveData.SuppressErrorDialog then
  21.         BugEater.DisableErrorDialog() -- Disable the Native Debug Dialog at start
  22.     else
  23.         BugEater.EnableErrorDialog() -- Else Enable the Native Debug Dialog
  24. @@ -719,9 +696,9 @@
  25.     SLASH_COMMANDS["/error"] = BugEater_CMD_error
  26.    
  27.     BugEater_CreateWindow()
  28. -   BugEater.CreateSettingsMenu(savedVars)
  29. +   BugEater.CreateSettingsMenu(BugEater_SaveData)
  30.    
  31.     EVENT_MANAGER:UnregisterForEvent("BugEater_OnLoad", EVENT_ADD_ON_LOADED)
  32.  end

diff Code:
  1. diff -ru ../../autoupdate/unpacked/BugEater/BugEaterMenu.lua ./BugEaterMenu.lua
  2. --- ../../autoupdate/unpacked/BugEater/BugEaterMenu.lua 2015-04-29 12:23:26.000000000 +0200
  3. +++ ./BugEaterMenu.lua  2015-05-03 15:50:03.000000000 +0200
  4. @@ -18,8 +18,8 @@
  5.             tooltip = "Suppress the native error-dialogue pop-up?",
  6.             name = "Suppress error-dialogue",
  7.             getFunc = function() return SavedVariables.SuppressErrorDialog end,
  8. -           setFunc = function()                                                        -- setFunc
  9. -               SavedVariables.SuppressErrorDialog = not SavedVariables.SuppressErrorDialog
  10. +           setFunc = function(value)
  11. +               SavedVariables.SuppressErrorDialog = value
  12.                
  13.                 if(SavedVariables.SuppressErrorDialog == true) then
  14.                     BugEater.DisableErrorDialog()
  15. @@ -34,8 +34,8 @@
  16.             tooltip = "Show the errors in the chat window instead",
  17.             name = "Show errors in chat",
  18.             getFunc = function() return SavedVariables.ShowErrorsInChat end,
  19. -           setFunc = function()                                                -- setFunc
  20. -               SavedVariables.ShowErrorsInChat = not SavedVariables.ShowErrorsInChat
  21. +           setFunc = function(value)
  22. +               SavedVariables.ShowErrorsInChat = value
  23.             end
  24.         },
  25.        
  26. @@ -44,8 +44,8 @@
  27.             tooltip = "Avoid possible endless error-flood. Makes errors unique - if it exists it will skip buffering and output to the chat (Exact Match)",
  28.             name = "Avoid error flood?",
  29.             getFunc = function() return SavedVariables.AvoidErrorFlood end,
  30. -           setFunc = function()                                                -- setFunc
  31. -               SavedVariables.ShowErrorsInChat = not SavedVariables.ShowErrorsInChat
  32. +           setFunc = function(value)
  33. +               SavedVariables.AvoidErrorFlood = value
  34.             end
  35.         },
  36.        
  37. @@ -54,8 +54,8 @@
  38.             tooltip = "Show buffered add-on output that got thrown before the chat was fully initialized.",
  39.             name = "Show pre-init add-on output?",
  40.             getFunc = function() return SavedVariables.ShowPreInitAOP end,
  41. -           function()                                                  -- setFunc
  42. -               SavedVariables.ShowPreInitAOP = not SavedVariables.ShowPreInitAOP
  43. +           setFunc = function(value)
  44. +               SavedVariables.ShowPreInitAOP = value
  45.                 ReloadUI();
  46.             end
  47.         },
  48. @@ -65,8 +65,8 @@
  49.             tooltip = "Suppress any addon output via d() in the chat.",
  50.             name = "Suppress addon output in chat",
  51.             getFunc = function() return SavedVariables.SuppressAddonOutput end,
  52. -           function()                                                  -- setFunc
  53. -               SavedVariables.SuppressAddonOutput = not SavedVariables.SuppressAddonOutput
  54. +           setFunc = function(value)
  55. +               SavedVariables.SuppressAddonOutput = value
  56.                 ReloadUI();
  57.             end
  58.         },
  59. @@ -75,26 +75,26 @@
  60.             tooltip = "Suppress all Gui warnings including the annoying \"Too Many Anchors processed\" (still shown in /error or /debug).",
  61.             name = "Suppress all Gui warnings",
  62.             getFunc = function() return SavedVariables.SavedVariables end,
  63. -           function()                                                  -- setFunc
  64. -               SavedVariables.SavedVariables = not SavedVariables.SavedVariables
  65. +           setFunc = function(value)
  66. +               SavedVariables.SavedVariables = value
  67.             end
  68.         },
  69.         {
  70. -           type = "checkbox",
  71. +           type = "editbox",
  72.             tooltip = 'Custom Filters for suppressing Addon-Output in the Chat. Anything that is listed here will get hidden (still shown in /debug). Supports LUA-Style Regex Patterns with Partial Matching Enabled (eg. using "Loot" will match "Lootdrop" as well "Dropped Loot 123"). If you want to only match certain strings use the magic characters ^ and $.\n\nPut each Entry in a New Line.',
  73.             name = "Custom Addon-Output Filters",
  74.             getFunc = function() return SavedVariables.AddonOutputFilter end,
  75. -           function()                                                  -- setFunc
  76. -               SavedVariables.AddonOutputFilter = _G["BugEater_AddonOutputFilter"]["edit"]:GetText()
  77. +           setFunc = function(value)
  78. +               SavedVariables.AddonOutputFilter = value
  79.             end
  80.         },
  81.         {
  82. -           type = "checkbox",
  83. +           type = "editbox",
  84.             tooltip = 'Custom Filters for suppressing Errors. Anything that is listed here will get hidden (still shown in /error). Supports LUA-Style Regex Patterns with Partial Matching Enabled. If you want to only match certain strings use the magic characters ^ and $.\n\nPut each Entry in a New Line.',
  85.             name = "Custom Error Filters",
  86.             getFunc = function() return SavedVariables.ErrorFilter end,
  87. -           function()                                                  -- setFunc
  88. -               SavedVariables.ErrorFilter = _G["BugEater_ErrorFilter"]["edit"]:GetText()
  89. +           setFunc = function(value)
  90. +               SavedVariables.ErrorFilter = value
  91.             end
  92.         },
Last edited by merlight : 06/03/15 at 07:40 PM.
Report comment to moderator  
Reply With Quote
Unread 04/29/15, 10:24 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4913
File comments: 5990
Uploads: 78
If I try to change the settings for "Show pre-init add-on output" in the LAM 2.0 settings panel it does nothing for about 1 minute and then it will change from color = gray to color = white. But the text still says OFF (or ON if it was ON from SavedVariables).

And it seems that I do not get anny error messages shown to the chat anymore :-(

EDIT:
The old Bugeater version was doing a ReloadUI() if you changed the setting that i described above. Your addon just seems to hang up here ;-)
Last edited by Baertram : 04/29/15 at 10:29 AM.
Report comment to moderator  
Reply With Quote
Unread 04/29/15, 08:12 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
wow!! thanks for this
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: