ZAM's Minion, currently in open beta, is a new AddOn manager optimized for use with ESO. Install, update & manage AddOns... Learn more!
Download
(11 Kb)
Download
Updated: 07/19/15 05:38 PM
Pictures
File Info
Compatibility:
Update 6 (1.6.5)
Updated:07/19/15 05:38 PM
Created:04/10/14 03:18 AM
Downloads:18,406
Favorites:120
MD5:
1.6.5
X4D Chat  Popular! (More than 5000 hits)
Version: 1.33
by: wilson0x4d [More]
X4D Chat


Features
  • Optional Modify Guild Chat so that Character Names are displayed instead of Account Names (or both.)
  • 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

First, make sure you have the latest X4D Core installed.

As with most Addons, simply open the Archive and copy the contents into "%USERPROFILE%\Documents\Elder Scrolls Online\live\Addons\" folder.

If ESO is already running, execute /reloadui command.


Change Log

To see version history, including 'vNext' (soon to be published) changes, view the README on Github.
Optional Files (0)


Post A Reply Comment Options
Unread 05/20/15, 01:41 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 177
Uploads: 10
Post Joshua Bloch - How to Design a Good API

Originally Posted by DuchessOfKvetch
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".
Root cause was ESO change the event signature, so the parameters were off by one (add-on was checking wrong values because ZO inserted a new value in the middle of the parameter list.)

For my fellow software engineers, add-on authors, or anyone else that likes nerdy stuff.. this is one of those moments I feel the need to share this little gem:

YouTube: Joshua Bloch - How to Design a Good API, and why it matters.

Enjoy!
wilson0x4d is offline Report comment to moderator  
Reply With Quote
Unread 05/17/15, 02:46 AM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 177
Uploads: 10
Thumbs up Re: Version 1.30

Found the bug, fixed it. Will republish addon with the fix later today (will appear in 1.31).

Thanks!

Originally Posted by MartDann
Version 1.30
The bug with only displaying the char name if you have activated both (char name and account name)still exists.
German client if this helps.
wilson0x4d is offline Report comment to moderator  
Reply With Quote
Unread 05/17/15, 12:40 AM  
MartDann

Forum posts: 0
File comments: 2
Uploads: 0
Version 1.30

Version 1.30
The bug with only displaying the char name if you have activated both (char name and account name)still exists.
German client if this helps.
MartDann is offline Report comment to moderator  
Reply With Quote
Unread 05/15/15, 12:48 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 177
Uploads: 10
WILL FIX-

Originally Posted by MartDann
Hello
There is a little butgin the last few Versions, the Guild Chat does not display both Charname and Account name if you have activated both
Fix is in the pipeline, I will have a new package going out later today. I've been banging on some new stuff for a little over a week and I'm almost done and ready to release.

Thanks!
wilson0x4d is offline Report comment to moderator  
Reply With Quote
Unread 05/12/15, 09:34 AM  
MartDann

Forum posts: 0
File comments: 2
Uploads: 0
Hello
There is a little butgin the last few Versions, the Guild Chat does not display both Charname and Account name if you have activated both
MartDann is offline Report comment to moderator  
Reply With Quote
Unread 04/15/15, 01:45 PM  
wilson0x4d
Premium Member
 
wilson0x4d's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 177
Uploads: 10
v1.24 released!

Well, I'm back in the game.

This release brings a number of long overdue updates, bug fixes and a few more features requested by users here in the comments. I have spent a few days over the last week reviewing API updates (wow! so much!), fixing and testing addon code, and reviewing PM, user-submitted patches, and comments.

It seems many users were unaware that I had a family medical emergency last year and 100% of my attention went into making sure my life and family were correct. I sincerely apologize for the downtime, but be assured the reason was not unwarranted. I did try and communicate what was happening and submitted all of my addon work to Github for someone else to pick up -- unfortunately I don't believe users on ESOUI read author portals (hell, they are a pain to find even as an author) and it also seems none of my addons were updatable by users.

The Github repo is still live and available to everyone, and I've made sure that the addons here on ESOUI can be updated by third parties (patches, additional files, etc.) At least this way if I get hit by a bus tomorrow you guys have the access you need to keep the ball rolling until someone else takes over.

A number of you took a crack at code fixes during my downtime, stellar! If you are interested please get in touch with me and I'll set you up as a team member on ESOUI and get you some more direct contact info (email) as well as write access on Github. At least this way if you're taking a crack at code again, well, I'll be more available than ESOUI provides for you, and you will be able to make more official updates than before.

Enjoy!
wilson0x4d is offline Report comment to moderator  
Reply With Quote
Unread 11/04/14, 05:24 AM  
Scharesoft
 
Scharesoft's Avatar

Forum posts: 8
File comments: 21
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: 29
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: 824
File comments: 1094
Uploads: 33
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 (CSF guild) / NA (Maelstrom guild)
My addons: SkyShards, LoreBooks, Dustman, Map Coordinates, No, thank you!, ... (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: 28
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: 73
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: 824
File comments: 1094
Uploads: 33
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 (CSF guild) / NA (Maelstrom guild)
My addons: SkyShards, LoreBooks, Dustman, Map Coordinates, No, thank you!, ... (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
Post A Reply



Category Jump: