Quantcast
Download
(9 Kb)
Download
Updated: 11-12-18 01:27 PM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:11-12-18 01:27 PM
Created:08-20-09 08:07 AM
Downloads:7,546
Favorites:24
MD5:

nUI : Info Panel [Chat]  Popular! (More than 5000 hits)

Version: 8.0.1.28153.0
by: Xrystal [More]



This InfoPanel Plugin allows the user to have a second customisable chat frame on the right hand side. This one is using panel 22.

Version 8.0.1.28153.0 is a completely new version of the addon and works as follows:
The addon initially checks the saved variable file for the chatframe last used by the character and checks to see if it can be used still, if it can't it searches the 10 available chat frames and finds the first one that is not being used and uses that one for that session and hopefully going forward.
It is highly suggested that the saved variable file for this addon is deleted and any unnecessary chat frames closed before using the addon. This ensures that the addon has plenty of chatframes to choose from.

From 8.0.1.28153.0 forward it will save the tab text, font info and message types and channels for later retrieval. Even if the chat frame initially used cannot be used again, it will still use the settings in the chat frame used.

NOTE:
Please note that for whispers to appear in a normal chat window ( including this addon's one ) you will need to adjust the whisper setting in the blizzard social options to inline ( permanent window ) or both ( temporary and permanent window )

Test Environment
nUI 8.0.1.27602.0 and WoW 8.0.1.28153

Known Problems
Please note you are limited to 8 (3 to 10) chat frames as the General (1) and Combat Log (2) chat frames are permanently in use. Before this addon will work you will need to make at least 1 of those frames available to use.
Also be aware that the Details InfoPanel has a high chance to interfere with any of the Chat Frame plugins functionality due to how the Details addon utilises the ChatFrame functions. I noticed this problem only after activating both InfoPanels at the same time.

Foreign Language Versions
enUS - US English
enGB - UK English

If you wish to add your localization please post a copy of your translation with the localization code you use and I will endeavor to include it at the earliest convenience.

Support Links
Bug Reports
Feature Requests

Version: 8.0.1.28153.0
Changes Made:
- All Files
> Completely rewritten from scratch to be as generic as possible
> At this point this addon is a good example on how to create an infopanel addon, use translations, access saved variables
> This incarnation stores the Chat Frame's name, font details and message/channels selected
> And then restores them when you next log in with the addon activated and a chat frame available
> By default it resets the chat frame on log out to ease removal of the addon with as little affect on the game as possible
> Tested expected functionality and all works fine, any problems please let me know

Version: 8.0.1.27089.0
- CommonChatFunctions.lua
> ButtonFrame:SetPoint turned off while addon enabled

Version: 8.0.1.27075.0
- CommonChatFunctions.lua
> Made changes based on Blizzards BfA changes to the ChatFrame buttons ( Bottom, Up, Down )
- nUI_InfoPanel_Chat.lua
> Made changes based on Blizzards BfA changes to the ChatFrame buttons ( Bottom, Up, Down )

Version: 7.03.00.735.26972
- Changed TOC to reflect 7.3 compatibility
- Removed statement to 'ReceiveAllBNConversations'

Version: 5.4.2.17688
- Changed TOC to reflect 5.4 compatibility

Version: 5.2.0.16733.01
Changes Made :
- Changed TOC to reflect 5.2 compatibility

Version: 5.1.0.16309.01
Changes Made:
- TOC Change to reflect 5.1 compatibility

Version: 5.0.4.16016.120829.01
Features Available :
- Uses an existing saved chat frame or creates a new one
- Stores changes made to chat frame
- Shares chat frame knowledge with nUI_Infopanel_GuildChat and nUI_Infopanel_Whispers
- Uses infopanel 22
Slash Commands Available :
- /nuic enable - enable the plugin
- /nuic disable - disable the plugin
Localization Available :
- enUS
- enGB
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
8.0.1.27089.0
8kB
Xrystal
07-16-18 05:23 PM
8.0.1.27075.0 BfA Version
8kB
Xrystal
07-15-18 07:22 PM
7.03.00.735.269
8kB
Xrystal
07-08-18 09:46 AM


Post A Reply Comment Options
Unread 11-12-18, 01:07 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5447
File comments: 357
Uploads: 24
Finally got it working to my satisfaction. It did end up being a total rewrite and is a bit more modular for future infopanel/chatframe usage.

Uploading the new version very shortly. Please let me know if your own use of it isn't working the way you expected.

It will keep the tab text, font settings, channels and message types between play sessions. By default the background color is black and invisible ( alpha = 0 ).

I suggest you delete the saved variable file for the addon and make sure that all unnecessary chat frames are closed before using the addon so it can pick a valid chat frame.

More details on the addon page itself which has also been rewritten.
__________________

[SIGPIC][/SIGPIC]
Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Unread 10-21-18, 05:34 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5447
File comments: 357
Uploads: 24
I haven't forgotten this problem .. I am just finding it hard to get it to work ..

one way saves the data but doesn't create a frame and the other creates the frame but refuses to save and retrieve the data rofl.
__________________

[SIGPIC][/SIGPIC]
Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Unread 10-10-18, 05:55 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5447
File comments: 357
Uploads: 24
Correction .. merging into a single addon won't be possible because the infopanel is one frame at a time .. duh ... So just saving into a server based saved variable table.

Edit 1:
Somehow .. if Blizzard can do it, addons should be able to do it :P

Edit 2:
Well after looking through Blizzards code I can see how it could be done .. and it does look easier than I thought... but I'll start work on it when I am more alert :P
__________________

[SIGPIC][/SIGPIC]
Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Last edited by Xrystal : 10-10-18 at 06:34 PM.
Report comment to moderator  
Reply With Quote
Unread 10-10-18, 05:24 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5447
File comments: 357
Uploads: 24
Hmm ..

okay. I used 2 toons and set their chat settings up differently..

Logged in Char 1 -
1. Chat Defaults
2. Reload UI
3. Changed Channel Settings
4. Log Out ( to game menu)

Logged in Char 2
1. Chat Defaults
2. Reload UI
3. Only difference was that there were 2 chat frames, one in the normal chatframe that belonged to Char 1 and one in the infopanel that belonged to Char 2. This is because the chat frame is stored per character. If you delete what looks like an extra chat frane in the chat frame then it will in essence tell the addon to create a new one. <<< This is the cause of the problem you are reporting.

Logged in Char 1
1. Checked Channel Settings - same as were set up for that character

Logged in Char 2
1. Changed Channel Settings
2. Log Out (to game menu)


Chat Defaults will reset the chat settings for each character and a reload will rebuild the chat frames with their initialised values. This is only on the one character. I don't store the settings in my addons data, only which chat frame was used on the initial set up, the channel settings are actually stored by the chat settings, the chat plugin keeps the current settings, whereas the GuildChat and Whispers hard code up the specific channels required.

So, if you have to do a Chat Defaults you will need to set up the channels to put on the chat plugin, for each character.

Any changes you make, will either commit to the player saved variables when you go back to the character selection screen or all the way out. I think character settings are updated when you get to the selection screen and the server wide settings are updated after you log right out.


I think the only way to solve this will be if I create some sort of account based saved variable table that keeps a record of changes made per character, meaning that only 1 chat frame can be used per account and the appropriate changes are made when the character is logged in. I'll use this big change to merge the chat frame plugins into a single addon with options and implement my new nUI Plugin file. It will hopefully solve the problem and cut down on the number of my addons

For now I would suggest not deleting a "Chat" chat frame unless you are willing to recreate the affected character(s) chat frame or you have too many. GuildChat and Whispers are not affected by this problem as they override any changes made by default, so their additional chat frames on the left hand side can be deleted if you don't want them there. A reason for having them there ? To view guild chat and whispers at the same time but separately.
__________________

[SIGPIC][/SIGPIC]
Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Unread 10-10-18, 02:03 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5447
File comments: 357
Uploads: 24
I'll have a play with it .. maybe resetting the chat settings breaks chat plugins somehow. It's possible that resetting the chat will wipe out all created windows. But I would have thought the reload would fix it but will have to see if my plugins are coded to work differently to that for a reason.
__________________

[SIGPIC][/SIGPIC]
Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Unread 10-10-18, 01:21 PM  
Nonspecific
A Murloc Raider

Forum posts: 7
File comments: 42
Uploads: 0
settings reverting back

So this is what i did this morning. A fresh install of just NUI and NUI related addons. This toon had a default chat on it. Installed and everything was great, chat channels stayed in the infopanel. Now on another toon, fresh install, but this time the chat tabs were not in default. With all addons loaded, i reset chat to the defaults. I then /nui rl, and began setting chat up just like on the first toon. This is when the channels were not saving to the either the chat tab addon, or the main chat window. Hope this helps. Thanks for all the hard work.
Report comment to moderator  
Reply With Quote
Unread 10-10-18, 07:09 AM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5447
File comments: 357
Uploads: 24
That should work, it was the reason I created it ... for those that wanted more selective chat messages appearing there .. so yes, try a clean install. I always start a new expansion with a clean slate... no addons no wtf files etc.
__________________

[SIGPIC][/SIGPIC]
Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Last edited by Xrystal : 10-10-18 at 07:10 AM.
Report comment to moderator  
Reply With Quote
Unread 10-10-18, 06:41 AM  
Nonspecific
A Murloc Raider

Forum posts: 7
File comments: 42
Uploads: 0
HUH

Sorry to make you look into it. It wasn't a clean install. I did not try to change the whispers to the chat frame. I like to put all the loot, experience and the stuff from that column in the other chat window. I will try a clean re-install today. Sorry again.
Report comment to moderator  
Reply With Quote
Unread 10-10-18, 04:30 AM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5447
File comments: 357
Uploads: 24
After a look at the code I couldn't see anything wrong ..

Had an extensive test run changing settings and logging all the way out of the game and then back and every channel I added was included.

The one thing I need to add is that to get Whispers to appear in the chat tab you need to change the whisper setting on the blizzard social options to inline or both otherwise they only appear as a new temporary chat window.
__________________

[SIGPIC][/SIGPIC]
Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Unread 10-09-18, 09:07 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5447
File comments: 357
Uploads: 24
Guild Chat and Whispers were intended to not be changed. If there are missing windows on them that should be there ( Guild related frames on Guild Chat and whisper related ones on whisper ). However, it might be connected to the chat frame changes they made in the last year or two. Although I did test it myself and didn't find it not working, but I didn't see anything that needed to be added.

Chat, I thought I had it set to keep the additional channels that are added .. but maybe that wasn't the intent or it has broken .. it's been a long time so I will have to have a look at it again.
__________________

[SIGPIC][/SIGPIC]
Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Last edited by Xrystal : 10-09-18 at 09:07 PM.
Report comment to moderator  
Reply With Quote
Unread 10-09-18, 08:38 AM  
Nonspecific
A Murloc Raider

Forum posts: 7
File comments: 42
Uploads: 0
settings reverting back

Any changes i make to what channels are shown, revert back to the default settings. This applies to this addon and the guild chat window addon.
Report comment to moderator  
Reply With Quote
Unread 07-15-18, 04:05 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5447
File comments: 357
Uploads: 24
8.0.1 Errors found during testing..

The following will be fixed asap

Lua Code:
  1. Message: ...ce\AddOns\nUI_InfoPanel_Chat\CommonChatFunctions.lua:210: attempt to index field 'BottomButton' (a nil value)
  2. Time: Sun Jul 15 23:01:28 2018
  3. Count: 1
  4. Stack: ...ce\AddOns\nUI_InfoPanel_Chat\CommonChatFunctions.lua:210: attempt to index field 'BottomButton' (a nil value)
  5. ...ce\AddOns\nUI_InfoPanel_Chat\CommonChatFunctions.lua:210: in function `EnablePlugin'
  6. ...ace\AddOns\nUI_InfoPanel_Chat\nUI_InfoPanel_Chat.lua:102: in function `setEnabled'
  7. ...ace\AddOns\nUI_InfoPanel_Chat\nUI_InfoPanel_Chat.lua:53: in function <...ace\AddOns\nUI_InfoPanel_Chat\nUI_InfoPanel_Chat.lua:44>
  8. Interface\AddOns\nUI\Main\ExceptionHandler.lua:53: in function <Interface\AddOns\nUI\Main\ExceptionHandler.lua:53>
  9. [C]: in function `xpcall'
  10. Interface\AddOns\nUI\Main\ExceptionHandler.lua:53: in function `SafeCall'
  11. Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:743: in function `applyScale'
  12. Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:862: in function `applyOptions'
  13. Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:891: in function `applySkin'
  14. Interface\AddOns\nUI\Main\nUI.lua:246: in function <Interface\AddOns\nUI\Main\nUI.lua:80>
  15.  
  16. Locals: <none>

Lua Code:
  1. Message: ...ace\AddOns\nUI_InfoPanel_Chat\nUI_InfoPanel_Chat.lua:78: attempt to index field 'BottomButton' (a nil value)
  2. Time: Sun Jul 15 23:01:28 2018
  3. Count: 1
  4. Stack: ...ace\AddOns\nUI_InfoPanel_Chat\nUI_InfoPanel_Chat.lua:78: attempt to index field 'BottomButton' (a nil value)
  5. ...ace\AddOns\nUI_InfoPanel_Chat\nUI_InfoPanel_Chat.lua:78: in function <...ace\AddOns\nUI_InfoPanel_Chat\nUI_InfoPanel_Chat.lua:59>
  6. Interface\AddOns\nUI\Main\ExceptionHandler.lua:53: in function <Interface\AddOns\nUI\Main\ExceptionHandler.lua:53>
  7. [C]: in function `xpcall'
  8. Interface\AddOns\nUI\Main\ExceptionHandler.lua:53: in function `SafeCall'
  9. Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:755: in function `applyScale'
  10. Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:862: in function `applyOptions'
  11. Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:891: in function `applySkin'
  12. Interface\AddOns\nUI\Main\nUI.lua:246: in function <Interface\AddOns\nUI\Main\nUI.lua:80>
  13.  
  14. Locals: <none>
__________________

[SIGPIC][/SIGPIC]
Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Unread 07-08-18, 12:48 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5447
File comments: 357
Uploads: 24
The reason why it stopped working is because Blizzard added changes since I last patched it when Legion was coming out. I stopped playing wow for several months so were not aware of any problems and then I decided to step clear of the addon as Scott had found replacement developers to work on it in his absence ... or so he hoped.

The version on here doesn't error out on log in, fighting test dummies or mobs. I have tested that much out. Raids, Dungeons and Battlegrounds are not my thing in wow so I am hoping at least some of the user base visits them enough to grab and report any problems or errors.

However, it is still as resource hungry as ever but hopefully over time I'll be able to figure out why that is and how to fix that little oversight.
__________________

[SIGPIC][/SIGPIC]
Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Unread 07-08-18, 12:40 PM  
bwhansen
A Fallenroot Satyr
 
bwhansen's Avatar
Premium Member

Forum posts: 28
File comments: 27
Uploads: 0
your Nui still works?

I miss using Nui but it was kicking out so many errors I had to stop using it.

Insight to using it again would be great.
Report comment to moderator  
Reply With Quote
Unread 07-08-18, 12:47 AM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5447
File comments: 357
Uploads: 24
7.3.5 Error

Placed here for my use later on and to make users aware that I am aware of the error.

Code:
Message: ...ce\AddOns\nUI_InfoPanel_Chat\CommonChatFunctions.lua:200: attempt to call global 'ChatFrame_ReceiveAllBNConversations' (a nil value)
Time: 07/08/18 07:43:21
Count: 1
Stack: ...ce\AddOns\nUI_InfoPanel_Chat\CommonChatFunctions.lua:200: attempt to call global 'ChatFrame_ReceiveAllBNConversations' (a nil value)
Interface\AddOns\nUI\Main\ExceptionHandler.lua:53: in function `ChatFrame_ReceiveAllBNConversations'
...ce\AddOns\nUI_InfoPanel_Chat\CommonChatFunctions.lua:200: in function `EnablePlugin'
...ace\AddOns\nUI_InfoPanel_Chat\nUI_InfoPanel_Chat.lua:102: in function `setEnabled'
...ace\AddOns\nUI_InfoPanel_Chat\nUI_InfoPanel_Chat.lua:53: in function <...ace\AddOns\nUI_InfoPanel_Chat\nUI_InfoPanel_Chat.lua:44>
Interface\AddOns\nUI\Main\ExceptionHandler.lua:53: in function <Interface\AddOns\nUI\Main\ExceptionHandler.lua:53>
[C]: in function `xpcall'
Interface\AddOns\nUI\Main\ExceptionHandler.lua:53: in function `SafeCall'
Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:743: in function `applyScale'
Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:862: in function `applyOptions'
Interface\AddOns\nUI\Integration\nUI_InfoPanel.lua:891: in function `applySkin'
Interface\AddOns\nUI\Main\nUI.lua:246: in function <Interface\AddOns\nUI\Main\nUI.lua:80>

Locals: <none>
__________________

[SIGPIC][/SIGPIC]
Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: