Get an Epic Experience with Premium

Prat 3.0

Chat & Communication Login to Add Favorites
  • 104 Likes
  • World of Warcraft
  • 404,075 Monthly Downloads
  • Supports: 6.0.2
  • 8,586,195 Total Downloads
  • Updated 10/18/2014
  • Created 07/28/2008
  • 10,101 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: GNU General Public License version 3 (GPLv3)
  • Newest File: 3.5.10
or
Support development! **
Donate

About Prat 3.0

Prat-3.0 is a chat enhancement addon for world of warcraft 3.0.

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.

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

Forum thread: http://forums.wowace.com/showthread.php?t=14004

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)

Its predecessor, Prat-2.0 has been around since the TBC release in 2006. This new version seeks to improve upon some aspects such as memory use, but still do so without creating 30+ small folders in your addon directory that you have to manage.

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 have been trying to isolate the most resource intensive functionality into the Prat_HighCPUUSageModules folder. You can enable or disable it per your preference.

http://static.wowace.com/content/images/25/298/WoWScrnShot_091410_175242.jpg

2014-10-18  sylvanaar  <sylvanaar@mindspring.com>

[728e50fb4be1] [3.5.10]
* modules/Bubbles.lua modules/ChatLog.lua modules/CopyChat.lua modules/Fading.lua modules/UrlCopy.lua

Fix several 0/1 values with new false/true values. Thanks Kanegasi

Comments

First Previous Page 2 of 208 Next Last
  • #3647

    So, I've been trying to figure out why Prat has been logging to the combatlog file even though the setting was disabled. Looking at the code, I recognized the usage of 0 and 1 that another addon was using where I reported a similar toggle bug that got fixed. It finally all clicked when I saw the fade code posted below. I have the fix for both my combatlog issue and the fade issue.

    Blizzard has changed any boolean API setting (0s and 1s) to only accept false or true, and if it isn't false or true when the piece of code uses it, the setting defaults to true. Any piece of code you see that uses the ingame API with a 0 or a 1 in the parenthesis, change 0 to false and 1 to true.

    Here's the fading fix:

    Find this piece of code in \Interface\AddOns\Prat-3.0\modules\Fading.lua (very bottom)

      --[[------------------------------------------------
          Core Functions
      ------------------------------------------------]] --

      -- enable/disable fading
      function mod:Fade(cf, textfade)
        if textfade then
          cf:SetFading(1)
          cf:SetTimeVisible(mod.db.profile.duration)
        else
          cf:SetFading(0)
        end
      end

    Replace with the following:

      --[[------------------------------------------------
          Core Functions
      ------------------------------------------------]] --

      -- enable/disable fading
      function mod:Fade(cf, textfade)
        if textfade then
          cf:SetFading(true)
          cf:SetTimeVisible(mod.db.profile.duration)
        else
          cf:SetFading(false)
        end
      end

    Logging fix

    If you also don't want the combat logging forced on (or chat, but I log chat), change this code in ChatLog.lua (same modules folder):

    --[[------------------------------------------------
        Core Functions
    ------------------------------------------------]]--

    -- enable or disable the chat log
    function module:SetChatLog(info, val)
        self.db.profile.chat = val
        if self.db.profile.chat then
            self:Print(L["Chat Log: Enabled"])
            self:Print(L["Chat log recorded to <WoW Installation>\\Logs\\WoWChatLog.txt only upon logout."])
            LoggingChat(1)
        else
            LoggingChat(0)
            self:Print(L["Chat Log: Disabled"])
        end
    end

    -- enable or disable the combat log
    function module:SetCombatLog(info, val)
        self.db.profile.combat = val
        if self.db.profile.combat then
            self:Print(L["Combat Log: Enabled"])
            self:Print(L["Combat log recorded to <WoW Installation>\\Logs\\WoWCombatLog.txt only upon logout."])
            LoggingCombat(1)
        else
            LoggingCombat(0)
            self:Print(L["Combat Log: Disabled"])
        end
    end

    to this:

    --[[------------------------------------------------
        Core Functions
    ------------------------------------------------]]--

    -- enable or disable the chat log
    function module:SetChatLog(info, val)
        self.db.profile.chat = val
        if self.db.profile.chat then
            self:Print(L["Chat Log: Enabled"])
            self:Print(L["Chat log recorded to <WoW Installation>\\Logs\\WoWChatLog.txt only upon logout."])
            LoggingChat(true)
        else
            LoggingChat(false)
            self:Print(L["Chat Log: Disabled"])
        end
    end

    -- enable or disable the combat log
    function module:SetCombatLog(info, val)
        self.db.profile.combat = val
        if self.db.profile.combat then
            self:Print(L["Combat Log: Enabled"])
            self:Print(L["Combat log recorded to <WoW Installation>\\Logs\\WoWCombatLog.txt only upon logout."])
            LoggingCombat(true)
        else
            LoggingCombat(false)
            self:Print(L["Combat Log: Disabled"])
        end
    end

     

    Last edited by Kanegasi on 10/17/2014 7:54:20 PM
  • #3650

    Thanks for catching that. I am going to make sure I have this fixed everywhere

     

  • #3645

    To fix chat fading:

    1) Open the file \Prat-3.0\modules\Fading.lua
    2) Scroll to the very bottom where you see Core Functions
    3) Add the following line of code according to the picture:

    cf:SetTimeVisible(600000)

    For some reason, SetFading() is not working as intended to disable the fading (maybe on Blizzard's end?). This hack instead allows the text to fade after ~7 days :)

  • #3649

    Thanks, I'll add in your fix

  • #3646

    Thank you. I'll give it a try and respond here with how it works.

  • #3644

    The only issue I am having with Prat now is that I can no longer turn off the Fade. As an RP'er, I like to keep the chat text there. No Fade at all. The old workaround of turning Chat Frame Apha to 0 no longer works.

  • #3643

    Slight issue with delay motd. If you have guild chat set to any window other than the main one (ChatFrame1) the delayed motd is printed to both frame 1 and whatever chat window has guild chat.

    A tiny workaround I used is I placed "ChatFrame3:UnregisterEvent("GUILD_MOTD")" right before the delay function reregisters frame 1 so that the delayed motd is only printed to frame 1 (line 489 of the history module).

    To clarify, I have three windows: "Info" which is all the system messages, loot spam, xp, and any other info option; "Chat" which displays everything to do with chat (channels, say, guild, etc); "Main" which is frame 1, where all the npc chat/emotes, dbm, addon, and other various game spam is kept. Since the scrollback option doesn't have specific frame settings, the motd will be buried regardless of what window it comes out on. I like the motd separate from the chat window, but if you want to fix the multiple window delay print and then keep the motd on whatever frame has the guild registered on it, I'm fine with that too.

    Last edited by Kanegasi on 10/16/2014 11:24:22 AM
  • #3639

    The fade module isn't working, it fades the text regardlessly.

  • #3641

    I am having the same problem. For now I've settled to increasing the fading time all the way to max.

  • #3640

    I'm having the same problem, chat is fading even though the boxes are unticked.

  • #3642

    yes same problem

  • #3638

    Waiting for 6.0.2 Version  Strange how this is an overlooked Addon by most, but it has become a very helpful addon in the past 2 yrs.

  • #3637

    Seems ok in 6.0 tho the edit box font is kinda small and cant be changed.

  • #3636

    How do change the edit box size? Is it the tile size option?

  • #3635

    remote gulid chat doesn't show icon

    When a guild mate is logged in using the Mobile Armory app's Remote Guild Chat feature, the expected icon doesn't show up in their chat lines.

     

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

VIP trip to SMITE World Championship