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.
In reply to sylvanaar:
I do not fully understand the channel api lua script, but the message one is able to determine what channel it is, all communities start with community:ID:subchanel_ID
This is what I have understood from all the prints I have been adding around, though for the services I have been unable to see prints or know how to debug it, to see the values that are being assigned to the variables (i do work as a coder for the most part, so i understand logic, but on a new language, and new object concepts, I need a lot of research to understand this better, heh).
In any case, I do not see how the channel can be related to the channel name assigned for when you add it to a chat, and there might not be a solution to it =(
Thus the only thing I could think of, is transform the message part into the community ID needed in order to match the setups.
I just do not know where to start research for this... to help if I can to pin point best way to get the names ... though, if you have lots of code looking at the channel names, might mean a lot of changes would have to be done, if it would be possible to geht the ID + the name, both things would have to be taken into account in order to check whether an action has to be taken...
Anyways, looking forward to see your fix, I am sure you will find a better solution to this =)
In reply to wen_amarth:
I just pushed the change. The solution I came up with is really simple. It needs a bit more testing so I probably wont' release it today, but you can certainly pull it and try it.
The fix I put in is really simple as you can see - but it affects a few things, so they will all need some testing.
In reply to sylvanaar:
Needs to be tested thoroughly, but I think there is a relation between:
/run jj_id1, jj_name1, jj_disbld1, jj_id2, jj_name2, jj_disbld2, jj_id3, jj_name3, jj_disbld3, jj_id4, jj_name4, jj_disbld4 = GetChannelList();
/run ListChannels()
in the 4th jj_name4 position was the COMMUNITY:ID:subch
And in the 4th position in ListChannels() was the name corresponding to it "[4. My Community - General Chat".
Perhaps there is a relationship in there that can be exploted to get a data table of the getchannelName + the "ListChannels" position which would help to match and put the name of the chat in the options...
In reply to wen_amarth:
One thing that might help you is to take the Prat_Debug folder in the pullouts directory and pull it out into your addon folder.
You will get a lot of use out of the /pratdebugmsg slash command after that - plus it has all my cool debug stuff like tab complete on the lua environment and the pretty printing of lua tables.
Also you can get the wow ui source yourself to learn more. You can get it straight from the game, but also here from github: https://github.com/Gethe/wow-ui-source
Did you see the fix i posted - I am really curious if it fixed the problem without breaking anything
In reply to sylvanaar:
hey! Will look into it right now. It is 8.25 am here where I am xD
Will let you know as soon as I test it
In reply to sylvanaar:
In reply to sylvanaar:
Hey, I copied the 2 files you changed, but now I do not see the sounds option under the extra stuff tab. Am I missing something here?
Edit - copied the whole thing into the addon folder and worked out =)
In reply to sylvanaar:
In reply to sylvanaar:
In reply to sylvanaar:
Since I copied the whole thing I noticed now the debug, is there a way to disable it? Like an ON - OFF switch ? Or I would need to delete the pullouts directory ?
In reply to sylvanaar:
In reply to sylvanaar:
In reply to sylvanaar:
In reply to sylvanaar:
Ok, this is what I have teted...
I am in a community example "My community", it has the "General" subchannel and the "Special" subchannel.
I made sure to select "none" as the sound options and have no channel added to any chat window.
Exit the game, relog (at first I saw like thre was an option for a "my comunnity - " without adding the subchannel name, but I made sure everything set to none, and then it dissappeared - at first I assigned to it something but did not work , somehow was not really connected but showing like that).
So, with all cleaned up, when I add the channel to a chat window /prat won't show it till a RELOAD.
I just added the special subchannel to the chat window.
Once I reloaded, /prat, see the channel added as "My community - Special" and assigned a sound. And it worked just fine! =)
Errors I got, is when trying to create my own comunity, and a subchannel, something interefered with prat, and got a popup suggestion of disabling prat in order to be able to create the subchannel, then reload with prat on, and things kept working.
In reply to wen_amarth:
You can disable Prat_Debug in the addon control panel.
In reply to sylvanaar:
that's the thing... is not in the addon list , but still I can use your /pratdebug command and see what happened...
In reply to wen_amarth:
Right, I just noticed that that command works even without the debug module (it is just better if you have the debug module)
In reply to sylvanaar:
does it consume much? Maybe you can have it as any of the other modules that need to be loaded to work... hehe
So far had not had any trouble with the fix... all my chats seem to work appropriately
Hello everyone. I have just released some fixes to longstanding issues with errors when you try to right click target, join battlegrounds and other such things that are being blocked.
if you don't mind please try the latest version and let me know which issues have been fixed for you and which are still outstanding.
Thanks everyone for all your support!
In reply to sylvanaar:
Im still getting major freezes/lagspike when 'lot' of ppl talk at the same time, lot of ppl earn achievements etc etc. party and guild chat mostly, Massive stutter .
In reply to Bombitup:
Turn off the color names everywhere feature in the playernames module - it can do that
In reply to sylvanaar:
Hello. The join BG function worked like a charm the first time I used it. After the fist time it now keeps coming up with an error again. So that function seems to need a bit of tweaking.
In reply to sylvanaar:
Hello. The join BG function worked like a charm the first time I used it. After the fist time it now keeps coming up with an error again. So that function seems to need a bit of tweaking.
In reply to sylvanaar:
Hello. The join BG function worked like a charm the first time I used it. After the fist time it now keeps coming up with an error again. So that function seems to need a bit of tweaking.
In reply to sylvanaar:
Hello. The join BG function worked like a charm the first time I used it. After the fist time it now keeps coming up with an error again. So that function seems to need a bit of tweaking.
Prat STILL have a bug everytime you try and rightclick people in chat and target them. You get an error message every time.
Will this be fixed? its getting on my nerves.