Download
(29Kb)
Download
Updated: 08-17-18 01:21 PM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Shadows of Argus (7.3.0)
Tomb of Sargeras (7.2.0)
Return to Karazhan (7.1.5)
Legion (7.0.3)
Updated:08-17-18 01:21 PM
Created:11-08-10 02:03 AM
Downloads:12,757
Favorites:19
MD5:

Een's Chat Window Backup  Popular! (More than 5000 hits)

Version: 1.5.4
by: antisocialian [More]

This addon saves a backup of you chat window info so you can load it on another character.

This addon will need to be loaded all the time or else the chat window settings don't save to the chat-cache.txt file and then your chat windows won't be in the right place; even though they will be showing the right information(at least that's what my testing showed).

Usage:

/een info - Show this info and the current settings
/een save - Save the current character's chat windows
/een load - Load the backup
/een autoload - toggles the auto-magic loading of the chat window locations(default is on)
/een msg - toggles the popup telling you to reloadui(default hides the message)
/een reset - should reset the chat tabs to be docked, have a parent of UIParent, be interactible and be locked
/een ver - toggles verbose mode(showing messages at all)(default shows messages)

Use, change or otherwise put this code to use however you feel. I don't think there will be much to fix, but please feel free to let me know of any bugs. If you do use it, please let me know which addon has the code in it so that I may test any conflicts between my addon and yours running the same code.

I'm on Twitter, Facebook, and Player.me. If I don't get back to your comments here, try and leave me a message there too.

Some of this code was taken from wowwiki, wowace, and from Xinhuan (/ty).

1.5.4

- updated .toc file for 8.0

- *NOTE* disabled loading of the chat colours as it was causing issues with ElvUI(which I use) when the Guild Panel was modified(notes, ranks, etc.) this may be re-enabled manually by removing the comments on Lines 108 - 111, but I will not support issues with that modification for the time being.



1.5.3

- updated .toc file for 7.2

1.5.2

- updated .toc file for 7.1

1.5.1
- fixed issue where other addons disable the 'Show Class Colors' setting in the chat window settings. this was causing a nil error due to...reasons?

1.5
- Added saving of the 'Show Class Colors' setting for each chat channel
- fixed a bug with the saving of the previous colour settings, colours of new characters should no longer overwrite the colours you have set unless you use the '/een save'. As a part of this change, changes to colours that aren't saved when the '/een load' command is run will be lost!

1.4.7
- Bug found by 'Canettieri' (thanx :D ) where the autoload was always autoloading, this has been fixed but points to why you may want the autoload on all the time(see 'Known Caveats' section for info)
- Updated the info and addon description

1.4.6
- TOC version update
- *NOTE* There may be other changes that I haven't noted, this update is from my running copy of the addon that I test with and I haven't played with the code in a long time. I'm pretty sure it's all the same, but it works and I've forgotten it was even there :P

1.4.5
- CLEANED up the code, added some comments (in case someone wanted to go thru and use part or all of the addon, just let me know what you're using and I'll test my addon with yours & it's new code addition(s))
- CHANGED the reset function to move the tabs to the middle of the screen. They will keep their size(if they were really big, they might be off screen(?) but they'd have to have been REALLY big :P )
- ADDED a message pop-up to reload the ui automagically after the reset. This is suggested as some changes seem to only show after this(re-docking windows only shows after the UI has reloaded)
- CHANGED when the addon loads. I no longer enters on PLAYER_ENTERED_WORLD but instead now runs on LOADING_SCREEN_DISABLED. Basically it should fire every time the loading screen closes, making it update a bit more often but nothing too crazy. This also means it should load AFTER most other addons, giving it priority over the chat frames(sort of, some addons are going to require they not mess with the chat tabs and I'm not sure the authors of those would appreciate adding in little bits like that in case my addon doesn't work)(Supervillian UI(my first choice of UI and unfortunately the first incompatibility I've found) has an issue where it moves the tabs whenever you click on one of its fake tabs, i'm thinking it would require a significant code change for them and haven't requested it be changed just for me) (this doesn't mean don't use Supervillian UI, quite the opposite in fact, I'd suggest you try it out, just enable Een's to get you colour/channels/etc. then disable Een's again)
- ADDED a warning that should print in chat(just the general chat that I've noticed so far). This warning will print that you haven't saved any data and to run the '/een save' command. This warning prints every time you finish a loading screen, just in case you forgot... :)
- ADDED a warning that should print in chat(just the general chat that I've noticed so far). This warning will print that you haven't saved any colour data and to change a colour and then run '/een save'.This warning prints every time you finish a loading screen, just in case you forgot... :) (also rainbows) (seems this rarely will show :/ apparently the UPDATE_CHAT_COLOR event fires often and even if you didn't do anything?)

- KNOWN ISSUE - some warnings aren't showing properly until the chat windows are 'refreshed' changing the active chat tab and going back seems to do this, but I'm having issues figuring out the best (non-intrusive) way to do this code-wise

1.4
- ADDED compatibility for the chatframes to be nested inside other frames(Thanx to ElvUI guys, Darth Predator and Blazeflack)(Thanx coleberhorst for pointing out this wasn't possible before)
- REMOVED the saving of the chatframes info per character, this was for an unimplemented feature and was just wasting space
- FIXED the PLAYER_ENTERED_WORLD event filter so that it actually works :P
- ADDED a reset feature!! entering '/een reset' will now reset the chatframes that have channels or messages assigned so that they dock with the General tab and have its parent frame. This will help if your chatframes disappear as they are most likely just off screen and not invisible. This will NOT remove chatframes, it won't go back to a default (i.e. new character) settings. All other settings(i.e. channels, assigned messages, colours, etc. will be kept)
- ADDED a verbose toggle('/een ver') to show or hide messages from the addon(this is separate from /een msg which toggles messages in pop-up vs printed in chatlog)
- ADDED an info option that will print the instructions and print out the settings(autoload, pop-ups, and verbose)

1.3.1a
- "DOH!", always fully test first

1.3.1
- Now grabs channels(General, Trade, etc.) *NOTE* I haven't written anything for channels that have passwords or whatever so please let me know how that works (Thanx Hubot)

1.3
- Now with COLOUR! (Thanx to Constie-Norgannon for the idea)

1.2.1
- updated the way the mod handles combat log(it can't be moved/resized ? ), while still allowing for other docked frames

1.2
- changed the way the mods handles docked chatframes

1.1.2
- Updated TOC to 6.0.2

1.1.1
- Updated TOC to 5.4

1.1
- added 'autoload' and 'msg' toggles to the /een command
- addon now stores a copy of the settings for each character as well as the account-wide set, this allows the addon to always load the per-character set if its there as the chat-cache.txt file doesn't seem to be saving the positions of the chat windows(even tho the other settings are saving there)

1.0
- First version, use /een save to save current chat windows and /een load to load the back to the current character

The addon has to be loaded in order for the chat windows that have been moved to stay where you want them. Blizzard only saves the location of the chat windows when a player moves them, not when the addon moves them. This means that if you have windows in different locations on the screen than the default bottom left, then you will need to type '/een load' everytime you log into a character(with the autoload off). Blizzard seems to keep the font, colour, and which windows are created when the addon changes these settings. I have not saved the default settings anywhere so once you load the settings you can't go back to defaults.
Optional Files (0)


Post A Reply Comment Options
Unread 02-13-17, 11:09 AM  
antisocialian
A Deviate Faerie Dragon
 
antisocialian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 14
Uploads: 1
Re: Donations?

Originally Posted by the9thresident
no donate button?
this addon saves me a crap ton of work really

kitty
glad to hear you like it, no donate button tho. feel free to tell others to try it
__________________
I'm on Twitter, Facebook, and Player.me. If I don't get back to your comments here, try and leave me a message there too.
Report comment to moderator  
Reply With Quote
Unread 02-13-17, 03:03 AM  
the9thresident
A Kobold Labourer
 
the9thresident's Avatar

Forum posts: 1
File comments: 60
Uploads: 0
Donations?

no donate button?
this addon saves me a crap ton of work really

kitty
Report comment to moderator  
Reply With Quote
Unread 09-02-16, 07:43 AM  
Tntdruid
Premium Member
 
Tntdruid's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 138
Uploads: 3
Originally Posted by antisocialian
Originally Posted by Tntdruid
Any way to turn off *** Chat settings loaded. Please type '/reload' to reflect the change.?

Keep getting spammed whit that, done the /reload
the '/een ver' command should disable the messages from showing at all.
Thanks
Report comment to moderator  
Reply With Quote
Unread 09-02-16, 07:24 AM  
antisocialian
A Deviate Faerie Dragon
 
antisocialian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 14
Uploads: 1
Originally Posted by Tntdruid
Any way to turn off *** Chat settings loaded. Please type '/reload' to reflect the change.?

Keep getting spammed whit that, done the /reload
the '/een ver' command should disable the messages from showing at all.
__________________
I'm on Twitter, Facebook, and Player.me. If I don't get back to your comments here, try and leave me a message there too.
Report comment to moderator  
Reply With Quote
Unread 09-02-16, 06:44 AM  
Tntdruid
Premium Member
 
Tntdruid's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 138
Uploads: 3
Any way to turn off *** Chat settings loaded. Please type '/reload' to reflect the change.?

Keep getting spammed whit that, done the /reload
Report comment to moderator  
Reply With Quote
Unread 08-26-15, 05:11 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 648
File comments: 204
Uploads: 4
Originally Posted by antisocialian
Originally Posted by Wimpface
Still seem to be having issues on the latest version. 1.3.1a is the last one that doesn't mess with scaling for me.
Originally Posted by antisocialian
glad to hear its working for you, @Dancingblade I hope its working for you too @Wimpface.

sry about the lack of replies, My subscription to the comments here seemed to stop somehow.
Have you tried deleting the Een.lua and Een.lua.bak from the WTF folders?
Code:
(WTF/Account/<Account#/Name>/SavedVariables)
Some people have mentioned that this helps too. Also give it a try without other chat mods to see if that helps any or makes it worse(basicchatmods gives you the chance to change the font, some fonts are naturally smaller than others and that will change the way the chat frame looks size-wise as well).

I had some lua errors with basicchatmods after I tried changing the justification for one of the undocked chat frames, it deleted that frame(using my '/een reset' brought it back). I'm not saying that this mod is bad, but that it may not be compatible with the newest version of my mod. It isn't the only mod of its type out there tho(i've used both Prat and Chatter before and they seemed ok).

In the end, if you aren't having any problems with v. 1.3.1a of my mod, it's ok to still use it. just that any issues with that version may be fixed with newer versions.
I haven't deleted my savedvariables, I'll give that a go later.

In terms of changing the font, it's a standard size font and the font wouldn't resize the entire chat frame, while keeping the editbox normal size despite that using the same font.
I'm also fairly sure that if it were the font, it would be an issue across all versions of Een, not just the latter ones.

I'm fine with using 1.3.1a, I have no issues and am very happy. I was simply highlighting a bug, in the best way I could without having a lua error to point to.
__________________
All I see is strobe lights blinding me in my hindsight.
Report comment to moderator  
Reply With Quote
Unread 08-25-15, 10:34 PM  
antisocialian
A Deviate Faerie Dragon
 
antisocialian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 14
Uploads: 1
Originally Posted by Wimpface
Still seem to be having issues on the latest version. 1.3.1a is the last one that doesn't mess with scaling for me.
Originally Posted by antisocialian
glad to hear its working for you, @Dancingblade I hope its working for you too @Wimpface.

sry about the lack of replies, My subscription to the comments here seemed to stop somehow.
Have you tried deleting the Een.lua and Een.lua.bak from the WTF folders?
Code:
(WTF/Account/<Account#/Name>/SavedVariables)
Some people have mentioned that this helps too. Also give it a try without other chat mods to see if that helps any or makes it worse(basicchatmods gives you the chance to change the font, some fonts are naturally smaller than others and that will change the way the chat frame looks size-wise as well).

I had some lua errors with basicchatmods after I tried changing the justification for one of the undocked chat frames, it deleted that frame(using my '/een reset' brought it back). I'm not saying that this mod is bad, but that it may not be compatible with the newest version of my mod. It isn't the only mod of its type out there tho(i've used both Prat and Chatter before and they seemed ok).

In the end, if you aren't having any problems with v. 1.3.1a of my mod, it's ok to still use it. just that any issues with that version may be fixed with newer versions.
__________________
I'm on Twitter, Facebook, and Player.me. If I don't get back to your comments here, try and leave me a message there too.
Report comment to moderator  
Reply With Quote
Unread 08-25-15, 09:27 PM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 648
File comments: 204
Uploads: 4
Still seem to be having issues on the latest version. 1.3.1a is the last one that doesn't mess with scaling for me.
Originally Posted by antisocialian
glad to hear its working for you, @Dancingblade I hope its working for you too @Wimpface.

sry about the lack of replies, My subscription to the comments here seemed to stop somehow.
__________________
All I see is strobe lights blinding me in my hindsight.
Report comment to moderator  
Reply With Quote
Unread 08-24-15, 11:05 PM  
antisocialian
A Deviate Faerie Dragon
 
antisocialian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 14
Uploads: 1
glad to hear its working for you, @Dancingblade I hope its working for you too @Wimpface.

sry about the lack of replies, My subscription to the comments here seemed to stop somehow.
__________________
I'm on Twitter, Facebook, and Player.me. If I don't get back to your comments here, try and leave me a message there too.
Last edited by antisocialian : 08-24-15 at 11:08 PM.
Report comment to moderator  
Reply With Quote
Unread 08-24-15, 08:19 PM  
Dancingblade
A Murloc Raider
 
Dancingblade's Avatar

Forum posts: 9
File comments: 50
Uploads: 0
Fixed with update

Latest update (1.4.5) fixed the scaling issue. The addon seems to be working perfectly now. Thanks!
Last edited by Dancingblade : 08-24-15 at 08:20 PM.
Report comment to moderator  
Reply With Quote
Unread 08-23-15, 11:45 AM  
Dancingblade
A Murloc Raider
 
Dancingblade's Avatar

Forum posts: 9
File comments: 50
Uploads: 0
Originally Posted by Wimpface
Latest update is messing with chat frame sizes in some major ways. Almost as if it's setting scale to 1.5 or so.

I'm using BasicChatMods, problem goes away when going back to 1.3.1a. No lua errors either.

Same thing happened with me.

I'm using PhanxChat, if that matters.
Last edited by Dancingblade : 08-23-15 at 04:52 PM.
Report comment to moderator  
Reply With Quote
Unread 08-23-15, 05:35 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 648
File comments: 204
Uploads: 4
Latest update is messing with chat frame sizes in some major ways. Almost as if it's setting scale to 1.5 or so.

I'm using BasicChatMods, problem goes away when going back to 1.3.1a. No lua errors either.
__________________
All I see is strobe lights blinding me in my hindsight.
Report comment to moderator  
Reply With Quote
Unread 11-05-14, 03:25 PM  
Tntdruid
Premium Member
 
Tntdruid's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 138
Uploads: 3
Works 100% now
Report comment to moderator  
Reply With Quote
Unread 10-29-14, 12:15 AM  
Tntdruid
Premium Member
 
Tntdruid's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 138
Uploads: 3
Originally Posted by antisocialian
Originally Posted by Tntdruid
When i enter the game whit 1.2 i get this.

Date: 2014-10-27 19:13:25
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Een\Een.lua line 47:
Frame ChatFrame3 is not movable or resizable
Debug:
[C]: SetUserPlaced()
Een\Een.lua:47: Een_Assimilate_Chat()
Een\Een.lua:66:
Een\Een.lua:53
Locals:
(*temporary) = ChatFrame3 {
0 = <userdata>
isUninteractable = false
flashTimer = 0
isInitialized = 1
originalShow = <function> defined =[C]:-1
tellTimer = 5532.95
resizeButton = ChatFrame3ResizeButton {
}
buttonFrame = ChatFrame3ButtonFrame {
}
Hide = <function> defined @Interface\FrameXML\FrameLocks.lua:121
oldAlpha = 0.24705883860588
channelList = <table> {
}
clickAnywhereButton = ChatFrame3ClickAnywhereButton {
}
isDocked = 1
editBox = ChatFrame3EditBox {
}
Show = <function> defined @Interface\FrameXML\FrameLocks.lua:125
isLocked = true
name = "NPC Chat"
originalHide = <function> defined =[C]:-1
buttonSide = "right"
zoneChannelList = <table> {
}
defaultLanguage = "Common"
messageTypeList = <table> {
}
}
(*temporary) = true
Sorry about that, forgot the combat log doesn't like being pushed around. New update is uploaded and pending.
Nice
Report comment to moderator  
Reply With Quote
Unread 10-28-14, 06:59 PM  
antisocialian
A Deviate Faerie Dragon
 
antisocialian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 14
Uploads: 1
Originally Posted by Tntdruid
When i enter the game whit 1.2 i get this.

Date: 2014-10-27 19:13:25
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Een\Een.lua line 47:
Frame ChatFrame3 is not movable or resizable
Debug:
[C]: SetUserPlaced()
Een\Een.lua:47: Een_Assimilate_Chat()
Een\Een.lua:66:
Een\Een.lua:53
Locals:
(*temporary) = ChatFrame3 {
0 = <userdata>
isUninteractable = false
flashTimer = 0
isInitialized = 1
originalShow = <function> defined =[C]:-1
tellTimer = 5532.95
resizeButton = ChatFrame3ResizeButton {
}
buttonFrame = ChatFrame3ButtonFrame {
}
Hide = <function> defined @Interface\FrameXML\FrameLocks.lua:121
oldAlpha = 0.24705883860588
channelList = <table> {
}
clickAnywhereButton = ChatFrame3ClickAnywhereButton {
}
isDocked = 1
editBox = ChatFrame3EditBox {
}
Show = <function> defined @Interface\FrameXML\FrameLocks.lua:125
isLocked = true
name = "NPC Chat"
originalHide = <function> defined =[C]:-1
buttonSide = "right"
zoneChannelList = <table> {
}
defaultLanguage = "Common"
messageTypeList = <table> {
}
}
(*temporary) = true
Sorry about that, forgot the combat log doesn't like being pushed around. New update is uploaded and pending.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: