Download
(1 Kb)
Download
Updated: 03-05-11 05:49 PM
Pictures
File Info
Updated:03-05-11 05:49 PM
Created:07-25-10 02:14 PM
Downloads:1,724
Favorites:12
MD5:
ReloadChat
Version: 0.0.3
by: Furyrage-Kargath [More]
ReloadChat does just what the name says. It reloads your chat log to what it showed before whenever you ReloadUI(), re-log, or log on to another character. The number of saved messages is based on the limit of your chat log (default 128).

Special thanks to all of the comments people left to make this version better, especially Vladinator for telling me that saved variables do get saved when reloading your user interface or being disconnected.

This version supports:
  • Say
  • Emote
  • Yell
  • Guild
  • Officer
  • Achievements
  • Whispers
  • Battle.net Whispers
  • Party
  • Raid
  • Battleground

What to expect in the future:
  • More efficient code (always expected)
  • Battle.net conversations
  • Options for which types of chat you wish to save
  • Support for all other chat mods (This may already be true, but I havn't tested it since I use the default Blizzard chat log)
  • Any other requests made in the comments tab

    I encourage everybody to leave suggestions/errors in the comments tab.
0.0.3 Updated TOC
0.0.2 More efficient code. Possibly some bug fixes
0.0.1r2 This update has more efficient code and uses saved variables as opposed to CVars. This allows the chat to be saved not only when reloading the UI and when relogging, but also when disconnected by the server (not the WoW window crashing). There was limited testing before this release, but seeing that the code is simple, there shouldn't be any errors.
0.0.0r1 This was the first release displaying the basic concept behind saving the chat.
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
0.0.2
1kB
Furyrage-Kargath
07-29-10 10:29 AM
0.0.1r2
1kB
Furyrage-Kargath
07-26-10 04:23 PM
0.0.0r1
1kB
Furyrage-Kargath
07-25-10 02:14 PM


Post A Reply Comment Options
Unread 03-29-11, 10:13 AM  
Petrah
A Pyroguard Emberseer
 
Petrah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2865
File comments: 333
Uploads: 10
Nevermind. I've uninstalled your addon.
__________________
♪~ ( ) I My Sonos!
Petrah is offline Report comment to moderator  
Reply With Quote
Unread 03-27-11, 07:36 PM  
Petrah
A Pyroguard Emberseer
 
Petrah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2865
File comments: 333
Uploads: 10
Took me a bit to troubleshoot which of the addons I have installed is blocking yours..... your addon does not work if Stop The Spam is installed (an outdated addon, but it still works and not a single lua error!).

Is there any way you could help me with this? I'm too attached to the other addon, and I don't wanna give up yours either lol.
__________________
♪~ ( ) I My Sonos!
Petrah is offline Report comment to moderator  
Reply With Quote
Unread 07-30-10, 08:38 PM  
tordenflesk
A Deviate Faerie Dragon

Forum posts: 10
File comments: 154
Uploads: 0
Code:
Interface\AddOns\ReloadChat\ReloadChat.lua:21: attempt to index field '?' (a nil value)
Count: 1

Call Stack:
[C]: ?
Interface\AddOns\ReloadChat\ReloadChat.lua:21: in function `ReloadChat_Login'
Interface\AddOns\ReloadChat\ReloadChat.lua:3: in function <Interface\AddOns\ReloadChat\ReloadChat.lua:1>
tordenflesk is offline Report comment to moderator  
Reply With Quote
Unread 07-29-10, 10:25 AM  
Furyrage-Kargath
A Kobold Labourer
 
Furyrage-Kargath's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 7
Originally posted by Zidomo

Talking in guild chat, nothing else was being done. Was not in combat, at a vendor/mailbox, moving or anything else. Logging on...I was logging on. And yes, logging on with only ReloadChat active and no other mods (besides the bug catchers), it produces no errors.

Hope you can make this more compatible with other mods.
I'm working on making it more compatible, but as for having errors when it was the only add-on loaded, I had an issue similar to yours when I was writing the add-on but I fixed it. I'm wondering if maybe I had two of the same file open and saved over the part I had fixed. I'll go ahead and post my newest version which I have had no errors with and you can see if that helps. Oh and make sure you delete the SVs for ReloadChat when you download the new version.
Last edited by Furyrage-Kargath : 07-29-10 at 10:27 AM.
Furyrage-Kargath is offline Report comment to moderator  
Reply With Quote
Unread 07-29-10, 03:18 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1049
Uploads: 0
Originally posted by Furyrage-Kargath
I just went and downloaded those add-ons to see if I could replicate the problem and I couldn't (I deleted my SVs before I logged in). The latest version of Chatter seems to be broken giving errors even when no other add-ons are loaded but even with ReloadChat, Chatter, and BasicChatMods loaded I only got Chatter errors. Without Chatter I never got an error. Were you doing anything other than talking in guild or did you have any other add-ons loaded?
Yes, in Chatter v1.2.10 they unfortunately bugged out the options menu. The current v1.2.10-1-g2e0507e fixes the problem, though, and the earlier version I used with ReloadChat didn't have the options menu bugs either. Am using !BugGrabber/BugSack for error recording.

Using only the following modules out of Chatter:
AllResize.lua
AutoLogChat.lua
ChatScroll.lua
ChatTabs.lua
CopyChat.lua
EditBoxHistory.lua
Highlight.lua
Scrollback.lua
Telltarget.lua
Timestamps.lua
UrlCopy.lua.

From BasicChatMods, using just buttons.lua, dont_disable.lua (with none of the features commented out), scrolldown.lua & sticky.lua. Other less full-featured chat mods used:
CharacterMap
Chitchat
Hush
Identity
NeonChat
WhoWhisperedMe

Talking in guild chat, nothing else was being done. Was not in combat, at a vendor/mailbox, moving or anything else. Logging on...I was logging on. And yes, logging on with only ReloadChat active and no other mods (besides the bug catchers), it produces no errors.

Hope you can make this more compatible with other mods.
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 07-28-10, 05:20 PM  
Furyrage-Kargath
A Kobold Labourer
 
Furyrage-Kargath's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 7
Originally posted by Zidomo
Great idea, a more featured expansion of Mitsugo by haste. Unfortunately though, ReloadChat v0.0.1r2 is too buggy to use.

Started with that version (no SVs), USEnglish client/server, WoW 3.3.5 live. Major other chat mods used simultaneously: Chatter & BasicChatMods (several modules in both of them disabled). Had Mitsugo disabled during testing.
I just went and downloaded those add-ons to see if I could replicate the problem and I couldn't (I deleted my SVs before I logged in). The latest version of Chatter seems to be broken giving errors even when no other add-ons are loaded but even with ReloadChat, Chatter, and BasicChatMods loaded I only got Chatter errors. Without Chatter I never got an error. Were you doing anything other than talking in guild or did you have any other add-ons loaded?
Furyrage-Kargath is offline Report comment to moderator  
Reply With Quote
Unread 07-28-10, 02:51 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1049
Uploads: 0
Great idea, a more featured expansion of Mitsugo by haste. Unfortunately though, ReloadChat v0.0.1r2 is too buggy to use.

Started with that version (no SVs), USEnglish client/server, WoW 3.3.5 live. Major other chat mods used simultaneously: Chatter & BasicChatMods (several modules in both of them disabled). Had Mitsugo disabled during testing.

Error at logon, which occurs on every character logged on with this (and the other mods) active:

Code:
["message"] = "ReloadChat-0.0.1 r2\\ReloadChat.lua:20: attempt to index field '?' (a nil value)\nReloadChat-0.0.1 r2\\ReloadChat.lua:3: in function <Interface\\AddOns\\ReloadChat\\ReloadChat.lua:1>\n\nLocals:|r\nself = <unnamed> {\n 0 = <userdata>\n}\nevent = \"PLAYER_LOGIN\"\n\n  ---",
            ["type"] = "error",
            ["session"] = 443,
            ["counter"] = 1,
        }, -- [58]
Error when chatting in guild chat, which repeats on every single string you put into guild chat:

Code:
["message"] = "ReloadChat-0.0.1 r2\\ReloadChat.lua:41: attempt to index field '?' (a nil value)\nReloadChat-0.0.1 r2\\ReloadChat.lua:5: in function <Interface\\AddOns\\ReloadChat\\ReloadChat.lua:1>\n\nLocals:|r\nself = <unnamed> {\n 0 = <userdata>\n}\nevent = \"CHAT_MSG_GUILD\"\n\n  ---",
            ["type"] = "error",
            ["session"] = 443,
            ["counter"] = 4,
        }, -- [59]
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 07-26-10, 11:34 AM  
Furyrage-Kargath
A Kobold Labourer
 
Furyrage-Kargath's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 7
I'll see if saved variables for it works, but the reason I used CVars was because I thought I remembered not having saved variables get saved when reloading the UI. I'll look into it.

Edit: Okay I just tested saved variables on reloadUI and it worked so I'm going to use that. Thanks for the tip, I really thought I had tried that before in another addon.
Last edited by Furyrage-Kargath : 07-26-10 at 12:13 PM.
Furyrage-Kargath is offline Report comment to moderator  
Reply With Quote
Unread 07-26-10, 07:27 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 759
File comments: 382
Uploads: 39
Great idea, though there are some improvements you could do for future releases (and training)

1. Storing the messages using CVar is a bit non-professional, I would recommend adding "## SavedVariables: ReloadChat" then using "ReloadChat" in your addon to store the messages (a table would do the trick).
2. When the client receives a message it calls the function "ChatFrame_MessageEventHandler" in "ChatFrame.lua" from the FrameXML (Blizzards code). What you could do here is simply hook that function and log the arguments in your table. When a new chat message is received you can using this log it into the array of "last received/sent messages".
3. Listen for "PLAYER_LOGIN" then show the stored messages (it's triggered when user reloads UI and logs in).

It's a great idea, the addon does work but some things can be improved -hey even my suggestions are probably not the most ideal either, you can never stop improving an addon!
Vlad is offline Report comment to moderator  
Reply With Quote
Unread 07-26-10, 04:39 AM  
Mickelus
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 118
Uploads: 12
Sweet, just what I have been planning to write and now I don't have to! Thank you!
Mickelus is offline Report comment to moderator  
Reply With Quote
Unread 07-26-10, 03:33 AM  
Cala
A Fallenroot Satyr
 
Cala's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 22
File comments: 49
Uploads: 1
Odd bug: This mod will reload the chat if you die and zone out of an instance.
__________________
Insert Witty Message Here.


Cala is offline Report comment to moderator  
Reply With Quote
Unread 07-26-10, 12:03 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1190
File comments: 784
Uploads: 82
Just to say that not only is it not impossible to save variables when disconnected,
it is actually the default.

You cannot save variables when you experience a wow client crash
(or a computer crash which amounts to the same as far as the game is concerned)
but a disconnect does save variables and the addon should work in this case as is.

Edit:
Never mind, just saw that the addon doesn't use SavedVariables to store settings,
it uses custom Console Variables.
Last edited by Dridzt : 07-26-10 at 12:03 AM.
Dridzt is offline Report comment to moderator  
Reply With Quote
Unread 07-25-10, 09:54 PM  
Furyrage-Kargath
A Kobold Labourer
 
Furyrage-Kargath's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 7
Version 1.0.0

Okay I should have the real thing out tomorrow. This includes support for all guild, achievements, emotes, party, raid, bnet, whispers, and battleground messages. There are also preferences so that you can enable/disable different types of messages from being saved. The message limit has been increased to the limit of your chat frame (default 128 messages). Anyway, since it's not ready tonight I figured I would post about it.

Edit: And there will be real pictures
Last edited by Furyrage-Kargath : 07-25-10 at 09:56 PM.
Furyrage-Kargath is offline Report comment to moderator  
Reply With Quote
Unread 07-25-10, 07:03 PM  
Furyrage-Kargath
A Kobold Labourer
 
Furyrage-Kargath's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 7
Originally posted by xtoq
I doubt it's possible due to the nature of d/cs, but does this work if you get d/c'd?
Unfortunately no. It is impossible to save variables when you are disconnected.
Furyrage-Kargath is offline Report comment to moderator  
Reply With Quote
Unread 07-25-10, 06:34 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 641
Uploads: 3
I doubt it's possible due to the nature of d/cs, but does this work if you get d/c'd?
__________________
There is absolutely no evidence to support the theory that life is serious.
xtoq is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: