Originally Posted by javish
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:
local function OnAddonLoaded(event, name)
if name == ADDON_NAME then
EVENT_MANAGER:UnregisterForEvent(ADDON_NAME, event)
SV = ZO_SavedVars:NewAccountWide("NO_THANK_YOU_VARS", 1, defaults)
--set hooks
HookAvAMessages()
HookFriendsMessages()
BossAlertTextsHook()
ScreenshotAlertHook()
EnlightenedAlertHook()
GuildRosterAlertsHook()
CraftingResultAlertsHook()
RepairAlertsHook()
AlertTextThrottling()
DeleteEmptyMailHook()
HookRaidNotifications()
HookMotDNotifications()
-- HandleLuaLowMemoryEvent()
DontInterruptHarvesting()
DontRotateGameCamera()
FadeFriendsButton()
HookFenceDialog()
HookPlaySound()
BuildSettingsMenu()
--rebuild notifications list
NOTIFICATIONS:RefreshNotificationList()
end
end