Newest version doesn't seem to want to add timestamps to any chatframe besides one, I altered the code thusly
local _G = getfenv(0)
local date = _G.date
local hooks = {}
local h = nil
local function AddMessage(frame, text, ...)
text = "|cff"..COLOR.."["..date("%X").."]|r "..text
return hooks[frame](frame, text, ...)
end
for i = 1, 7 do
if i ~= 2 then -- skip combatlog
h = _G[("%s%d"):format("ChatFrame", i)]
hooks[h] = h.AddMessage
h.AddMessage = AddMessage
end
end
Newest version doesn't seem to want to add timestamps to any chatframe besides one, I altered the code thusly
local _G = getfenv(0)
local date = _G.date
local hooks = {}
local h = nil
local function AddMessage(frame, text, ...)
text = "|cff"..COLOR.."["..date("%X").."]|r "..text
return hooks[frame](frame, text, ...)
end
for i = 1, 7 do
if i ~= 2 then -- skip combatlog
h = _G[("%s%d"):format("ChatFrame", i)]
hooks[h] = h.AddMessage
h.AddMessage = AddMessage
end
end
Intended change or oversight? :P
BCM always only stamped the first 2 chat frames, now it only stamps the first and activates blizz on the 2nd.
I disabled timestamps by commenting out the module in .toc. However I still see the stamps in combat log when using filters other than default ("Self" for example). Am I missing something or is that a bug? =)
I disabled timestamps by commenting out the module in .toc. However I still see the stamps in combat log when using filters other than default ("Self" for example). Am I missing something or is that a bug? =)
You will need to turn that off in the blizz combatlog settings.
I will be downloading and trying this addon tonight, but was wondering if there was any plans to have a wiki written up with all the included features?
I will be downloading and trying this addon tonight, but was wondering if there was any plans to have a wiki written up with all the included features?
Sure, goto http://www.colorschemer.com/online.html
Now choose the color you want, and copy and paste the Hex, for example if you want green copy and paste 33FF66
Open up timestamps.lua and find
local COLOR = "777777"
UNDER IT add
local BRACKETCOLOR = "33FF66"
Now find
local msg = "|cff"..COLOR.."[%s]|r %s"
CHANGE it to
local msg = "|cff"..BRACKETCOLOR.."[|r|cff"..COLOR.."%s|r|cff"..BRACKETCOLOR.."]|r %s"
I can't for the life of me find
local msg = "|cff"..COLOR.."[%s]|r %s"
in Timestamp.lua
Am i missing something here ?
I can't for the life of me find
local msg = "|cff"..COLOR.."[%s]|r %s"
in Timestamp.lua
Am i missing something here ?
I've changed the module since then, find
text = "|cff"..COLOR.."["..date("%X").."]|r "..text
replace with
text = "|cff"..BRACKETCOLOR.."[|r|cff"..COLOR..date("%X").."|r|cff"..BRACKETCOLOR.."]|r"..text
I've changed the module since then, find
text = "|cff"..COLOR.."["..date("%X").."]|r "..text
replace with
text = "|cff"..BRACKETCOLOR.."[|r|cff"..COLOR..date("%X").."|r|cff"..BRACKETCOLOR.."]|r"..text
Intended change or oversight? :P
BCM always only stamped the first 2 chat frames, now it only stamps the first and activates blizz on the 2nd.
You will need to turn that off in the blizz combatlog settings.
With the latest version?
I use 4 frames, with 3 docked.
At login, only 1st frame buttons are hidden.
If i tab through docked frames and come back to frame 1, button remain (or maybe they re-appear)
I tried changing the line
but that didnt do it.
It's for my chat window and not combat log.
Also is there a way to add alpha to the editbox ?
Ah no wonder. Thanks a lot
I changed it to stamp all 7 chatframes now
Should be fixed
No, don't mess with the combatlog settings, change it back.
Find
text = "|cff"..COLOR.."["..date("%X").."]|r "..text
change to
text = "|cff"..COLOR.."["..date("%H:%M").."]|r "..text
http://wowace.com/wiki/BasicChatMods
I can't for the life of me find
local msg = "|cff"..COLOR.."[%s]|r %s"
in Timestamp.lua
Am i missing something here ?
I've changed the module since then, find
text = "|cff"..COLOR.."["..date("%X").."]|r "..text
replace with
text = "|cff"..BRACKETCOLOR.."[|r|cff"..COLOR..date("%X").."|r|cff"..BRACKETCOLOR.."]|r"..text
Thanks.
Find
text = "|cff"..COLOR.."["..date("%X").."]|r "..text
then add a space just before the end
text = "|cff"..COLOR.."["..date("%X").."]|r "..text