Prat 3.0
In loving memory of Jon Akthar (Sylvanaar)
Hello WoW community, I'm LuciferCatnip, Sylvanaar was my coworker and my mentor. It goes without saying that Jon was an amazingly talented individual. He always seemed to know everything... but he once said to me "It's not about knowing the answers, it's about asking the right questions", he always challenged me to ask me the right questions until I would arrive at the answer on my own terms. Jon was also a champion of the open source movement, and so with special thanks to Gil from Curseforge as well as Sylvanaar's family, there's no better way to honor Sylvanaar's legacy than to keep his project going strong in the community.
If you'd like to help maintain Prat, please reach out to MysticalOS or LuciferCatnip directly. Thank you so much.
About
Prat-3.0 is a chat enhancement addon for World of Warcraft.
It is made up of 30+ smaller "modules" which each provide additional functionality, and can be enabled or disabled individually.
In game, type /prat for a menu. Or use the icon on one of the many data broker hosts.
Prat has just about every feature you can think of, and then some. Really. When I get some more time, I'll try and put together a full list (Even I have lost count)
(Thanks to Dreamsight for this partial list)
- Sync your chat settings across your account (Beta)
- AI powered spam filter (Beta)
- Change arrows, buttons, mouse scroll for chat scroll, scroll speed
- you can add player color per channel, color per level, color per class
- timestamps (styled)
- whether to show timestamp (what format the timestamp should be in)
- whether to show players level
- you can select the option for channel "stickys" (last channel you used you auto use when hitting enter, that sort of thing – or last thing someone said)
- change the looks of the chat's editbox - as well as where it appears (you can even undock it and move it to where you'd like it to be)
- chat fading, fading delay
- You can change the font to a list of fonts, add an outline to it, monochrome it (if you don’t mind messing with files a bit you could probably even add other fonts to that list)
- change the chat frame/chat box appearance
- Keep chat history between game sessions
- Set channel abbreviations
- set brackets and color(or something instead of brackets)round player/lvl
- alt invite option (press keyboard “alt” button and click on the player’s name to auto inv them)
- raid icon
- invite links - click them to invite the person
- URL copying
- Full chat copying + copy button
- Click timestamp to copy line
- Configurable alerts when your name or other word is mentioned
- enables tell target /tt which whispers your target
- Alias options - make macros into short commands
- See names of players Alt characters
- change chat sounds (incoming and outgoing as well as per channel)
- Achievements info and grats
- Full chat search and search box
- Customizable filters for advanced users
- Show item icon next to item links and player class icon next to player names
- Icon-only options for newcomers chat
- Optional flashing or font color change for chat tabs when a new message comes in.
You can enable/disable all Prat modules - don't have to have the ones you don't use running
While trying to reduce resource utilization, it is also important to note that some people prefer the features, and don't care that an addon uses 500k more.
This. And very much this. Very annoying 1-2 sec lag every time something from realID chat comes up.
Date: 2012-09-15 16:11:05
ID: -2
Error occured in: Global
Count: 2
Message: ..\AddOns\Prat-3.0\modules\PlayerNames.lua line 1350:
attempt to concatenate local 'surname' (a nil value)
Debug:
Prat-3.0\modules\PlayerNames.lua:1350: FormatPlayer()
Prat-3.0\modules\PlayerNames.lua:1467: ?()
...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147:
...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
[string "safecall Dispatcher[4]"]:4:
[string "safecall Dispatcher[4]"]:4
[C]: ?
[string "safecall Dispatcher[4]"]:13: ?()
...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()
Prat-3.0\addon\addon.lua:632:
Prat-3.0\addon\addon.lua:573
(tail call): ?
..\FrameXML\ChatFrame.lua:2741: ChatFrame_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
[C]: BNSendWhisper()
..\FrameXML\ChatFrame.lua:4068:
..\FrameXML\ChatFrame.lua:4051
[C]: ChatEdit_SendText()
..\FrameXML\ChatFrame.lua:4091: ChatEdit_OnEnterPressed()
[string "*:OnEnterPressed"]:1:
[string "*:OnEnterPressed"]:1
Locals:
None
New update, and it stops recording the chatlog, as in when I log in it doesnt show me what happened 5 min before I logged out, as it used to, anyone know how to make it work again?
I get this same error. I was getting it whenever I sent a message, now I get it when I receive a message.
BugGrabberDB = {
["session"] = 8,
["lastSanitation"] = 3,
["errors"] = {
{
["message"] = "Prat-3.0-3.5\\modules\\PlayerNames.lua:1350: attempt to call global \"BNTokenCombineGivenAndSurname\" (a nil value)",
["time"] = "2012/09/15 09:16:49",
["stack"] = "Prat-3.0-3.5\\modules\\PlayerNames.lua:1350: in function \"FormatPlayer\"\nPrat-3.0-3.5\\modules\\PlayerNames.lua:1467: in function \"?\"\nlibs\\CallbackHandler-1.0\\CallbackHandler-1.0-6.lua:147: in function <libs\\CallbackHandler-1.0\\CallbackHandler-1.0.lua:147>\n<string>:\"safecall Dispatcher[4]\":4: in function <string>:\"safecall Dispatcher[4]\":4\n<in C code>\n<string>:\"safecall Dispatcher[4]\":13: in function \"?\"\nlibs\\CallbackHandler-1.0\\CallbackHandler-1.0-6.lua:92: in function \"Fire\"\nPrat-3.0-3.5\\addon\\addon.lua:632: in function <Prat-3.0\\addon\\addon.lua:573>\n(tail call): ?\nFrameXML\\ChatFrame.lua:2741: in function \"ChatFrame_OnEvent\"\nWIM-3.6.1\\Libs\\LibChatHandler-1.0\\LibChatHandler-1.0-23.lua:299: in function <WIM\\Libs\\LibChatHandler-1.0\\LibChatHandler-1.0.lua:259>\nWIM-3.6.1\\Libs\\LibChatHandler-1.0\\LibChatHandler-1.0-23.lua:326: in function <WIM\\Libs\\LibChatHandler-1.0\\LibChatHandler-1.0.lua:314>",
["session"] = 5,
["counter"] = 5,
}, -- [1]
},
}
my wow get freeze when someone is whisper me from my real id.
can someone help me?
and i get this problem when i am infight.
Update please! =!
Date: 2012-09-12 11:50:20
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\Prat-3.0\modules\PlayerNames.lua line 1350:
attempt to call global 'BNTokenCombineGivenAndSurname' (a nil value)
Debug:
Prat-3.0\modules\PlayerNames.lua:1350: FormatPlayer()
Prat-3.0\modules\PlayerNames.lua:1467: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147:
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
[string "safecall Dispatcher[4]"]:4:
[string "safecall Dispatcher[4]"]:4
[C]: ?
[string "safecall Dispatcher[4]"]:13: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()
Prat-3.0\addon\addon.lua:276:
Prat-3.0\addon\addon.lua:258
(tail call): ?
(tail call): ?
WIM\Sources\WindowHandler.lua:844: AddEventMessage()
WIM\Modules\WhisperEngine.lua:410: handler()
...s\WIM\Libs\LibChatHandler-1.0\LibChatHandler-1.0.lua:274:
...s\WIM\Libs\LibChatHandler-1.0\LibChatHandler-1.0.lua:259
...s\WIM\Libs\LibChatHandler-1.0\LibChatHandler-1.0.lua:326:
...s\WIM\Libs\LibChatHandler-1.0\LibChatHandler-1.0.lua:314
Locals:
None
AddOns:
A lot. Message me if you need a list.
TrustAU:
Edit the playernames.lua file and at line 1118 where it says GetNumPartyMembers, change it to GetNumSubgroupMembers.
Thanks, that worked for me
this is workin fine for me, just wondering how to make it so it shows chat bubbles from party chat. seems the only time i see chat bubbles ever is when someone says my name in chat. can anyone point out where i need to go to turn this on? im sure im just high and im lookin right at it. thanks in advance.
From wowinterface:
just simple fix:
in PlayerNames.lua replace line 1347
local _, givenName, surname, toon, id = BNGetFriendInfo(i)
with
local _, givenName, surname, toonid = BNGetFriendInfo(i)
I think that should work, mine work well
I'm looking over the code, and this "fix" doesn't appear valid. The only reason that it will prevent an error involving the removed global variable "BNTokenCombineGivenAndSurname" is because it removes the variable toon, replaces it with toonid, and completely removes the variable id entirely. The result is that the following check for "id" fails and the subsequent code doesnt execute even though it probably should.
if id then
if BNTokenCombineGivenAndSurname(givenName .. surname) == message.PLAYER then
A real fix for this problem would be to find a replacement for "BNTokenCombineGivenAndSurname(givenName .. surname)". "BNTokenCombineGivenAndSurname" is on the list of global variables removes in 5.0.4. The variables givenName and surname are derived from "local _, givenName, surname, toon, id = BNGetFriendInfo(i)". Why can't these two variables just be concatinated like "local fullName = givenName..surname"??
when ever someone from my realid whisps me i get this and im using newest version
Date: 2012-09-09 15:15:18
ID: -1
Error occured in: Global
Count: 4
Message: ..\AddOns\Prat-3.0\modules\PlayerNames.lua line 1350:
attempt to call global 'BNTokenCombineGivenAndSurname' (a nil value)
Debug:
(tail call): ?
Prat-3.0\modules\PlayerNames.lua:1350: FormatPlayer()
Prat-3.0\modules\PlayerNames.lua:1467: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147:
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
[string "safecall Dispatcher[4]"]:4:
[string "safecall Dispatcher[4]"]:4
[C]: ?
[string "safecall Dispatcher[4]"]:13: ?()
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()
Prat-3.0\addon\addon.lua:632:
Prat-3.0\addon\addon.lua:573
(tail call): ?
..\FrameXML\ChatFrame.lua:2741:
..\FrameXML\ChatFrame.lua:2734
[C]: pcall()
Stubby\Stubby.lua:379:
Stubby\Stubby.lua:325
(tail call): ?
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
Locals:
None
Getting this bug:
I also keep getting the error message when someone whispers me through realid and not sure what editor to use on my Macbook pro to fix it. Can someone please help me.
i'm trying to figure out how to disable the down/up buttons..help?
[Esc] -> Interface -> AddOns -> Prat -> Display Settings -> Buttons -> uncheck "show arrows"
Is there an option to force lower caps when typing in chat? Since my Caps Lock key is bound to target, i can never remember to check caps lock indicator on keyboard before typing a message, and before i know it i've yelled at someone! lol