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.
Does Prat work will with non-english roman characters?
Anytime I send or recieve RealID messages this pops up.
Message: Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1350: attempt to concatenate local 'surname' (a nil value)
Time: 09/28/12 18:40:42
Count: 2
Stack: (tail call): ?
Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1350: in function `FormatPlayer'
Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1467: in function `?'
...ist\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...ist\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[4]"]:4: in function <[string "safecall Dispatcher[4]"]:4>
[C]: ?
[string "safecall Dispatcher[4]"]:13: in function `?'
...ist\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
Interface\AddOns\Prat-3.0\addon\addon.lua:632: 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>
[C]: in function `BNSendWhisper'
Interface\FrameXML\ChatFrame.lua:4068: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:4091: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>
Locals: (*temporary) = <function> defined =[C]:-1
Hello,
Whenever I whisper someone, or receive a whisper from a Real ID contact or Battle tag contact, I get a small graphic lag with Prat running. Will see if it gives an lua error, and try again
This is what I get when I send a whisper
Message: Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1350: attempt to call global 'BNTokenCombineGivenAndSurname' (a nil value)
Time: 09/28/12 17:29:29
Count: 4
Stack: Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1350: in function `FormatPlayer'
Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1467: in function `?'
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[4]"]:4: in function <[string "safecall Dispatcher[4]"]:4>
[C]: ?
[string "safecall Dispatcher[4]"]:13: in function `?'
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
Interface\AddOns\Prat-3.0\addon\addon.lua:632: 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>
[C]: in function `BNSendWhisper'
Interface\FrameXML\ChatFrame.lua:4068: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:4091: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>
Locals: self = <table> {
GetData = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1279
updateFriends = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1076
EnableModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:348
modules = <table> {
}
CancelTimer = <function> defined @Interface\AddOns\Ace3\AceTimer-3.0\AceTimer-3.0.lua:311
IterateEmbeds = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:458
SetDefaultModulePrototype = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:425
updatePlayer = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1063
defaultModuleState = true
GetCommonCLR = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1493
IsEnabled = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:467
getClass = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1267
Subgroups = <table> {
}
DisableModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:366
TabComplete = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1525
updateBG = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1155
RegisterMessage = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:118
OnModuleDisable = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1007
GetRandomCLR = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1505
updateWho = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1145
OnModuleEnable = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:959
db = <table> {
}
GetPlayerCLR = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1470
updateGuild = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1086
SetEnabledState = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:440
enabledState = true
RegisterEvent = <function> defined @Interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:118
updateRaid = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1099
IterateModules = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:453
OnValueChanged = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:941
addInfo = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1301
SetAltInvite = <function> defined @Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1577
Enable = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:315
UnregisterAllEvents = <function> defined @Interface\AddOns\Ace3\CallbackH
When I log in I get :
Date: 2012-09-28 10:52:15
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: ?()
...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
Locals:
None
AddOns:
Swatter, v4.0.4 (<%codename%>)
Cursor, v5.0.0.1
NPCScan, v5.0.0.3
NPCScanOverlay, v5.0.0.1
AckisRecipeList, v2.4.1
ACP, v3.4
ArkInventory, v30314
ArkInventoryRules, v
ArkInventoryRulesExample, v1.00
Armory, vv10.1.1
ArmoryGuildBank, vv10.1.1
Atlas, v1.22.0
AtlasTransportation, v1.22.0
Auctionator, v3.0.5
Babylonian, v5.1.DEV.332(/embedded)
Bloodhound, v1.7
BookofCrafts, vb4.0.0
Collectinator, v1.1.2
Configator, v5.1.DEV.335(/embedded)
DBMCore, v
Factionizer, v5.0.4.0
FlightMap, v5.0.3
Gatherer, v4.0.4
GTFO, v4.15
HealersHaveToDie, v2.0.2
LightHeaded, v344
Mapster, v1.5.1
MinimapButtonFrame, v3.1.9
MinimapButtonFrameSkinPack, v3.0.1
Misspelled, v1.5.16
MogIt, v3.0.5
MoveAnything, v13.1.8
Overachiever, v0.66
Postal, v3.5.0
PowerAuras, v4.3.4
Prat30, v3.5
Prat30HighCPUUsageModules, v
Prat30Libraries, v
QuestProgressSound, v1.16
RealIDToons, v2.1.13
Recount, v
SimpleILevel, v3.0.19
SimpleILevelGroup, v3.0.19
SimpleILevelResilience, v3.0.19
SimpleILevelSocial, v3.0.19
TabardChampion, vv1.2.3
TargetHealthPercent, v4.0.1
TomTom, vv50001-1.0.2
BlizRuntimeLib_enUS v5.0.5.50001 <us>
(ck=4ab)
I'm getting this message when I try to use the SmartGroup function.
Channelsticky.lua 475: attempt to call global 'GetNumRaidMembers' (a nil value)
[14:43:33] SendChatMessage(): Unknown chat type
[C]: ?
[C]: ?
[C]: in function `SendChatMessage'
Interface\FrameXML\ChatFrame.lua:4079: in function <Interface\FrameXML\ChatFrame.lua:4051>
[C]: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:4091: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>
Having this
Date: 2012-09-27 17:07: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: ?()
...ist\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147:
...ist\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: ?()
...ist\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:
..\FrameXML\ChatFrame.lua:2734
[C]: pcall()
Stubby\Stubby.lua:379:
Stubby\Stubby.lua:325
(tail call): ?
[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
AddOns:
Swatter, v4.0.4 (<%codename%>)
NPCScan, v5.0.0.3
NPCScanOverlay, v5.0.0.1
AckisRecipeList, v2.4.1
Altoholic, v5.0.001d
Archy, v1.8.31
Atlas, v1.22.0
AtlasLootLoader, vv7.01.01
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.332(/embedded)
BadBoy, v11.100
BadBoyLevels, v2.92
Bartender4, v4.5.5
ButtonFacade, v4.0.344
ButtonFacadeSerenity, v4.0.65
Configator, v5.1.DEV.335(/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)
FastQuestClassic, v2.18.06
FishingBuddy, v1.1a
Gatherer, v4.0.4
GathererDBWowhead, v1.0.2011-11-03
Informant, v5.14.5335 (KowariOnCrutches)
LibExtraTip, v5.12.DEV.324(/embedded)
MBB, v
Omen, v3.1.7
Overachiever, v0.66
Prat30, v3.5
Prat30HighCPUUsageModules, v
Prat30Libraries, v
Recount, v
Stubby, v5.14.5335 (KowariOnCrutches)
TipHelper, v5.12.DEV.315(/embedded)
Titan, v5.1.4.50001
TitanBag, v5.1.4.50001
TitanClock, v5.1.4.50001
TitanCoords, v4.3.9.40000
TitanEmote, v1.0.15.50001
TitanGold, v5.1.4.50001
TitanGoldTracker, v4.3.9.40000
TitanLocation, v5.1.4.50001
TitanLootType, v5.1.4.50001
TitanPerformance, v5.1.4.50001
TitanRepair, v5.1.4.50001
TitanVolume, v5.1.4.50001
TitanXP, v5.1.4.50001
XPerl, v3.5.60
XPerlArcaneBar, v
XPerlParty, v
XPerlPartyPet, v
XPerlPlayer, v
XPerlPlayerBuffs, v
XPerlPlayerPet, v
XPerlRaidAdmin, v
XPerlRaidFrames, v
XPerlRaidHelper, v
XPerlRaidMonitor, v
XPerlRaidPets, v
XPerlTarget, v
XPerlTargetTarget, v
BlizRuntimeLib_enUS v5.0.5.50001 <eu>
(ck=d1f)
Hi ! I've got this LUA error :
Date: 2012-09-26 23:41:30
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\Prat-3.0\modules\PlayerNames.lua line 1350:
attempt to concatenate local 'surname' (a nil value)
Debug:
(tail call): ?
Prat-3.0\modules\PlayerNames.lua:1350: FormatPlayer()
Prat-3.0\modules\PlayerNames.lua:1467: ?()
...der\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147:
...der\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: ?()
...der\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: ChatEdit_SendText()
..\FrameXML\ChatFrame.lua:4091: ChatEdit_OnEnterPressed()
[string "*:OnEnterPressed"]:1:
[string "*:OnEnterPressed"]:1
Hi there.
Any indication on when we might expect to see an updated 'Release' version of the Prat addon?
Many thanks.
Before I go and fill in a detailed bug report in the specific thread on WoWace I have a quick question.
Is there some issues concerning Prat 3.0 (not using the high CPU module atm) and WIM? I seemed to have some issues yesterday. Normally WIM "hides" whisper messages from the chat (even if you selected to show them in Prat) but if you enter in combat WIM gets minimized and in such a circumstance you'll be able to see whisper in the chatlog. When this happened yesterday I was getting the messages on the chat fine, but I was also getting an UI error. Message reported Prat 3.0 as being the cause, but as far as I know it could have been WIM. Consider that I'm using very close-to-default settings for both addons.
I am unable to keep the pet battle tab consistently hidden and wow does not allow you to delete it permanently.
multiple message on board also for me....
any solutions?
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
Last night in Panderia everytime chat someone spoke in General chat it came through five times. Anyone else experience this?
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