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)
- Machine learning 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.
102x Prat-3.0-3.8.26-3-g1f17b47\modules\PlayerNames.lua:1357: attempt to call global 'GuildRoster' (a nil value)
[string "@Prat-3.0-3.8.26-3-g1f17b47\modules\PlayerNames.lua"]:1357: in function `?'
[string "@AchieveIt\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...eIt\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@AchieveIt\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...eIt\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@AchieveIt\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire'
[string "@DataStore\libs\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
97x Prat-3.0-3.8.26-3-g1f17b47\modules\PlayerNames.lua:1357: attempt to call global 'GuildRoster' (a nil value)
[string "@Prat-3.0-3.8.26-3-g1f17b47\modules\PlayerNames.lua"]:1357: in function `?'
[string "@AchieveIt\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...eIt\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@AchieveIt\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...eIt\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@AchieveIt\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire'
[string "@DataStore\libs\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
hmmm when someone w me i cant see it at all :( i hear voice but i cant see it nor answer it
Still getting errors with Prat, please help.
Message: Interface\AddOns\Prat-3.0-3.8.26-3-g1f17b47\modules\PlayerNames.lua:1155: attempt to index global 'C' (a nil value)
Time: Wed Oct 14 14:56:01 2020
Count: 1
Stack: Interface\AddOns\Prat-3.0-3.8.26-3-g1f17b47\modules\PlayerNames.lua:1155: attempt to index global 'C' (a nil value)
Locals: <none>
In reply to CanadasPrincess:
In the mentioned file, the text at line #1155 should be:
C_GuildInfo.GuildRoster()
Make sure you didn't mistype it
Full fix, colated from several posts (bluspacecow's and mine) :
1) in:
World of Warcraft\_retail_\Interface\AddOns\Prat-3.0\modules\AltNames.lua
World of Warcraft\_retail_\Interface\AddOns\Prat-3.0\modules\PlayerNames.lua
Replace all instances of:
GuildRoster()
with:
C_GuildInfo.GuildRoster()
(just make sure to not replace the one instance where it says "GetGuildRoster()")
2) In World of Warcraft\_retail_\Interface\AddOns\Prat-3.0\modules\Editbox.lua :
Find every instances (there should be 3 of them) :
CreateFrame("Frame", nil, parent)
Replace with :
CreateFrame("Frame", nil, parent, BackdropTemplateMixin and "BackdropTemplate")
Enjoy 9.0 with Prat :)
EDIT: Removed "local frame =".
EDIT2: No, you do not have to remove any "local frame =" lol, you doofs
In reply to sankto:
Thank you for posting this!
Small note it's better to just search for CreateFrame("Frame", nil, parent) and replace it with CreateFrame("Frame", nil, parent, BackdropTemplateMixin and "BackdropTemplate") since "local frame" is only found the 1 time
That was at least my experience
In reply to Mythris:
Ah yep, good point.
In reply to sankto:
working as described. opening them with notepad and using the replace function makes this fix very easy. TY!
In reply to sankto:
I'm pretty sure I applied this correctly and now my Pet Battle UI is broken. It's just missing all pet frames and ability frames and everything. Anyone else seen this? I can't disable prat and everything is back to normal on reload.
In reply to arson94:
I have the same problem. Disable Prat and it goes - not a good solution
I did not apply any changes btw :S
In reply to sankto:
It works. Thanks King.
In reply to sankto:
OMG THANK YOU for the editbox fix!
adding the line:
local GuildRoster = C_GuildInfo.GuildRoster
in the file Modules\PlayerNames.lua (as in the first line)
seem to resolve the issue
Class color in the guild chat is broken. Fix it please
In reply to vsaR1SK:
Without posting an error, saying something like this is useless.
7x Prat-3.0-3.8.26\modules\PlayerNames.lua:1357: attempt to call global 'GuildRoster' (a nil value)
[string "@Prat-3.0-3.8.26\modules\PlayerNames.lua"]:1357: in function `?'
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire'
[string "@Ace3\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
1x Prat-3.0-3.8.26\modules\PlayerNames.lua:1323: attempt to call global 'GuildRoster' (a nil value)
[string "@Prat-3.0-3.8.26\modules\PlayerNames.lua"]:1323: in function `fx'
[string "@Prat-3.0-3.8.26\modules\PlayerNames.lua"]:1733: in function `?'
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire'
[string "@Prat-3.0-3.8.26\addon\addon.lua"]:673: in function <Prat-3.0\addon\addon.lua:613>
[string "=(tail call)"]: ?
[string "@FrameXML\ChatFrame.lua"]:3031: in function <FrameXML\ChatFrame.lua:3024>
[string "=(tail call)"]: ?
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>
7x Prat-3.0-3.8.26\modules\PlayerNames.lua:1357: attempt to call global 'GuildRoster' (a nil value)
[string "@Prat-3.0-3.8.26\modules\PlayerNames.lua"]:1357: in function `?'
[string "@LibSharedMedia-3.0-8020003\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...edia-3.0\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@LibSharedMedia-3.0-8020003\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...edia-3.0\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@LibSharedMedia-3.0-8020003\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire'
[string "@TomTom\libs\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <...aceTomTom\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
In reply to zmoose1:
The GuildRoster function was moved into C_GuildInfo
So you need to replace all GuildRoster calls with C_GuildInfo.GuildRoster
You'll find them in :
World of Warcraft\_retail_\Interface\AddOns\Prat-3.0\modules\AltNames.lua
World of Warcraft\_retail_\Interface\AddOns\Prat-3.0\modules\PlayerNames.lua
It then should come up with a SetBackdropBorderColor error.
In :
World of Warcraft\_retail_\Interface\AddOns\Prat-3.0\modules\Bubbles.lua
Find the code block -
if self.color then
-- Color the bubble border the same as the chat
-- frame:SetBackdropBorderColor(fontstring:GetTextColor())
end
(should be around line # 477)
And comment out the frame:SetBackdropBorderColor(fontstring:GetTextColor()) line with --
IE
-- frame:SetBackdropBorderColor(fontstring:GetTextColor())
(line #479)