Thread Tools Display Modes
06/09/15, 02:31 PM   #1
javish
 
javish's Avatar
Join Date: Apr 2014
Posts: 9
Help with this addon

I started using "No, thank you!" addon by Garkin a few days ago and I love it. The only problem I have is the LUA memory thing he has on this addon. It pops a window and asks if I want to increase the memory size. If I say yes, it does a /reloadui. Kinda annoying cause it always pops in the worst circumstances (middle of fights and stuff). I already have an addon that takes care of LUA memory, Shissu's LUA Memory, so I don't really need this feature on "No, thank you!". I posted on the addon comments, but the author looks to be inactive for a couple of months. I'm asking other addon authors willing to take a look at this addon and maybe tell me what can I delete/remove from the code and which file, etc so I can disable this feature until Garkin comes back and maybe address the issue on his addon. Anyways, thanks for the help in advance.
  Reply With Quote
06/09/15, 02:39 PM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by javish View Post
I started using "No, thank you!" addon by Garkin a few days ago and I love it. The only problem I have is the LUA memory thing he has on this addon. It pops a window and asks if I want to increase the memory size. If I say yes, it does a /reloadui. Kinda annoying cause it always pops in the worst circumstances (middle of fights and stuff). I already have an addon that takes care of LUA memory, Shissu's LUA Memory, so I don't really need this feature on "No, thank you!". I posted on the addon comments, but the author looks to be inactive for a couple of months. I'm asking other addon authors willing to take a look at this addon and maybe tell me what can I delete/remove from the code and which file, etc so I can disable this feature until Garkin comes back and maybe address the issue on his addon. Anyways, thanks for the help in advance.
Open NoThankYou.lua in text editor, scroll down to the line 922 and commend out HandleLuaLowMemoryEvent(). It will look like this (line 922 is here marked as line 20):

Lua Code:
  1. local function OnAddonLoaded(event, name)
  2.     if name == ADDON_NAME then
  3.         EVENT_MANAGER:UnregisterForEvent(ADDON_NAME, event)
  4.  
  5.         SV = ZO_SavedVars:NewAccountWide("NO_THANK_YOU_VARS", 1, defaults)
  6.  
  7.         --set hooks
  8.         HookAvAMessages()
  9.         HookFriendsMessages()
  10.         BossAlertTextsHook()
  11.         ScreenshotAlertHook()
  12.         EnlightenedAlertHook()
  13.         GuildRosterAlertsHook()
  14.         CraftingResultAlertsHook()
  15.         RepairAlertsHook()
  16.         AlertTextThrottling()
  17.         DeleteEmptyMailHook()
  18.         HookRaidNotifications()
  19.         HookMotDNotifications()
  20.         -- HandleLuaLowMemoryEvent()
  21.         DontInterruptHarvesting()
  22.         DontRotateGameCamera()
  23.         FadeFriendsButton()
  24.         HookFenceDialog()
  25.         HookPlaySound()
  26.  
  27.         BuildSettingsMenu()
  28.  
  29.         --rebuild notifications list
  30.         NOTIFICATIONS:RefreshNotificationList()
  31.     end
  32. end
  Reply With Quote
06/09/15, 07:52 PM   #3
javish
 
javish's Avatar
Join Date: Apr 2014
Posts: 9
Originally Posted by Garkin View Post
Open NoThankYou.lua in text editor, scroll down to the line 922 and commend out HandleLuaLowMemoryEvent(). It will look like this (line 922 is here marked as line 20):

Lua Code:
  1. local function OnAddonLoaded(event, name)
  2.     if name == ADDON_NAME then
  3.         EVENT_MANAGER:UnregisterForEvent(ADDON_NAME, event)
  4.  
  5.         SV = ZO_SavedVars:NewAccountWide("NO_THANK_YOU_VARS", 1, defaults)
  6.  
  7.         --set hooks
  8.         HookAvAMessages()
  9.         HookFriendsMessages()
  10.         BossAlertTextsHook()
  11.         ScreenshotAlertHook()
  12.         EnlightenedAlertHook()
  13.         GuildRosterAlertsHook()
  14.         CraftingResultAlertsHook()
  15.         RepairAlertsHook()
  16.         AlertTextThrottling()
  17.         DeleteEmptyMailHook()
  18.         HookRaidNotifications()
  19.         HookMotDNotifications()
  20.         -- HandleLuaLowMemoryEvent()
  21.         DontInterruptHarvesting()
  22.         DontRotateGameCamera()
  23.         FadeFriendsButton()
  24.         HookFenceDialog()
  25.         HookPlaySound()
  26.  
  27.         BuildSettingsMenu()
  28.  
  29.         --rebuild notifications list
  30.         NOTIFICATIONS:RefreshNotificationList()
  31.     end
  32. end
Thank you very much!!!
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Help with this addon


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off