Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(29 Kb)
Download
Updated: 08-24-15 04:07 PM
Pictures
File Info
Compatibility:
Fury of Hellfire (6.2)
The Adventure Continues (6.1)
Warlords of Draenor (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:08-24-15 04:07 PM
Created:11-08-10 02:03 AM
Downloads:1,389
Favorites:13
MD5:
6.2

Een's Chat Window Backup  Updated this week!

Version: 1.4.5
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 settings for new characters(default is on)
/een msg - togles the popup telling you to reloadui(default shows 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)

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.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 mod handles docked chatframes

1.1.2
- Updated TOC to 6.0.2

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
Optional Files (0)


Archived Files (9)
File Name
Version
Size
Author
Date
1.4
27kB
antisocialian
08-22-15 01:55 PM
1.3.1a
27kB
antisocialian
11-23-14 08:23 PM
1.3.1
27kB
antisocialian
11-23-14 08:11 PM
1.3
27kB
antisocialian
10-31-14 09:43 PM
1.2.1
26kB
antisocialian
10-28-14 06:57 PM
1.2
26kB
antisocialian
10-27-14 11:39 AM
1.1.2
26kB
antisocialian
10-25-14 06:05 PM
1.1
26kB
antisocialian
11-08-10 09:56 AM
1.0
1kB
antisocialian
11-08-10 02:03 AM


Post A Reply Comment Options
Unread 08-26-15, 05:11 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 644
File comments: 271
Uploads: 23
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.
Wimpface is offline 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: 10
File comments: 12
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.
antisocialian is offline 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: 644
File comments: 271
Uploads: 23
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.
Wimpface is offline 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: 10
File comments: 12
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.
antisocialian is offline 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: 41
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.
Dancingblade is online now 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: 41
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.
Dancingblade is online now 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: 644
File comments: 271
Uploads: 23
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.
Wimpface is offline 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: 53
File comments: 123
Uploads: 3
Works 100% now
Tntdruid is offline 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: 53
File comments: 123
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
Tntdruid is offline 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: 10
File comments: 12
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.
antisocialian is offline Report comment to moderator  
Reply With Quote
Unread 10-27-14, 12:13 PM  
Tntdruid
Premium Member
 
Tntdruid's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 53
File comments: 123
Uploads: 3
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
Tntdruid is offline Report comment to moderator  
Reply With Quote
Unread 10-27-14, 11:47 AM  
antisocialian
A Deviate Faerie Dragon
 
antisocialian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 12
Uploads: 1
Originally Posted by Tntdruid
Hello,


i'm not using any special characters in any of my char names.


http://pastebin.com/CANqd2df



I've modified the way that the mod handles chatframes that are docked. This should allow your docked frames to be loaded. they were saving fine just the mod wasn't loading them. There's a pending upload that should process in a few hours/minutes(dunno for sure). Sry it took so long, haven't looked at the code in 4yrs.

if that doesn't work, try removing the windows that already exist on your alt and then doing the /een load. Lemme know how that goes
antisocialian is offline Report comment to moderator  
Reply With Quote
Unread 10-27-14, 01:30 AM  
Tntdruid
Premium Member
 
Tntdruid's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 53
File comments: 123
Uploads: 3
Hello,


i'm not using any special characters in any of my char names.


http://pastebin.com/CANqd2df



Tntdruid is offline Report comment to moderator  
Reply With Quote
Unread 10-26-14, 04:26 PM  
antisocialian
A Deviate Faerie Dragon
 
antisocialian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 12
Uploads: 1
Originally Posted by Tntdruid
Did /een save on main then i logged in an alt did /een load nothing happens.
can you check in the WTF folder of your wow install(eg. c:\users\public\games\world of warcraft\WTF\<acount name>\saved variables) for the een.lua and see if it has anything in it? could you post it preferably to pastebin.com and then link it here, so i can see what might be the problem with it?

Does your main have non-english characters in it? like my hunter's name is "Hu˝tar­". I seem to remember DBM saying that characters with non-english characters in the name aren't saving addon settings properly.
antisocialian is offline Report comment to moderator  
Reply With Quote
Unread 10-26-14, 05:12 AM  
Tntdruid
Premium Member
 
Tntdruid's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 53
File comments: 123
Uploads: 3
Did /een save on main then i logged in an alt did /een load nothing happens.
Tntdruid is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: