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.
In reply to PedjaSenpai:
Do you have the Memory or Chat Tabs modules enabled?
In reply to plusmouse:
I do have memory module enabled, thats main reason im sticking with prat
In reply to PedjaSenpai:
Restoring the frame appearance and layout isn't possible without causing edit mode errors, but restoring the channel order, the messages in the chat frame and the chat colours works safely. Do you need the layout restored, or is the others what's actually needed?
In reply to plusmouse:
ok, disabled it no issues now, hope to see this restored in future, because i was using it to set chat frame to same position size , font and font size on all of my characters
In reply to PedjaSenpai:
Yeah, now I'm also not able to save any changes I make in Edit Mode.Actually, seems like Prat is not the cause of not being able to save in Edit mode. I disabled Prat and it still gives me the FrameXML error I posted here.7x FrameXML/EditModeSystemTemplates.lua:473: attempt to perform arithmetic on a nil value
[string "@FrameXML/EditModeSystemTemplates.lua"]:473: in function `BreakFrameSnap'
[string "@FrameXML/EditModeSystemTemplates.lua"]:41: in function `PrepareForSave'
[string "@FrameXML/EditModeManager.lua"]:1118: in function `PrepareSystemsForSave'
[string "@FrameXML/EditModeManager.lua"]:1123: in function `SaveLayouts'
[string "@FrameXML/EditModeManager.lua"]:1132: in function <FrameXML/EditModeManager.lua:1128>
[string "=(tail call)"]: ?
[string "@SharedXML/SharedUIPanelTemplates.lua"]:1198: in function <SharedXML/SharedUIPanelTemplates.lua:1194>
Locals:
self = PartyFrame {
0 = <userdata>
UpdateMagnetismRegistration = <function> defined @FrameXML/EditModeSystemTemplates.lua:521
GetSnapOffsets = <function> defined @FrameXML/EditModeSystemTemplates.lua:421
systemInfo = <table> {
}
UpdateSystemSettingBuffsOnTop = <function> defined @FrameXML/EditModeSystemTemplates.lua:981
alwaysUseTopLeftAnchor = true
breakSnappedFramesOnSave = true
LayoutChildren = <function> defined @SharedXML/LayoutFrame.lua:192
UseCombinedGroups = <function> defined @FrameXML/EditModeSystemTemplates.lua:877
ResetToDefaultPosition = <function> defined @FrameXML/EditModeSystemTemplates.lua:158
GetScaledSelectionSides = <function> defined @FrameXML/EditModeSystemTemplates.lua:365
SelectSystem = <function> defined @FrameXML/EditModeSystemTemplates.lua:549
GetFrameMagneticEligibility = <function> defined @FrameXML/EditModeSystemTemplates.lua:504
UpdateSystemSettingUseLargerFrame = <function> defined @FrameXML/EditModeSystemTemplates.lua:986
CalculateFrameSize = <function> defined @SharedXML/LayoutFrame.lua:148
AddLayoutChildren = <function> defined @SharedXML/LayoutFrame.lua:48
IsBelowFrame = <function> defined @FrameXML/EditModeSystemTemplates.lua:332
spacing = 10
SetScaleBase = <function> defined =[C]:-1
HasActiveChanges = <function> defined @FrameXML/EditModeSystemTemplates.lua:254
GetScaledCenter = <function> defined @FrameXML/EditModeSystemTemplates.lua:358
HidePartyFrames = <function> defined @FrameXML/PartyFrame.lua:71
DoesSettingDisplayValueEqual = <function> defined @FrameXML/EditModeSystemTemplates.lua:278
OnLoad = <function> defined @FrameXML/PartyFrame.lua:5
Layout = <function> defined @SharedXML/LayoutFrame.lua:170
settingDisplayInfoMap = <table> {
}
GetSettingValueBool = <function> defined @FrameXML/EditModeSystemTemplates.lua:269
IsLayoutFrame = <function> defined @SharedXML/LayoutFrame.lua:36
DoesSettingValueEqual = <function> defined @FrameXML/EditModeSystemTemplates.lua:273
MarkDirty = <function> defined @SharedXML/LayoutFrame.lua:90
UpdateSelectionVerticalState = <function> defined @FrameXML/EditModeSystemTemplates.lua:1101
GetChildPadding = <function> defined @SharedXML/LayoutFrame.lua:133
dirtySettings = <table> {
}
IsToTheLeftOfFrame = <function> defined @FrameXML/EditModeSystemTemplates.lua:314
GetSettingsDialogAnchor = <function> defined @FrameXML/EditModeSystemTemplates.lua:298
hasActiveChanges = false
OnSystemLoad = <function> defined @FrameXML/EditModeSystemTemplates.lua:3
ClearFrameSnap = <function> defined @FrameXML/EditModeSystemTemplates.lua:458
GetCombinedCenterOffset = <function> defined @FrameXML/EditModeSystemTemplates.lua:408
SetupSettingsDialogAnchor = <function> defined @FrameXML/EditModeSystemTemplates.lua:963
UpdateSystemSettingSortPlayersBy = <function> defined @FrameXML/EditModeSystemTemplates.lua:1077
dirty = false
SetPointBase = <function> defined =[C]:-1
UpdateSystem = <function> defined @FrameXML/EditModeSystemTemplates.lua:203
UpdateSystemSettingRaidGroupDisplayType = <function> defined @FrameXML/EditModeSystemTemplates.lua:1070
UpdateDirtySettings = <function> defined @FrameXML/EditModeSystemTemplates.lua:122
isHighlighted = true
BreakSnappedFrames = <function> defined @FrameXML/EditModeSystemTemplates.lua:441
PrepareForSave = <function> defined @FrameXML/EditModeSystemTemplates.lua:35
systemIndex = 4
UpdateSystemSettingUseRaidStylePartyFrames = <function> defined @FrameXML/EditModeSystemTemplates.lua:996
snappedFrames = <table> {
}
SetPointOverride = <function> defined @FrameXML/EditModeSystemTemplates.lua:71
UpdateSystemSettingShowPartyFrameBackground = <function> defined @FrameXML/EditModeSystemTemplates.lu
And then Prat gives these errors:
5x [ADDON_ACTION_FORBIDDEN] AddOn 'Prat-3.0-3.9.13' tried to call the protected function 'TargetUnit()'.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function `TargetUnit'
[string "@FrameXML/EditModeManager.lua"]:1512: in function `RefreshTargetAndFocus'
[string "@FrameXML/EditModeManager.lua"]:1456: in function `OnEditModeEnter'
[string "@FrameXML/EditModeManager.lua"]:170: in function `EnterEditMode'
[string "@FrameXML/EditModeManager.lua"]:192: in function <FrameXML/EditModeManager.lua:190>
[string "=[C]"]: in function `Show'
[string "@FrameXML/UIParent.lua"]:2853: in function `SetUIPanel'
[string "@FrameXML/UIParent.lua"]:2657: in function `ShowUIPanel'
[string "@FrameXML/UIParent.lua"]:2561: in function <FrameXML/UIParent.lua:2557>
[string "=[C]"]: in function `SetAttribute'
[string "@FrameXML/UIParent.lua"]:3159: in function <FrameXML/UIParent.lua:3138>
[string "=[C]"]: in function `ShowUIPanel'
[string "@FrameXML/FloatingChatFrame.lua"]:282: in function `func'
[string "@SharedXML/UIDropDownMenu.lua"]:1007: in function `UIDropDownMenuButton_OnClick'
[string "*UIDropDownMenuTemplates.xml:136_OnClick"]:1: in function <[string "*UIDropDownMenuTemplates.xml:136_OnClick"]:1>
In reply to plusmouse:
I am receiving addon blocked action for my action bars even with that module disabled:
1x [ADDON_ACTION_FORBIDDEN] AddOn 'Prat-3.0-3.9.13' tried to call the protected function 'FocusUnit()'.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function `FocusUnit'
[string "@FrameXML/EditModeManager.lua"]:1523: in function `RefreshTargetAndFocus'
[string "@FrameXML/EditModeManager.lua"]:1539: in function `SetTargetAndFocusShown'
[string "@FrameXML/EditModeManager.lua"]:1352: in function `onBoxToggled'
[string "@SharedXML/SharedUIPanelTemplates.lua"]:1566: in function `OnCheckButtonClick'
[string "*EditModeTemplates.xml:17_OnClick"]:1: in function <[string "*EditModeTemplates.xml:17_OnClick"]:1>
In reply to subkool:
Can you run /console taintLog 1 and then play until it errors again. Close WoW when that happens and upload the contents of the [wow directory]/_retail_/Logs/taint.log file to here. That should narrow down where the error is being generated from.
In reply to plusmouse:
This is the whole file, I suspect what really matters is the last one though, that is the one from when i hit an action button I think.
In reply to subkool:
Thanks for the log - it says that the ChatTabs module is to blame for the protected error. Unfortunately because of the way Blizzard has setup edit mode doing some adjustments to the chat frame is impossible without tainting everything.
In reply to plusmouse:
I'm running it in conjunction with LS:Glass so maybe that's an issue too. I'll just disable that module and see. Thanks!
The auto-abbreviate feature under ServerNames isn't working.
In reply to weltallica:
What language are you playing in (so I can test it)? Its working for me in English.
[string "=[C]"]: in function `UseItemByName'
[string "@Interface/FrameXML/ChatFrame.lua"]:1178: in function `SecureCmdUseItem'
[string "@Interface/FrameXML/ChatFrame.lua"]:1217: in function `?'
[string "@Interface/FrameXML/ChatFrame.lua"]:5204: in function <Interface/FrameXML/ChatFrame.lua:5170>
[string "=[C]"]: in function `ChatEdit_ParseText'
[string "@Interface/FrameXML/ChatFrame.lua"]:4888: in function <Interface/FrameXML/ChatFrame.lua:4887>
[string "=[C]"]: in function `ChatEdit_SendText'
[string "@Interface/FrameXML/ChatFrame.lua"]:4924: in function `ChatEdit_OnEnterPressed'
[string "*ChatFrame.xml:127_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:127_OnEnterPressed"]:1>
Can we get an option to remove the scrollbar?
I found code from SneekeeMods that would remove scrollbars enmasse.
so I roughed up a module for Prat that would remove the scrollbars when it's enabled and just say "reload the ui" when it's disabled. It isn't elegant, but it is 2a and was curious on how the modules are put together. It worked and I have got Prat hiding the scrollbars.
When/If you get around to making this module official, here is the LUA for it.
FYI channel name replacement isn't working. I.E. it always types out "guild" or "trade - city" instead of the abbrieviated versions ("G" or "2")
In reply to Azarias59:
What language are you playing in (so I can test it)? Its working for me in English.
I getting this error after updating
67x Interface/AddOns/Prat-3.0-3.9.10/addon/locales.lua:69: Locale key Shows debug information to help resolve bugs. is not provided.
[string "=[C]"]: in function `error'
[string "@Interface/AddOns/Prat-3.0-3.9.10/addon/locales.lua"]:69: in function <Interface/AddOns/Prat-3.0/addon/locales.lua:67>
[string "@Interface/AddOns/Prat-3.0-3.9.10/modules/DebugModules.lua"]:259: in function `GetDescription'
[string "@Interface/AddOns/Prat-3.0-3.9.10/addon/options.lua"]:555: in function `member'
[string "@Interface/AddOns/HandyNotes/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-86/AceConfigDialog-3.0.lua"]:215: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:164>
[string "@Interface/AddOns/HandyNotes/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-86/AceConfigDialog-3.0.lua"]:514: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:495>
[string "=[C]"]: ?
[string "@Interface/AddOns/BattleGroundEnemies/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <...s/BattleGroundEnemies/Libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@Interface/AddOns/BattleGroundEnemies/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@Interface/AddOns/BattleGroundEnemies/Libs/AceGUI-3.0-41/widgets/AceGUIWidget-DropDown.lua"]:358: in function <...es/Libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua:356>
In reply to akulov_:
Fixed in the newest release.
Hi, would love to see an edit box text color option, maybe it exists and I am just missing it. Thanks for all the hard work!
How do you make it so your chat background is black? mine is grey by default and fades out after 4-5 seconds. It's annoying af. I want it so it never fades out. When I disable such option in settings, it only doesn't let the chat text fade. But I want the whole window to not fade. I beg of thee