[2008/07/13 16:37:50-2708-x1]: Chatter-1.0\Modules\Scrollback.lua:37: Usage: ChatFrame1:SetMaxLines(maxLines)
Chatter-1.0\Modules\Scrollback.lua:37: in function <Interface\AddOns\Chatter\Modules\Scrollback.lua:27>
Chatter-1.0\Modules\Scrollback.lua:74: in function <Interface\AddOns\Chatter\Modules\Scrollback.lua:72>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:365: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:357>
(tail call): ?:
Chatter-1.0\Chatter.lua:170: in function <Interface\AddOns\Chatter\Chatter.lua:163>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:365: in function `EnableAddon'
AceAddon-3.0\AceAddon-3.0.lua:435: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:421>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:908: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:234: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:327: in function `UIParent_OnEvent':
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
---
The hightlight module doesn't ignore invisible channels. I've installed FlagRSP2 and now I get hightlight sound + SCT scroll every few minutes because other players request my details. The channel the addon is using is a global custom channel but on the client it is hidden. And because that and because the fact that you can't read hidden channels it would be nice if the highlight module would ignore hidden channels.
hmmi got problems with "alt linking" module. I mean its not working (after login or after /rl) until you go to the options, uncheck it and check again. Any ideas?
Text that scrolls down, instead of up.... yes... that'll do nicely. =p
It was just an ide that popped into my head while reconfiguring my window.
function Prat_Scroll:SetScrollDirection(direction)
for _, v in pairs(Prat.Frames) do
self:ScrollDirection(v, direction)
end
self.db.profile.scrolldirection = direction
end
function Prat_Scroll:ScrollDirection(cf, direction)
if cf:GetInsertMode() ~= direction then
cf:SetMaxLines(cf:GetMaxLines())
cf:SetInsertMode(direction)
end
end
you can try yourself:
/script ChatFrame1:SetInsertMode("BOTTOM")
i dont recall why i did the setmaxlines thing. Probably just to clear any text that is already there. you could try to restore it if you wanted.
The PlayerNames.lua module in Chatter r78325 bugs out with the new WoW 2.4.3 live patch (standalone libraries, USEng client/server).
Sometime between logging on and logging off (with bringing up the options frame to adjust the module's options after enabling it today):
Chatter-1.0\\Modules\\PlayerNames.lua:446: attempt to index field 'names' (a nil value)\nChatter-1.0\\Modules\\PlayerNames.lua:513: in function `?'\nCallbackHandler-1.0\\CallbackHandler-1.0.lua:146: in function <...Ons\\Ace3\\CallbackHandler-1.0\\CallbackHandler-1.0.lua:146>\n<string>:\"safecall Dispatcher[1]\":4: in function <[string \"safecall Dispatcher[1]\"]:4>\n<in C code>: ?\n<string>:\"safecall Dispatcher[1]\":13: in function `?'\nCallbackHandler-1.0\\CallbackHandler-1.0.lua:91: in function `Fire'\nAceEvent-3.0\\AceEvent-3.0.lua:70: in function <Interface\\AddOns\\Ace3\\AceEvent-3.0\\AceEvent-3.0.lua:69>
The above repeated 7 times and
Chatter-1.0\\Modules\\PlayerNames.lua:158: attempt to index field 'names' (a nil value)\nChatter-1.0\\Modules\\PlayerNames.lua:595: in function <Interface\\AddOns\\Chatter\\Modules\\PlayerNames.lua:586>\n<in C code>: in function `gsub'\nChatter-1.0\\Modules\\PlayerNames.lua:600: in function <Interface\\AddOns\\Chatter\\Modules\\PlayerNames.lua:598>\n(tail call): ?:\nChatIcons-0.9 beta\\ChatIcons.lua:109: in function `AddMsgHook'\nChatIcons-0.9 beta\\ChatIcons.lua:33: in function `AddMessage'\nInterface\\FrameXML\\ChatFrame.lua:2225: in function <Interface\\FrameXML\\ChatFrame.lua:2077>:\n(tail call): ?:\n(tail call): ?:\n(tail call): ?:\n(tail call): ?:\nFuBar_WhisperFu-r41623\\WhisperFu.lua:456: in function `ChatFrame_MessageEventHandler'\nInterface\\FrameXML\\ChatFrame.lua:1935: in function <Interface\\FrameXML\\ChatFrame.lua:1928>:\n(tail call): ?:\n(tail call): ?:\nGuildGreet-20400.4\\GuildGreet.lua:6059: in function `ChatFrame_OnEvent'\n<string>:\"*:OnEvent\":1: in function <[string \"*:OnEvent\"]:1>
which happened once.
teknicolor (which I had previously been using for player name coloring) currently bugs out on login in 2.4.3 live (its been reported).
SimpleChatMod's playernames.lua module, on the other hand, colors names properly without errors or problems in the new WoW patch. But its current implementation only colors names in one chat channel at a time (defaults to chat frame 1, but you can manually change it to 3 or 4 or whatever). So not an adequate replacement (here at least) for either of the above.
The PlayerNames.lua module in Chatter r78325 bugs out with the new WoW 2.4.3 live patch (standalone libraries, USEng client/server).
I do not get those bugs in any form running Chatter with standalone libs. From code digging it appears that it is a save vars issue. Try nuking your saved vars for Chatter and starting fresh. Something might have gotten corrupted some how.
function Prat_Scroll:SetScrollDirection(direction)
for _, v in pairs(Prat.Frames) do
self:ScrollDirection(v, direction)
end
self.db.profile.scrolldirection = direction
end
function Prat_Scroll:ScrollDirection(cf, direction)
if cf:GetInsertMode() ~= direction then
cf:SetMaxLines(cf:GetMaxLines())
cf:SetInsertMode(direction)
end
end
you can try yourself:
/script ChatFrame1:SetInsertMode("BOTTOM")
i dont recall why i did the setmaxlines thing. Probably just to clear any text that is already there. you could try to restore it if you wanted.
=o I wasn't expecting that to be taken seriously O_O I'm totally throwing that in! xD
Alrighty, I got this thingamajig to work... sort of.
It's a adaptation because I am t3h lamez.
But I am having a distinct problem. The first (Default) chat tab scrolls down, ut it scrolls down, out of the chat fram, and bunches up at the bottom of the frame, too. Kind of like it's starting to scroll up, then the hack catches it and scrolls it down.
This is my adaptation.. probably incomplete where chatter mods are concerned, but it kinda works, aside from that problem.
local mod = Chatter:NewModule("ScrollDirection", "AceHook-3.0")
local L = LibStub("AceLocale-3.0"):GetLocale("Chatter")
mod.modName = L["Scroll Direction"]
function mod:OnEnable()
for i = 1, NUM_CHAT_WINDOWS do
local cf = _G["ChatFrame" .. i]
cf:SetInsertMode("TOP")
end
end
function mod:OnDisable()
for i = 1, NUM_CHAT_WINDOWS do
local cf = _G["ChatFrame" .. i]
cf:SetInsertMode("BOTTOM")
end
end
function mod:SetScrollDirection(direction)
for _, v in pairs(womgframe) do
self:ScrollDirection(v, direction)
end
self.db.profile.scrolldirection = direction
end
function mod:ScrollDirection(cf, direction)
if cf:GetInsertMode() ~= direction then
cf:SetMaxLines(cf:GetMaxLines())
cf:SetInsertMode(direction)
end
end
=o I wasn't expecting that to be taken seriously O_O I'm totally throwing that in! xD
edit: ...aw... I lose. Ah well =p I tried.
Lose what?
I just link this stuff, because most if not all of it has been done in Prat, and why waste your time solving the same problems that had to be solved for Prat.
I just link this stuff, because most if not all of it has been done in Prat, and why waste your time solving the same problems that had to be solved for Prat.
Touche salesman. I've used prat in the past, and although it was super cool, it was just oo much for my slow pc. :P
In any case, that doesn't matter, I was just hoping some insight could be shared. It's no biggie. Thank you though, it was fun to mess around with. =)
Oh! and the "I lose" comment was my initial try at using your posted code. xD
I would have given up but OCD kicked in.
Touche salesman. I've used prat in the past, and although it was super cool, it was just oo much for my slow pc. :P
In any case, that doesn't matter, I was just hoping some insight could be shared. It's no biggie. Thank you though, it was fun to mess around with. =)
Oh! and the "I lose" comment was my initial try at using your posted code. xD
I would have given up but OCD kicked in.
I'm not trying to sell you anything. I just think that if you want certain features - they are probably alrady in prat, so you can just recode them for chatter. Cheers!
I do not get those bugs in any form running Chatter with standalone libs. From code digging it appears that it is a save vars issue. Try nuking your saved vars for Chatter and starting fresh. Something might have gotten corrupted some how.
Naw. I never have problems with "corrupted" files or anything else we normally tell new users to look at ;).
Its most likely a Blizzard chat change; as I mentioned, had errors thrown in another player name coloring mod prior after the patch (teknicolor). And I see that RS_ClassColors (on the SVN, same sort of mod) had its core code updated very recently to work properly in 2.4.3. Also, I went into the PlayerNames.lua module options & adjusted a few things during that session.
As listed above, though, its the first time I have tried activating the PlayerNames.lua module (it was completely deleted prior, along with all of the other modules I don't use). There may be a problem with the mod handling such new module activation, at least in the current WoW patch.
But its far more likely Blizzard chat changes in 2.4.3 causing the issue. Disable PlayerNames.lua & go back to using just AutoLogChat.lua, Highlight.lua, TinyChat.lua & Scrollback.lua, no more errors.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
That would be much appreciated!
can i set the Text of a Chatframe right/left align with Chater ?
Thanks a lot
It's in, r78320.
Thank you very much Durcyn!
It was just an ide that popped into my head while reconfiguring my window.
you can try yourself:
/script ChatFrame1:SetInsertMode("BOTTOM")
i dont recall why i did the setmaxlines thing. Probably just to clear any text that is already there. you could try to restore it if you wanted.
Sometime between logging on and logging off (with bringing up the options frame to adjust the module's options after enabling it today):
Chatter-1.0\\Modules\\PlayerNames.lua:446: attempt to index field 'names' (a nil value)\nChatter-1.0\\Modules\\PlayerNames.lua:513: in function `?'\nCallbackHandler-1.0\\CallbackHandler-1.0.lua:146: in function <...Ons\\Ace3\\CallbackHandler-1.0\\CallbackHandler-1.0.lua:146>\n<string>:\"safecall Dispatcher[1]\":4: in function <[string \"safecall Dispatcher[1]\"]:4>\n<in C code>: ?\n<string>:\"safecall Dispatcher[1]\":13: in function `?'\nCallbackHandler-1.0\\CallbackHandler-1.0.lua:91: in function `Fire'\nAceEvent-3.0\\AceEvent-3.0.lua:70: in function <Interface\\AddOns\\Ace3\\AceEvent-3.0\\AceEvent-3.0.lua:69>
The above repeated 7 times and
Chatter-1.0\\Modules\\PlayerNames.lua:158: attempt to index field 'names' (a nil value)\nChatter-1.0\\Modules\\PlayerNames.lua:595: in function <Interface\\AddOns\\Chatter\\Modules\\PlayerNames.lua:586>\n<in C code>: in function `gsub'\nChatter-1.0\\Modules\\PlayerNames.lua:600: in function <Interface\\AddOns\\Chatter\\Modules\\PlayerNames.lua:598>\n(tail call): ?:\nChatIcons-0.9 beta\\ChatIcons.lua:109: in function `AddMsgHook'\nChatIcons-0.9 beta\\ChatIcons.lua:33: in function `AddMessage'\nInterface\\FrameXML\\ChatFrame.lua:2225: in function <Interface\\FrameXML\\ChatFrame.lua:2077>:\n(tail call): ?:\n(tail call): ?:\n(tail call): ?:\n(tail call): ?:\nFuBar_WhisperFu-r41623\\WhisperFu.lua:456: in function `ChatFrame_MessageEventHandler'\nInterface\\FrameXML\\ChatFrame.lua:1935: in function <Interface\\FrameXML\\ChatFrame.lua:1928>:\n(tail call): ?:\n(tail call): ?:\nGuildGreet-20400.4\\GuildGreet.lua:6059: in function `ChatFrame_OnEvent'\n<string>:\"*:OnEvent\":1: in function <[string \"*:OnEvent\"]:1>
which happened once.
teknicolor (which I had previously been using for player name coloring) currently bugs out on login in 2.4.3 live (its been reported).
SimpleChatMod's playernames.lua module, on the other hand, colors names properly without errors or problems in the new WoW patch. But its current implementation only colors names in one chat channel at a time (defaults to chat frame 1, but you can manually change it to 3 or 4 or whatever). So not an adequate replacement (here at least) for either of the above.
I do not get those bugs in any form running Chatter with standalone libs. From code digging it appears that it is a save vars issue. Try nuking your saved vars for Chatter and starting fresh. Something might have gotten corrupted some how.
=o I wasn't expecting that to be taken seriously O_O I'm totally throwing that in! xD
edit: ...aw... I lose. Ah well =p I tried.
It's a adaptation because I am t3h lamez.
But I am having a distinct problem. The first (Default) chat tab scrolls down, ut it scrolls down, out of the chat fram, and bunches up at the bottom of the frame, too. Kind of like it's starting to scroll up, then the hack catches it and scrolls it down.
This is what the Gen tab looks like. THe rest scroll down fine.
This is my adaptation.. probably incomplete where chatter mods are concerned, but it kinda works, aside from that problem.
Lose what?
I just link this stuff, because most if not all of it has been done in Prat, and why waste your time solving the same problems that had to be solved for Prat.
Touche salesman. I've used prat in the past, and although it was super cool, it was just oo much for my slow pc. :P
In any case, that doesn't matter, I was just hoping some insight could be shared. It's no biggie. Thank you though, it was fun to mess around with. =)
Oh! and the "I lose" comment was my initial try at using your posted code. xD
I would have given up but OCD kicked in.
I'm not trying to sell you anything. I just think that if you want certain features - they are probably alrady in prat, so you can just recode them for chatter. Cheers!
Naw. I never have problems with "corrupted" files or anything else we normally tell new users to look at ;).
Its most likely a Blizzard chat change; as I mentioned, had errors thrown in another player name coloring mod prior after the patch (teknicolor). And I see that RS_ClassColors (on the SVN, same sort of mod) had its core code updated very recently to work properly in 2.4.3. Also, I went into the PlayerNames.lua module options & adjusted a few things during that session.
As listed above, though, its the first time I have tried activating the PlayerNames.lua module (it was completely deleted prior, along with all of the other modules I don't use). There may be a problem with the mod handling such new module activation, at least in the current WoW patch.
But its far more likely Blizzard chat changes in 2.4.3 causing the issue. Disable PlayerNames.lua & go back to using just AutoLogChat.lua, Highlight.lua, TinyChat.lua & Scrollback.lua, no more errors.