ZAM's Minion, currently in open beta, is a new AddOn manager optimized for use with ESO. Install, update & manage AddOns... Learn more!
Download
(14 Kb)
Download
Updated: 05/26/14 04:32 PM
Pictures
File Info
Compatibility:
Craglorn (1.1)
Updated:05/26/14 04:32 PM
Created:04/10/14 03:18 AM
Downloads:14,776
Favorites:121
MD5:
X4D Chat  Popular! (More than 5000 hits)
Version: 1.23
by: wilson0x4d [More]
X4D Chat


Features
  • Optional Modifies Guild Chat so that Character Names are displayed instead of Account Names.
  • Optional Chat Timestamps
  • Optional Color Stripping
  • Optional Excess Text Stripping
  • Resize Chat Window Larger than Standard Default
  • Support for X4D LibAntiSpam
  • Support for X4D Loot
  • Support for X4D XP


Installation

**If you are upgrading from v1.2 or earlier you must first delete any prior version of the Add-On.**


Open the Archive and copy the "X4D_Chat" folder into "%USERPROFILE%\Documents\Elder Scrolls Online\live\Addons\" folder.

If ESO is already running, execute /reloadui command.


Versions
v1.23
- ESO version update, no functional change

v1.22
- Fix bad reference to LibAddonMenu.

v1.21
- Fix bug in "Remove Seconds Component" option.

v1.20
- Fix 12 hour timestamps showing as negative values.
- Add option to remove the "seconds" component from timestamps.

v1.19
- Add Support for X4D Bank

v1.18
- Add Option to choose between 24-Hour and 12-Hour Timestamp Formats.

v1.17
- Option to disable Friend Online/Offline messages.

v1.16
- Friend Online/Offline Messages now display Character Name.
- Add Timestamps to LibAntiSpam output.
- Add Timestamps and Character Name is Friend Online/Offline Messages.
- Add Timestamps to System Shutdown, Ignores, and Group Changes output.

v1.15
- Fixed bug where Player/Character Name options were mutually exclusive and displaying an incorrect state.

v1.14
- Add support for X4D XP

v1.13
- Fixed Highlight Colors for all Chat Output.

v1.12
- Fixed a LibStub error for users that do not also use LibAntiSpam.
- Added Option to Display Player Name in Guild Chat (in addition to Character Name, thus "character@player")
- 'Automatic Guild Abbreviations' should now pick up on lower case characters and respect punctuation.
- Users can now optionally specify an explicit Guild Abbreviation for each of their Guilds.
- Added Option to Disable Chat Window Fading

v1.11
- Chat Window can now be resized larger than the default limit allowed.

v1.10
- Adds support for **X4D Loot** Add-On.

v1.9
- Optimized resolving character names, reduces CPU utilization.

v1.8
- Fixed bug with certain player names not properly converting to character names in guild chat.

v1.7
- Support for displaying 'Guild Number' in lieu of or in addition to 'Guild Abbreviation'.
- Fixed bug with 'Reset to Defaults' which affected both UI and SavedVars.

v1.6
- Add support for Guild Name abbreviations, these can be specified in Guild Descriptions by Guild Leaders/Officers. For example "Our Guild Tag [FOO] is the best!" will cause "FOO" to be used as an abbreviation.- If an abbreviation is not set in Guild Description, one is inferred from the Guild Name.
- This feature, like all others, can be disabled in settings.

v1.5
- Fixed bug with SavedVars not saving (oops!)
- Added support for X4D LibAntiSpam

v1.4
- Fixes a bug with player names which contain special characters.

v1.3
- Adds Settings UI, Enables Color Stripping, Adds Excess Text Stripping.

v1.2
- Added Timestamps, colorized for visibility. Added support to strip colors from text, but feature is not enabled.
v1.1
- Remove debug output from console (oops!)
v1.0
- Initial release.
Archived Files (1)
File Name
Version
Size
Author
Date
1.22
14kB
wilson0x4d
04/28/14 09:13 PM


Post A Reply Comment Options
Unread 11/04/14, 05:24 AM  
Scharesoft
 
Scharesoft's Avatar

Forum posts: 6
File comments: 17
Uploads: 0
With the new update of eso there is an error message with X4D Chat:

__________________

Official German translator of Elder Scrolls Online and Skyrim
Scharesoft is offline Report comment to moderator  
Reply With Quote
Unread 09/01/14, 08:43 AM  
sucht

Forum posts: 0
File comments: 23
Uploads: 0
I X4D_Chat.VERSION = '1.23a "and got the error.

2014-09-01T16:36:40.635+01:00 |cff0000Lua Error: user:/AddOns/X4D_Chat/X4D_Chat.lua:677: operator .. is not supported for string .. nil
stack traceback:
user:/AddOns/X4D_Chat/X4D_Chat.lua:677: in function 'OnFriendPlayerStatusChanged'
EsoUI/Ingame/ChatSystem/ChatSystem.lua:1653: in function 'ChatSystem:OnChatEvent'
user:/AddOns/HarvensCustomMapPins/HarvensCustomMapPins.lua:506: in function 'OnChatEvent'
EsoUI/Ingame/ChatSystem/ChatSystem.lua:1457: in function 'OnChatEvent'|r
2014-09-01T16:39:00.685+01:00 |cff0000Gui Warning: Too many anchors processed.|r
sucht is offline Report comment to moderator  
Reply With Quote
Unread 07/17/14, 11:02 AM  
DuchessOfKvetch

Forum posts: 9
File comments: 18
Uploads: 0
Garkin, does your copy of the X4DChat fixes include the change to the OnFriendPlayerStatusChanged event handler? I've been handing out links to my own fixed copy of this mod, but it would be preferable to have a single source with all required fixes in it at once.

Also, is there -any- way to get the admins here to update the official copy (so Minion users can download), or are we stuck because the mod author has to do it?
Last edited by DuchessOfKvetch : 07/17/14 at 11:03 AM.
DuchessOfKvetch is offline Report comment to moderator  
Reply With Quote
Unread 07/16/14, 04:21 AM  
Garkin
 
Garkin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 532
File comments: 611
Uploads: 23
Originally Posted by Brandino
Garkin, I'm getting an error from X4D_Bank that's calling a function from X4D_Chat. When I revert X4D_Chat back to the original, X4D_Bank functions normally, but I don't see where the changes you made are involved in this.

The function is HEX2DEC and the error is from line 372 in your X4D_Chat.lua "operator + is not supported for number + nil"

Here's a screenshot of the traceback:
https://www.dropbox.com/s/4c00vk241ssg3ze/Untitled.png

This seems like an error with the color parsing. The only value that could be nil in this HEX2DEC function is the variable "color" that gets set by X4D_Bank in the InvokeCallbackSafe function with bankSlotInfo.ItemColor. Apparently that comes from the GetItemLink() API. There seems to be lots of bounds checking to get rid of nil colors; that's all getting ignored.

So without being familiar with Lua, the prior API, or the new API I think that's about all I can offer for help. Maybe you'll know what's wrong. Thanks man!
This error message is shown because of changes to itemlinks. As I do not use X4D_Bank addon, I did't update it.

EDIT:
As it was really easy to fix, updated version is in my folder on Firedrive. Link is a few posts below or on my author portal.
__________________
@Garkin / EU - megaserver / CSF guild
My addons: SkyShards, LoreBooks, Dustman, Map Coordinates, ... (full list)
Updated, modified and test addon versions are in my DROPBOX folder.
Last edited by Garkin : 07/16/14 at 04:49 AM.
Garkin is offline Report comment to moderator  
Reply With Quote
Unread 07/15/14, 08:44 PM  
Brandino

Forum posts: 0
File comments: 8
Uploads: 0
Garkin, I'm getting an error from X4D_Bank that's calling a function from X4D_Chat. When I revert X4D_Chat back to the original, X4D_Bank functions normally, but I don't see where the changes you made are involved in this.

The function is HEX2DEC and the error is from line 372 in your X4D_Chat.lua "operator + is not supported for number + nil"

Here's a screenshot of the traceback:
https://www.dropbox.com/s/4c00vk241ssg3ze/Untitled.png

This seems like an error with the color parsing. The only value that could be nil in this HEX2DEC function is the variable "color" that gets set by X4D_Bank in the InvokeCallbackSafe function with bankSlotInfo.ItemColor. Apparently that comes from the GetItemLink() API. There seems to be lots of bounds checking to get rid of nil colors; that's all getting ignored.

So without being familiar with Lua, the prior API, or the new API I think that's about all I can offer for help. Maybe you'll know what's wrong. Thanks man!
Last edited by Brandino : 07/15/14 at 11:52 PM.
Brandino is offline Report comment to moderator  
Reply With Quote
Unread 06/30/14, 01:01 PM  
DuchessOfKvetch

Forum posts: 9
File comments: 18
Uploads: 0
Originally Posted by Garkin
Originally Posted by DuchessOfKvetch
I also was able to fix the weird logged in/logged off message flip, just by reversing the logic check for whether a guildie is online or not.

But the bigger mystery is why this broke in the first place, since it just seems to check an exposed event handler called "EVENT_FRIEND_PLAYER_STATUS_CHANGED".

In their infinite wisdom, ZOS appears to have changed the signature for this function in a way that isn't backward compatible. Per a Garkin post on changes:

Event handler for EVENT_FRIEND_PLAYER_STATUS_CHANGED has a new argument "characterName":
Live: EVENT_FRIEND_PLAYER_STATUS_CHANGED (displayName, oldStatus, newStatus)
PTS: EVENT_FRIEND_PLAYER_STATUS_CHANGED (displayName, characterName, oldStatus, newStatus)

So my initial quick and dirty fix isn't actually the "best" one. It still looks really easy to implement, though.
You are right, I forgot to update event handlers. I can't test it as my RL friends has stopped playing and there is not much other people in my friendlist.
I can't upload updated version here as an optional patch because this addon has this option disabled. So I will share changed code in X4D_Chat.lua or if you want, you can download updated version from my folder on Firedrive, where I have updated even X4D_XP and X4D_Loot addons.
For anyone else who doesn't mind editing text files, you can fix this by changing the line that says:

local function OnFriendPlayerStatusChanged(displayName, oldStatus, newStatus)

with

local function OnFriendPlayerStatusChanged(displayName, characterName, oldStatus, newStatus)
DuchessOfKvetch is offline Report comment to moderator  
Reply With Quote
Unread 06/29/14, 05:05 PM  
Quillyne

Forum posts: 0
File comments: 68
Uploads: 0
Thank you Garkin!!
Quillyne is offline Report comment to moderator  
Reply With Quote
Unread 06/29/14, 04:32 PM  
Garkin
 
Garkin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 532
File comments: 611
Uploads: 23
Originally Posted by DuchessOfKvetch
I also was able to fix the weird logged in/logged off message flip, just by reversing the logic check for whether a guildie is online or not.

But the bigger mystery is why this broke in the first place, since it just seems to check an exposed event handler called "EVENT_FRIEND_PLAYER_STATUS_CHANGED".

In their infinite wisdom, ZOS appears to have changed the signature for this function in a way that isn't backward compatible. Per a Garkin post on changes:

Event handler for EVENT_FRIEND_PLAYER_STATUS_CHANGED has a new argument "characterName":
Live: EVENT_FRIEND_PLAYER_STATUS_CHANGED (displayName, oldStatus, newStatus)
PTS: EVENT_FRIEND_PLAYER_STATUS_CHANGED (displayName, characterName, oldStatus, newStatus)

So my initial quick and dirty fix isn't actually the "best" one. It still looks really easy to implement, though.
You are right, I forgot to update event handlers. I can't test it as my RL friends has stopped playing and there is not much other people in my friendlist.
I can't upload updated version here as an optional patch because this addon has this option disabled. So I will share changed code in X4D_Chat.lua or if you want, you can download updated version from my folder on Firedrive, where I have updated even X4D_XP and X4D_Loot addons.
__________________
@Garkin / EU - megaserver / CSF guild
My addons: SkyShards, LoreBooks, Dustman, Map Coordinates, ... (full list)
Updated, modified and test addon versions are in my DROPBOX folder.
Last edited by Garkin : 06/29/14 at 05:26 PM.
Garkin is offline Report comment to moderator  
Reply With Quote
Unread 06/29/14, 03:35 PM  
DuchessOfKvetch

Forum posts: 9
File comments: 18
Uploads: 0
I also was able to fix the weird logged in/logged off message flip, just by reversing the logic check for whether a guildie is online or not.

But the bigger mystery is why this broke in the first place, since it just seems to check an exposed event handler called "EVENT_FRIEND_PLAYER_STATUS_CHANGED".

In their infinite wisdom, ZOS appears to have changed the signature for this function in a way that isn't backward compatible. Per a Garkin post on changes:

Event handler for EVENT_FRIEND_PLAYER_STATUS_CHANGED has a new argument "characterName":
Live: EVENT_FRIEND_PLAYER_STATUS_CHANGED (displayName, oldStatus, newStatus)
PTS: EVENT_FRIEND_PLAYER_STATUS_CHANGED (displayName, characterName, oldStatus, newStatus)

So my initial quick and dirty fix isn't actually the "best" one. It still looks really easy to implement, though.
DuchessOfKvetch is offline Report comment to moderator  
Reply With Quote
Unread 06/28/14, 02:44 PM  
DuchessOfKvetch

Forum posts: 9
File comments: 18
Uploads: 0
Haven't tried Garkin's fix, does it just comment out that one offending line that was blowing up? I don't really want to test the external download site because it tries to install its own downloader app, and that makes me all kinds of skeevy. If you can just open the LUA file and comment out the bad line, that works just as well, methinks.

There was a lot of code in this mod that's not used; looks like the author referenced a lot of global variables for future use (as ZOS has been sketchy about the future of their API engine, and when/if certain piece of disabled chat-related functionality will come back). So probably a lot of that mod could be streamlined, or commented out.

But curiously, I'm also getting the reversed logon/logoff messages now, which is very curious. I'd still suggest getting an admin to update the downloadable version so it doesn't just flat-out break, but the reversed alert is also a problem.
Last edited by DuchessOfKvetch : 06/28/14 at 02:47 PM.
DuchessOfKvetch is offline Report comment to moderator  
Reply With Quote
Unread 06/28/14, 02:26 PM  
Quillyne

Forum posts: 0
File comments: 68
Uploads: 0
Oh good, I am not imagining this! Once you get the hang of the reverse thing, it isn't too bad...well, after enough coffee that is.


Originally Posted by Zarrae
Amusingly, something about X4D now reports my friends as logging off when they are logging on and...logging on when they are logging off. =)
Quillyne is offline Report comment to moderator  
Reply With Quote
Unread 06/27/14, 10:26 AM  
Zarrae
 
Zarrae's Avatar

Forum posts: 0
File comments: 10
Uploads: 0
Amusingly, something about X4D now reports my friends as logging off when they are logging on and...logging on when they are logging off. =)
__________________
The Healerís Creed:
I am a healer. I will daily stare death in the face to steal those that depend on me back from its jaws. I will be the stone that others can stand on to cross the torrent of trouble that has found us. No matter what others may say, I will not waver. Mara, give me strength of heart, if not of body.
Zarrae is offline Report comment to moderator  
Reply With Quote
Unread 06/27/14, 12:40 AM  
Arnovich

Forum posts: 0
File comments: 30
Uploads: 0
Originally Posted by Garkin
Please, fix other addon X4D XP
http://www.esoui.com/downloads/info324-X4DXP.html
Arnovich is online now Report comment to moderator  
Reply With Quote
Unread 06/26/14, 07:10 PM  
tonyoflow

Forum posts: 0
File comments: 1
Uploads: 0
Originally Posted by DuchessOfKvetch
I fixed this by commenting out line 63, which was the one I was getting errors about for my install (I believe I have the latest version).

It contains a reference to a global called "CHAT_CATEGORY_OUTGOING". So I needed to change it to say:

--[CHAT_CHANNEL_WHISPER_NOT_FOUND] = CHAT_CATEGORY_OUTGOING,

If this works for others, we should request an admin to simply re-upload a fix, but in the meantime it is a simple one for anyone to do.
Good someone else already noticed was just about to suggest it.
I didn't bother yesterday though, then i just played without. missed it much.
tonyoflow is offline Report comment to moderator  
Reply With Quote
Unread 06/26/14, 04:14 PM  
Nameious

Forum posts: 29
File comments: 48
Uploads: 0
As do I. I hope he either comes back or releases them to someone else that has time and wants to play ESO to update them.
Nameious is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: