diff --git a/boot.lua b/boot.lua index e5683cf2..38744eb3 100644 --- a/boot.lua +++ b/boot.lua @@ -13,8 +13,8 @@ local addonName, Details222 = ... local version, build, date, tocversion = GetBuildInfo() - Details.build_counter = 12043 - Details.alpha_build_counter = 12043 --if this is higher than the regular counter, use it instead + Details.build_counter = 12044 + Details.alpha_build_counter = 12044 --if this is higher than the regular counter, use it instead Details.dont_open_news = true Details.game_version = version Details.userversion = version .. " " .. Details.build_counter diff --git a/core/gears.lua b/core/gears.lua index d8798e08..879a658e 100644 --- a/core/gears.lua +++ b/core/gears.lua @@ -3161,6 +3161,7 @@ end) --game freeze prevention, there are people calling UpdateAddOnMemoryUsage() making the game client on the end user to freeze, this is bad, really bad. --Details! replace the function call with one that do the same thing, but warns the player if the function freezes the client too many times. +--this feature is disabled by default, to enable it, type /run Details.check_stuttering = true and reload the game local stutterCounter = 0 local bigStutterCounter = 0 local UpdateAddOnMemoryUsage_Original = _G.UpdateAddOnMemoryUsage diff --git a/functions/profiles.lua b/functions/profiles.lua index cbda9875..1b32540c 100644 --- a/functions/profiles.lua +++ b/functions/profiles.lua @@ -1387,7 +1387,7 @@ local default_global_data = { merge_player_abilities = false, played_class_time = true, - check_stuttering = true, + check_stuttering = false, --[bossname] = texture boss_icon_cache = {}, diff --git a/startup.lua b/startup.lua index 31de31a3..dd5c0713 100644 --- a/startup.lua +++ b/startup.lua @@ -616,6 +616,7 @@ function Details:StartMeUp() --to ignore this, use /run _G["UpdateAddOnMemoryUsage"] = Details.UpdateAddOnMemoryUsage_Original or add to any script that run on login --also the slash command "/details stopperfcheck" stop it as well + Details.check_stuttering = false if (Details.check_stuttering) then _G["UpdateAddOnMemoryUsage"] = Details.UpdateAddOnMemoryUsage_Custom end