Author: Omega
Date: Tue Jul 06 08:33:12 CEST 2010
Revision: 4311
Log:

Change default max latency to 250, this may cause shadow traps to become inaccurate again but it's better than masses of people who don't know how to configure dbm complaining it's not working.

Updated
trunk/DBM-Core/DBM-Core.lua
Updated
trunk/DBM-GUI/DBM-GUI.lua

trunk/DBM-Core/DBM-Core.lua
Action: modified
Old revision: 4310
Old date: 2010-07-06 03:17:45 UTC

@@ -107,7 +107,7 @@
DontSendBossAnnounces = false,
DontSendBossWhispers = false,
DontSetIcons = false,
- MaxLatency = 150,
+ LatencyThreshold = 250,
BigBrotherAnnounceToRaid = false,
-- HelpMessageShown = false,
}
@@ -2435,7 +2435,7 @@
end

function bossModPrototype:LatencyCheck()
- return select(3, GetNetStats()) < DBM.Options.MaxLatency
+ return select(3, GetNetStats()) < DBM.Options.LatencyThreshold
end

local function getTalentpointsSpent(spellID)


trunk/DBM-GUI/DBM-GUI.lua
Action: modified
Old revision: 4310
Old date: 2010-07-06 03:17:45 UTC

@@ -1226,8 +1226,8 @@

local latencySlider = generaloptions:CreateSlider(L.Latency_Text, 50, 500, 5, 210) -- (text , min_value , max_value , step , width)
latencySlider:SetPoint('BOTTOMLEFT', bmrange, "BOTTOMLEFT", 10, -35)
- latencySlider:HookScript("OnShow", function(self) self:SetValue(DBM.Options.MaxLatency) end)
- latencySlider:HookScript("OnValueChanged", function(self) DBM.Options.MaxLatency = self:GetValue() end)
+ latencySlider:HookScript("OnShow", function(self) self:SetValue(DBM.Options.LatencyThreshold) end)
+ latencySlider:HookScript("OnValueChanged", function(self) DBM.Options.LatencyThreshold = self:GetValue() end)

-- Pizza Timer (create your own timer menu)
local pizzaarea = DBM_GUI_Frame:CreateArea(L.PizzaTimer_Headline, nil, 85)