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.
I am having the exact same problem.
It's a known bug I think and is fixed in the latest Blizzard 5.0.5 hotfixes
I'm having trouble with this addon and don't know if I have a setting wrong or what, but since the 5.04 patch I can't see /e and /s in my general tab. For some reason it shows in the settings that those things should show up, but they don't. I end up having to turn it off. What am I missing?
I was fiddling with the tabs-module yesterday and set the tabs to not show up at all. It worked like a charm. Or so I thought. Today when I try to undock a tab from the chatwindow WoW-64.exe CTD's. I disabled the addon and the undocking works fine. Something somewhere has gone wrong and since it shows up when using Prat functionallity I go here first.
When guildies with alt names post in chat...
Message: Interface\AddOns\Prat-3.0\modules\AltNames.lua:1779: Usage: GetModule(name, silent): 'name' - Cannot find module 'PlayerNames'.
Time: 09/24/12 16:05:19
Count: 1
Stack: [C]: ?
...face\AddOns\Archy\Libs\AceAddon-3.0\AceAddon-3.0.lua:233: in function `GetModule'
Interface\AddOns\Prat-3.0\modules\AltNames.lua:1779: in function `?'
...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[9]"]:4: in function <[string "safecall Dispatcher[9]"]:4>
[C]: ?
[string "safecall Dispatcher[9]"]:13: in function `?'
...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
Interface\AddOns\Prat-3.0\addon\addon.lua:649: in function <Interface\AddOns\Prat-3.0\addon\addon.lua:573>
(tail call): ?
Interface\FrameXML\ChatFrame.lua:2741: in function `ChatFrame_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>
Locals: <none>
Class colors doesnt seem to be working, any fix on this?
Hi. If anyone is getting a taint when using the /gr command, claiming that:
"GetNumRaidMembers()" returning a nil value
It is because GetNumRaidMembers() is no longer in the API as of 5.0.4. Also GetRealNumPartyMembers() and GetRealNumRaidMembers() are both gone as well.
Currently the only thing like those calls is GetNumGroupMembers(); This has a weakness that should be obvious: It doesn't let you easily tell if you're in a group or a raid. I replaced the GetNumRaidMembers() in my ChannelSticky.lua to fix the /gr command taints. It works now.
The problem is since there isn't a separate GetNumRaidMembers() anymore, you can't explicitly test for a raid group vs a party group. You can do things like comparisons; i.e. GetNumGroupMembers() > 5 = RAID, else PARTY (pseudocode)
However this causes the problem of raid groups of only 2 (i.e. arena; personal raid group) not returning the proper group type. Not as clean as it was with two separate functions for testing what kind of group you are in.
For prat; this mostly only would affect trying to use /gr when you are in a raid with more than 1 group, but less than 5 players. The times this would occur are minimal.
Anyways, that's the error I was having and how I fixed it. Feel free to try it or whatever. :)
Before I get into this, if you're unsure about what you're doing, then please do not do it, otherwise, continue reading/fixing.
For those wanting to fix the '.\AddOns\Prat-3.0\modules\PlayerNames.lua line 1350' error, do the following:
Goto line 1347 and replace:
local _, givenName, surname, toon, id = BNGetFriendInfo(i)
with
local _, givenName, btag, isBTagPresent, toon, id = BNGetFriendInfo(i)
And finally, replace the following on line 1350:
if BNTokenCombineGivenAndSurname(givenName .. surname) == message.PLAYER then
with
if BNTokenFindName(givenName) == message.PLAYER then
Restart WoW and you're good to go. I've only posted this as it bothered me so I fixed it! GL!
*Edit: Corrected the error in my fix pointed out by Leblanco
Correction of your fix
replace
if BNTokenCombineGivenAndSurname(givenName .. surname) == message.PLAYER then
by
if BNTokenFindName(givenName) == message.PLAYER then
Yes, you're right - m'bad. I had already made the change but didn't undo my changes enough - I'll update my comment :).
Thanks so much for posting this. I've never edited an addon before but it was pretty simple and worked!
/hugs
Date: 2012-09-21 21:04:46
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Prat-3.0\addon\locales.lua line 28:
attempt to index global 'Prat' (a nil value)
Debug:
Prat-3.0\addon\locales.lua:28: GetNamePattern()
Prat-3.0\modules\PopupMessage.lua:467: OnModuleEnable()
Prat-3.0\addon\modules.lua:182:
Prat-3.0\addon\modules.lua:174
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9:
[string "safecall Dispatcher[1]"]:5
(tail call): ?
...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:543: EnableAddon()
...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:556: EnableAddon()
...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:636:
...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:621
[C]: LoadAddOn()
..\FrameXML\UIParent.lua:299: UIParentLoadAddOn()
..\FrameXML\UIParent.lua:373: TimeManager_LoadUI()
..\FrameXML\UIParent.lua:690:
..\FrameXML\UIParent.lua:657
Locals:
None
AddOns:
Swatter, v4.0.2 (<%codename%>)
NPCScan, v5.0.0.3
NPCScanOverlay, v5.0.0.1
Altoholic, v5.0.001d
AucAdvanced, v5.14.5335 (KowariOnCrutches)
AucFilterBasic, v5.14.5335 (KowariOnCrutches)
AucFilterOutlier, v5.14.5335.5335(5.14/embedded)
AucMatchUndercut, v5.14.5335.5225(5.14/embedded)
AucStatHistogram, v5.14.5335 (KowariOnCrutches)
AucStatiLevel, v5.14.5335 (KowariOnCrutches)
AucStatPurchased, v5.14.5335 (KowariOnCrutches)
AucStatSales, v5.14.5335.5335(5.14/embedded)
AucStatSimple, v5.14.5335 (KowariOnCrutches)
AucStatStdDev, v5.14.5335 (KowariOnCrutches)
AucStatWOWEcon, v5.14.5335.5335(5.14/embedded)
AucUtilAHWindowControl, v5.14.5335.5133(5.14/embedded)
AucUtilAppraiser, v5.14.5335.5335(5.14/embedded)
AucUtilAskPrice, v5.14.5335.5160(5.14/embedded)
AucUtilAutoMagic, v5.14.5335.5335(5.14/embedded)
AucUtilCompactUI, v5.14.5335.5335(5.14/embedded)
AucUtilEasyBuyout, v5.14.5335.5238(5.14/embedded)
AucUtilFixAH, v5.14.5335 (KowariOnCrutches)
AucUtilItemSuggest, v5.14.5335.5335(5.14/embedded)
AucUtilPriceLevel, v5.14.5335.5237(5.14/embedded)
AucUtilScanButton, v5.14.5335.5335(5.14/embedded)
AucUtilScanFinish, v5.14.5335.5153(5.14/embedded)
AucUtilScanProgress, v5.14.5335.4979(5.14/embedded)
AucUtilScanStart, v5.14.5335.5153(5.14/embedded)
AucUtilSearchUI, v5.14.5335.5335(5.14/embedded)
AucUtilSimpleAuction, v5.14.5335.5208(5.14/embedded)
AucUtilVendMarkup, v5.14.5335.4828(5.14/embedded)
AutoProfitX, vr82
Babylonian, v5.1.DEV.312(/embedded)
BGDefender, v1.6.2
BunnyHunter, v2.3
Configator, v5.1.DEV.330(/embedded)
DataStore, v5.0.001
DataStoreAchievements, v5.0.001
DataStoreAgenda, v5.0.001
DataStoreAuctions, v5.0.001
DataStoreCharacters, v5.0.001
DataStoreContainers, v5.0.001
DataStoreCrafts, v5.0.001
DataStoreCurrencies, v5.0.001
DataStoreInventory, v5.0.001
DataStoreMails, v5.0.001
DataStorePets, v5.0.001
DataStoreQuests, v5.0.001
DataStoreReputations, v5.0.001
DataStoreSpells, v5.0.001
DataStoreStats, v5.0.001
DataStoreTalents, v5.0.001
DBMCore, v
DebugLib, v5.1.DEV.312(/embedded)
Dresser, v3.3
ErrorFilter, v2.5
FBTitan, v1.0.7
FishingBuddy, v1.0.9f
HealersHaveToDie, v1.9.1.2
Junkit, v4.30
LibExtraTip, v5.12.DEV.324(/embedded)
OmniCC, v5.0.3
Prat30, v3.5
Prat30Libraries, v
Skada, v1.4-3
SkadaCC, v1.0
SkadaDamage, v1.0
SkadaDamageTaken, v1.0
SkadaDeaths, v1.0
SkadaDebuffs, v1.0
SkadaDispels, v1.0
SkadaEnemies, v1.0
SkadaHealing, v1.0
SkadaPower, v1.0
SkadaThreat, v1.0
Stubby, v5.14.5335 (KowariOnCrutches)
TidyPlates, v6.7.5 (R539)
TidyPlatesGraphite, v
TidyPlatesGrey, v
TidyPlatesNeon, v
TidyPlatesQuatre, v
TidyPlatesHub, v
TidyPlatesWidgets, v
TipHelper, v5.12.DEV.315(/embedded)
Titan, v5.1.5.50001
TitanBag, v5.1.5.50001
TitanClock, v5.1.5.50001
TitanGold, v5.1.5.50001
TitanLocation, v5.1.5.50001
TitanLootType, v5.1.5.50001
TitanPerformance, v5.1.5.50001
TitanRepair, v5.1.5.50001
TitanVolume, v5.1.5.50001
TitanXP, v5.1.5.50001
WIM, v3.6.1
BlizRuntimeLib_enUS v5.0.5.50001 <us>
(ck=c30)
Any word on any of these issues that we are posting would be greatly appreciated by many.
Are you gonna fix all the problems before MoP?
Date: 2012-09-21 11:05:34
ID: 1
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: ?()
...\MikScrollingBattleText\Libs\CallbackHandler-1.0.lua:147:
...\MikScrollingBattleText\Libs\CallbackHandler-1.0.lua:147
[string "safecall Dispatcher[4]"]:4:
[string "safecall Dispatcher[4]"]:4
[C]: ?
[string "safecall Dispatcher[4]"]:13: ?()
...\MikScrollingBattleText\Libs\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: ChatEdit_SendText()
..\FrameXML\ChatFrame.lua:4091: ChatEdit_OnEnterPressed()
[string "*:OnEnterPressed"]:1:
[string "*:OnEnterPressed"]:1
Locals:
None
AddOns:
Swatter, v4.0.3 (<%codename%>)
BagBrother, v
Bagnon, v5.0.4
DBMCore, v
InterruptBar, v1.34
LoseControl, v5.0
MikScrollingBattleText, v5.7.122
NugComboBar, v
OmniCC, v5.0.3
Prat30, v3.5
Prat30HighCPUUsageModules, v
Prat30Libraries, v
Recount, v
ReforgeLite, v1.12
SlideBar, v4.0.3 (<%codename%>)
TidyPlates, v6.7.5 (R539)
TidyPlatesGraphite, v
TidyPlatesGrey, v
TidyPlatesNeon, v
TidyPlatesQuatre, v
TidyPlatesHub, v
TidyPlatesWidgets, v
TomTom, vv50001-1.0.2
BlizRuntimeLib_ruRU v5.0.5.50001 <eu>
(ck=227)
when I get a bnet whisper (realid stuff) I get the following error (every time I get a tell)
23x Prat-3.0-3.5\modules\PlayerNames.lua:1350: attempt to concatenate local "surname" (a nil value)
Prat-3.0-3.5\modules\PlayerNames.lua:1350: in function "FormatPlayer"
Prat-3.0-3.5\modules\PlayerNames.lua:1467: in function "?"
Libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
<string>:"safecall Dispatcher[4]":4: in function <string>:"safecall Dispatcher[4]":4
<in C code>
<string>:"safecall Dispatcher[4]":13: in function "?"
Libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire"
Prat-3.0-3.5\addon\addon.lua:632: in function <Prat-3.0\addon\addon.lua:573>
(tail call): ?
FrameXML\ChatFrame.lua:2741: in function "ChatFrame_OnEvent"
<string>:"*:OnEvent":1: in function <string>:"*:OnEvent":1
Locals:
nil
Every time I get a whisper or someone says something, I get a 2 second lag. As a healer, this really sucks. Can this be fixed? I don't have many add ons so I know it's not too much lag from that.
For some reason whenever I post something in say /1 it does a double post. This does not happen in whispers or party chat. Has anybody ran acrosss this issue?
Same for me.
same