Shestak UI
Go Back   Shestak UI > Interface Forums > English Community > Technical Support

Technical Support Ask for help or find solutions about ShestakUI.

Advertising

 
Thread Tools
Old 09.07.2010, 03:41   #1
 Assistant User Information

ianchan's Avatar
[BugFixed]DBM-Core Chat Announce

use the skin file , in 3.3.5 the new chat style,when in raid, click the dbm bar announce to raid, it doesn't work.
so, edit the DBM-Core\DBT.lua (skined file,line 829)
Quote:
function barPrototype:Announce()
local msg
if self.owner.announceHook then
msg = self.owner.announceHook(self)
end
msg = msg or ("%s %d:%02d"):format(getglobal(self.frame:GetName().."BarName"):GetText(), math.floor(self.timer / 60), self.timer % 60)
if ChatFrameEditBox:IsShown() then
ChatFrameEditBox:Insert(msg)
else

SendChatMessage(msg, (select(2, IsInInstance()) == "pvp" and "BATTLEGROUND") or (GetNumRaidMembers() > 0 and "RAID") or "PARTY")
end
end
change to
Quote:
function barPrototype:Announce()
local msg
if self.owner.announceHook then
msg = self.owner.announceHook(self)
end
msg = msg or ("%s %d:%02d"):format(getglobal(self.frame:GetName().."BarName"):GetText(), math.floor(self.timer / 60), self.timer % 60)
local chatWindow = ChatEdit_GetActiveWindow()
if chatWindow then
chatWindow:Insert(msg)
else

SendChatMessage(msg, (select(2, IsInInstance()) == "pvp" and "BATTLEGROUND") or (GetNumRaidMembers() > 0 and "RAID") or "PARTY")
end
end
then the error fixed.
Say Thank:
Shestak (09.07.2010)
Old 09.07.2010, 03:41   #1.5 - Disable Ads

Advertise on this site


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fixed] Bug LiteStats core.lua chubidu Bugs Reports 3 09.07.2010 21:54
Range Check for DBM Core joellane Technical Support 5 08.06.2010 03:10


Mobile Style Русский English Deutsch Italian Chinese