Download
(1 MB)
Download
Updated: 05-13-14 09:52 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:05-13-14 09:52 PM
Created:unknown
Downloads:416,533
Favorites:2,415
MD5:
5.4
Prat 3.0  Popular! (More than 5000 hits)
Version: 3.5.8 (925)
by: sylvnaaar [More]
Prat is a chat addon framework, and collection. It consists of 30+ modules which each add some functionality to the WoW chat interface. There is literally a module for just about everything chat related. While large in size, i have been working to keep the runtime memory usage down, and eliminate the costs of the unused modules without littering the addon directory with a slew of folders.

For the options menu, type "/prat", or if you have a broker host mod installed you will get a launcher icon.

You control the load behavior of modules via the module control screen. You have 3 choices "Don't load", "Disabled", and "Enabled"

You can report any bugs you find here:

http://www.wowace.com/projects/prat-3-0/tickets/


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)

* Change arrows, buttons, mouse scroll for chat scroll, scroll speed
* you can add color per channel, color per lvl, color per class
* timestamps
* timestamp color
* whether to show timestamp (what format the timestamp should be in)
* whether to show players lvl
* 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 prolly even add other fonts to that list)
* change the chat frame/chat box appearance
* set Chat history
* 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
* info keeping
* url copying
* full chat copying + options (html,bbcode, plain, forum) + copy button
* allows pop-up msgs
* enables tell target /tt
* Alias options
* altnames options
* you can enable/disable all prat modules - dont have to have the ones you dont use running
* change chat sounds (incoming and outgoing as well as per channel



For those interested:

There is an additional folder Prat-3.0_HighCPUUsageModules.

Note: These features use CPU, so they have been placed in a special folder so that is 100% clear.
3.4 - Live and Beta compatibility

3.3.7 - Various server name related fixes/enhancements, e.g tab-completion (in bg's for example)

3.3.6 - Fixes issue where you were unable to change the sound for the new GROUP_LEAD type

3.3.5 - Adds GROUP_LEAD as an option in the sounds module.

3.3.4 - Prat now comes with a selection of "chat-friendly" fonts. So you don't have to worry about downloading a separate font collection which may only have 2-3 fonts which are usable for chat. Prat includes 9 chat friendly fonts in addition to the fonts Blizzard provides.


3.1.0 - updated chat filter code to work on live and ptr

-- Change logs are included in each zip --

Addition fixes, and other fun stuff
--

Changed the way the addon is packaged. Pulled out the high cpu module for you.
---

Added global name coloring, There is no option for it at present, it gets enabled when you use the HighCPU use pullout.

Other minor tweaks and fixes. Please continue to report any issues you may encounter.

---

Ace3 is included in the zip - it should fix issues with the config not opening on beta. I haven't tested on live.

I added a simple button module, it was hastily added, because I have been so busy playing on beta.

Fixed the copy bug which would hang the client for a few seconds then give an error.

----

Added ability to set the incoming and outgoing whisper colors independently via the blizz ui. currently this is part of the experimental module

Fixed chatlink spamming.
Optional Files (0)


Archived Files (42)
File Name
Version
Size
Author
Date
3.5.7 (910)
1MB
sylvnaaar
09-11-13 05:58 AM
3.5.6 (908)
1MB
sylvnaaar
05-24-13 07:53 AM
3.5.5 (906)
1MB
sylvnaaar
03-18-13 08:33 PM
3.5.1 (892)
1MB
sylvnaaar
09-30-12 06:11 AM
3.5 (890)
1MB
sylvnaaar
09-03-12 08:16 AM
3.4.25 (881)
1MB
sylvnaaar
11-29-11 08:18 AM
3.4.24 (870)
1MB
sylvnaaar
07-04-11 02:33 AM
3.4.23 (860)
1MB
sylvnaaar
06-29-11 12:49 PM
3.4.22 (853)
1MB
sylvnaaar
06-29-11 04:18 AM
3.4.21 (851)
1MB
sylvnaaar
06-28-11 03:22 AM
3.4.18 (802)
1MB
sylvnaaar
04-26-11 03:05 PM
3.4.18 (799)
1MB
sylvnaaar
04-26-11 07:09 AM
3.4.15 (784)
1MB
sylvnaaar
01-15-11 02:33 PM
3.4.14 (774)
1MB
sylvnaaar
12-30-10 11:56 AM
3.4.13 (756)
1MB
sylvnaaar
11-28-10 07:30 PM
3.4.12 (739)
1MB
sylvnaaar
11-15-10 08:13 AM
3.4.10 (726)
1MB
sylvnaaar
11-08-10 01:13 PM
3.4.9 (726)
1MB
sylvnaaar
11-01-10 07:03 AM
3.4.9 (696)
1MB
sylvnaaar
10-30-10 06:27 PM
3.4.6 (670)
1MB
sylvnaaar
10-14-10 07:21 PM
3.4.5 (668)
1MB
sylvnaaar
10-12-10 03:44 PM
3.4.4 (666)
1MB
sylvnaaar
10-10-10 03:03 AM
3.4.3 (655)
1MB
sylvnaaar
10-08-10 09:26 PM
3.4.2 (645)
1MB
sylvnaaar
10-07-10 04:59 AM
3.4.1 (615)
949kB
sylvnaaar
09-16-10 05:42 PM
3.4 (606)
949kB
sylvnaaar
09-14-10 10:58 AM
3.4b2 (594)
949kB
sylvnaaar
09-03-10 05:21 PM
3.3.26 (572)
949kB
sylvnaaar
08-08-10 09:30 AM
3.3.25 (559)
949kB
sylvnaaar
08-04-10 09:13 PM
3.3.24 (550)
948kB
sylvnaaar
08-03-10 04:17 PM
3.3.23 (523)
946kB
sylvnaaar
07-28-10 08:16 AM
3.3.21 (515)
941kB
sylvnaaar
07-15-10 09:33 AM
3.3.21 (506)
935kB
sylvnaaar
07-05-10 08:26 AM
3.3.13 (468)
932kB
sylvnaaar
06-24-10 07:00 PM
3.3.12 (467)
933kB
sylvnaaar
06-22-10 04:54 AM
3.3.7 (425)
918kB
sylvnaaar
03-13-10 06:49 PM
3.3.6 (417)
917kB
sylvnaaar
02-25-10 03:14 PM
3.3.5 (415)
917kB
sylvnaaar
02-25-10 05:30 AM
3.3.4 (411)
917kB
sylvnaaar
02-24-10 03:45 AM
3.3.3 (408)
529kB
sylvnaaar
02-16-10 07:52 AM
3.3.1 (399)
530kB
sylvnaaar
12-15-09 07:24 PM
3.3 (396)
529kB
sylvnaaar
12-09-09 09:16 AM


Post A Reply Comment Options
Unread 09-26-12, 09:12 AM  
goldengamer
A Fallenroot Satyr

Forum posts: 22
File comments: 93
Uploads: 0
Can't seem to get the edit box to stay up where I place it on free-move On free-move, it moves, and as soon as I close it, it goes back down the bottom. I tried locking, didn't work either.

I have move anything, but that was not set to change the place of the edit box. Tried using it to do so but that didn't work either.
goldengamer is offline Report comment to moderator  
Reply With Quote
Unread 09-13-12, 05:35 PM  
Aoxomoxoa
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Originally Posted by Shokoboko
just simple fix:

in PlayerNames.lua replace line 1347
local _, givenName, surname, toon, id = BNGetFriendInfo(i)

with

local _, givenName, surname, toonid = BNGetFriendInfo(i)

-----------------------
toon and id as single arn`t in BNgetFriendInfo() API
This isn't a valid solution. Those variable names can be anything..they could be "local _,a,b,c,d=BNGetFriendInfo(i)" and as long as the rest of the code used those variable names it would work the same. All this proposed change does is rename the variable "toon" to "toonid" and remove the variable "id" entirely. The reason this suppresses the error about the now obsolete "BNTokenCombineGivenAndSurname" is because it's use is based on the existence of "id" as a variable:
Code:
if id then
            if BNTokenCombineGivenAndSurname(givenName .. surname) == message.PLAYER then
once you removed the variable "id" the condition for this will always be false. Any conditions based on the existence of "toon" will also fail.

BNGetFriendInfo() returns the following (according to wowwiki.com):
Code:
presenceID, givenName, surname, toonName, toonID, client, isOnline, lastOnline, isAFK, isDND, broadcastText, noteText, isFriend, broadcastTime  = BNGetFriendInfo(friendIndex)
In the original prat code, the author has opted to use "toon" in place of the suggested "toonName" and "id" in place of "toonID". There's nothing incorrect about picking your own local variable names.

The real problem seems to be that "BNTokenCombineGivenAndSurname(givenName .. surname)" uses a function that was removed in 5.0.4. This seems to be able to concatinate two |K escape sequences that are the contents of givenName and surname.

|K[gsf][0-9]+|k[0]+|k
New in 4.0 - Represents a Battle.net friend's name. The 3rd character indicates given name, surname, or full name. The number which follows it represents the friend's Bnet Presence ID. The zeros between the |k form a string of the same length as the name which will replace it. E.g. if your first name is John and your presence id is 30, your given name (John) would be represented by the string |Kg30|k0000|k .
Also see this page at wowprogramming.com regarding what BNTokenCombineGivenAndSurname used to do.

I wish I could tell you how to really fix the problem, but I wanted to point out that this fix people are seeing on curse and here isn't a real fix, it just breaks the code more.

UPDATE:
I'm looking at the info about "BNGetFriendInfo" on wowprogramming.com, and it seems to have changed with 5.0.4 as well. The index returned is the following:

Code:
presenceID, presenceName, battleTag, isBattleTagPresence, toonName, toonID, client, isOnline, lastOnline, isAFK, isDND, messageText, noteText, isRIDFriend, broadcastTime, canSoR = BNGetFriendInfo(friendIndex)
It looks like givenName and surname are no longer returned as seperate strings, instead it returns "presenceName" as a full BNet name in the K code format.

presenceName = Full name of the friend, as a new form of chatlink. Visually looks like a string, but only when rendered. The real name of the friend for RealID friends. The BattleTag without the ID number for BattleTag friends. (string, Kstring)
based on this info I would guess that changing
Code:
local _, givenName, surname, toon, id = BNGetFriendInfo(i)

          if id then
            if BNTokenCombineGivenAndSurname(givenName .. surname) == message.PLAYER then
to something like
Code:
local _, presenceName, _, _, toon, id = BNGetFriendInfo(i)

          if id then
            if presenceName == message.PLAYER then
might resolve the issue, although I'm not sure at all. Even if it does, there might be some breakage elsewhere as a result of removing givenName and surname...though that breakage is likely to have happened anyway already because toon and id are shifted one position to the right.

MOAR UPDATE:
I just tested the modification above and I'm not getting any LUA errors when I chat with a realID friend now. I'm not going to go out on a limb and say that it means that the correction is "correct" and that "presenceName" is a direct equalivelent of "BNTokenCombineGivenAndSurname(givenName .. surname)", but I don't see any indication that it didn't solve the problem. It would be up to the current maintainer of the addon to determine if this is a viable solution.
Last edited by Aoxomoxoa : 09-13-12 at 07:37 PM.
Aoxomoxoa is offline Report comment to moderator  
Reply With Quote
Unread 09-08-12, 04:06 AM  
Shokoboko
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
just simple fix:

in PlayerNames.lua replace line 1347
local _, givenName, surname, toon, id = BNGetFriendInfo(i)

with

local _, givenName, surname, toonid = BNGetFriendInfo(i)

-----------------------
toon and id as single arn`t in BNgetFriendInfo() API
Last edited by Shokoboko : 09-08-12 at 04:07 AM.
Shokoboko is offline Report comment to moderator  
Reply With Quote
Unread 09-05-12, 05:45 PM  
goldengamer
A Fallenroot Satyr

Forum posts: 22
File comments: 93
Uploads: 0
Yep same with the Real ID friend whisper.

Date: 2012-09-06 09:41:12
ID: 2
Error occured in: Global
Count: 6
Message: ..\AddOns\Prat-3.0\modules\PlayerNames.lua line 1350:
attempt to call global 'BNTokenCombineGivenAndSurname' (a nil value)
Debug:
(tail call): ?
(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
(tail call): ?
[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
goldengamer is offline Report comment to moderator  
Reply With Quote
Unread 08-29-12, 03:49 PM  
bOOURNS
A Kobold Labourer
 
bOOURNS's Avatar

Forum posts: 0
File comments: 29
Uploads: 0
There's an error in the 5.0.4 update that's up on curse. (version 3.5 i believe)
It happens everytime i private talk to someone from my realid list.


1x 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 "?"
Ace3-Release-r1061\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <Ace3\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 "?"
Ace3-Release-r1061\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
<in C code>
FrameXML\ChatFrame.lua:4068: in function "ChatEdit_SendText"
FrameXML\ChatFrame.lua:4091: in function "ChatEdit_OnEnterPressed"
<string>:"*:OnEnterPressed":1: in function <string>:"*:OnEnterPressed":1

Locals:
nil
Last edited by bOOURNS : 08-29-12 at 03:49 PM.
bOOURNS is offline Report comment to moderator  
Reply With Quote
Unread 08-29-12, 08:16 AM  
Estelyen
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
There is an update available on curse, no idea why it isn't here as well... Link: http://www.curse.com/addons/wow/prat-3-0
Estelyen is offline Report comment to moderator  
Reply With Quote
Unread 08-28-12, 05:34 PM  
bOOURNS
A Kobold Labourer
 
bOOURNS's Avatar

Forum posts: 0
File comments: 29
Uploads: 0
Hi
Just wondering if there is going to be an update for 5.0.4?

Pls and thank you!

also class color in chat channels isn't working but shows when someone near you gets an achievement.
Last edited by bOOURNS : 08-28-12 at 05:34 PM.
bOOURNS is offline Report comment to moderator  
Reply With Quote
Unread 04-26-12, 07:07 PM  
Eolian
A Kobold Labourer
 
Eolian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 111
Uploads: 4
Originally Posted by Eolian
Im sure its an option somewhere that I have missed, so I figured I'd ask for some help.

When I log into any character, my chat panes starts out very faded and hard to see. I have to click on a new chat tab, example my tab for trade chat, for the faded look to go away.
It reminds me of activating a minimized window on your desktop almost.

Any ideas on what it is/how to make it normal opacity all the time?
bump again?
I'm still having this issue. The transparency of the chat window, the actual letters themselves, when you first log in makes it very hard to read anything. I have to switch to a new tab, then back again to "activate" the correct transparency.
Eolian is offline Report comment to moderator  
Reply With Quote
Unread 04-08-12, 05:25 AM  
Catelinelol
A Kobold Labourer

Forum posts: 1
File comments: 34
Uploads: 0
Originally Posted by Ruak
Hello everyone. I got a very annoying bug with Prat. My Scrolldown Reminder button is always showing up, even when I disable it from the addon options. We're talking about a clean WoW installation + a clean Prat 3.0 installation of the latest version. Any ideas how to fix it? (even some lua adjustment would do).

Same Here -.-
Catelinelol is offline Report comment to moderator  
Reply With Quote
Unread 02-15-12, 09:58 AM  
Ruak
A Kobold Labourer

Forum posts: 0
File comments: 24
Uploads: 0
Hello everyone. I got a very annoying bug with Prat. My Scrolldown Reminder button is always showing up, even when I disable it from the addon options. We're talking about a clean WoW installation + a clean Prat 3.0 installation of the latest version. Any ideas how to fix it? (even some lua adjustment would do).
Ruak is offline Report comment to moderator  
Reply With Quote
Unread 02-12-12, 04:31 PM  
Rhedd
A Murloc Raider

Forum posts: 4
File comments: 13
Uploads: 0
@Danyl

Right click on a tab and choose make interactive and that should make the links available to you again .
Rhedd is offline Report comment to moderator  
Reply With Quote
Unread 02-05-12, 05:30 AM  
Wankor
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
i have a question on how i can move the little history button on the top left of the chat

been searching all the setting and i can seem to remove it :/
Wankor is offline Report comment to moderator  
Reply With Quote
Unread 01-04-12, 08:47 AM  
Makewar
A Deviate Faerie Dragon
 
Makewar's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 14
File comments: 23
Uploads: 2
is there a way to hide the chat tabs (until I mouse over them) in the mod or is this something I have to try and create? ANY help would be appreciated.
Edit: nevermind I found it now.
__________________
You are a warrior in the Lich King's name. You have no soul, no will. You must go forth and slay the living, bring death upon their families, and pick flowers.

...Wait, what?

Shorty
Last edited by Makewar : 01-04-12 at 08:52 AM.
Makewar is offline Report comment to moderator  
Reply With Quote
Unread 01-01-12, 02:08 PM  
evlyxx
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 3
Uploads: 1
I have just reinstalled all my addons and since then whenever I purchase anything from the AH Iget a really annoying fel nova type sound.

I have checked all the sound options and can find nothing to enable/disable this but when I unload the sounds module it stops.

I really is annoying as I purchase a lot from the AH. Can anyone help?
evlyxx is offline Report comment to moderator  
Reply With Quote
Unread 12-25-11, 05:31 AM  
lduvall
A Murloc Raider

Forum posts: 8
File comments: 42
Uploads: 0
Blog Post / Custom Filters

I've been looking for the blog post about setting up custom filters but clicking on the link brings me to a dead Curse page. Is it preserved anywhere? Is there any other sources of information about custom filters?
lduvall is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.