Quantcast
Download
(5 Kb)
Download
Updated: 10/02/19 04:12 PM
Compatibility:
Dragonhold (5.2.5)
Scalebreaker (5.1.5)
Elsweyr (5.0.5)
Updated:10/02/19 04:12 PM
Created:09/09/14 09:21 AM
Monthly downloads:31
Total downloads:51,023
Favorites:57
MD5:
libChat2  Popular! (More than 5000 hits)
Version: 12
by: Ayantir, Baertram
This library is outdated and discontinued and breaks several addons after ZOs had changed the chat system with the Elsweyr patches!
12
======
Fixed: With library enabled without any addon registering a special format function: Character names on German and French clients showed their gender specific info like ^Mx at the end

11
======
Changed EVENT_CHAT_MESSAGE_CHANNEL to use string.format code now like Zos changed, and not zo_strformat anymore. Should fix chat output where you only see messages like %s or similar.

10
======
-Made library standalone installation able (with or w/o LibStub)
-Added global variable LibChat2
-Added AddOnVersion: and IsLibrary: true tags
-Updated APIVersion

9
======
- 2 variables leaked fixed
- Rename of a method to match its sisters names
- Handle the modifications of EVENT_CHAT_CHANNEL

1.6
======
- Fixed the method to correctly register :registerAppendTextBeforeAll()
- Fixed few variables leaking to global

Justice
======
- Added methods to append text
- Added an integrated manager
- Doc reworked

v1.2
======
- funcXX vars were global, fixed

v1.1
======
- Added backward compatibility with original libChat
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Uploader
Date
11
5kB
Baertram
10/02/19 03:00 PM
10
5kB
Baertram
10/01/19 09:50 AM
9
5kB
Ayantir
08/02/16 07:08 AM
1.6
5kB
Ayantir
08/22/15 07:45 AM
Justice
5kB
Ayantir
02/21/15 09:03 AM
1.2
4kB
Ayantir
09/16/14 09:35 AM
1.1
4kB
Ayantir
09/11/14 04:50 PM
1
3kB
09/09/14 09:21 AM


Post A Reply Comment Options
Unread 02/24/20, 04:52 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3097
File comments: 3720
Uploads: 63
libChat2 will be deleted soon as it does not work anymore since Harrowstorm and always made trouble!
Report comment to moderator  
Reply With Quote
Unread 10/04/19, 02:32 PM  
Rothry

Forum posts: 0
File comments: 69
Uploads: 0
Originally Posted by Baertram
Found some of the old used zo_strformat commands in event EVENT_CHAT_MESSAGE_CHANNEL callback function of libChat2 and changed them to use the string.format functions from ZOs code now.
Update 11 will fix this.

Try if it works good now and if not please tell me how to reproduce any error!

Edit:
Standalone or not: this would have affected all the same so it can only depend on the settings within pChat you & me have enabled.

Edit2 -> libChat3:
I've updated libChat3 also with a new version 11 containing the fix for the event which shows %s in chat instead of the messages:
https://www.esoui.com/downloads/file...=2210#comments
a master second to none. thank you for your unbelievable work
Report comment to moderator  
Reply With Quote
Unread 10/02/19, 03:09 PM  
Anceane
 
Anceane's Avatar

Forum posts: 254
File comments: 805
Uploads: 0
Originally Posted by Baertram
Found some of the old used zo_strformat commands in event EVENT_CHAT_MESSAGE_CHANNEL callback function of libChat2 and changed them to use the string.format functions from ZOs code now.
Update 11 will fix this.

Try if it works good now and if not please tell me how to reproduce any error!

Edit:
Standalone or not: this would have affected all the same so it can only depend on the settings within pChat you & me have enabled.

hehe you are the boss my friend i am merely a student :P (kidding a part i learned a lot with you)
__________________
Report comment to moderator  
Reply With Quote
Unread 10/02/19, 02:59 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3097
File comments: 3720
Uploads: 63
Found some of the old used zo_strformat commands in event EVENT_CHAT_MESSAGE_CHANNEL callback function of libChat2 and changed them to use the string.format functions from ZOs code now.
Update 11 will fix this.

Try if it works good now and if not please tell me how to reproduce any error!

Edit:
Standalone or not: this would have affected all the same so it can only depend on the settings within pChat you & me have enabled.

Edit2 -> libChat3:
I've updated libChat3 also with a new version 11 containing the fix for the event which shows %s in chat instead of the messages:
https://www.esoui.com/downloads/file...=2210#comments
Last edited by Baertram : 10/02/19 at 03:17 PM.
Report comment to moderator  
Reply With Quote
Unread 10/02/19, 02:59 PM  
Anceane
 
Anceane's Avatar

Forum posts: 254
File comments: 805
Uploads: 0
I had the bug one time only, and it was before i decided to replace libs outdated completely and use only the libs as standalone. Since then i do not encounter any problem.

Originally Posted by Baertram
Hm so why doesn't it break my chat then as I'm using pChat, which is the only addon using libChat2?
Any further info how to see that it is libChat2 and not only libChat2 e.g.?

I know zos changed the handling of their chat functions to use placeholders with % now instead of e.g. <<1>>.
But my pChat (my local installation. It's not my addon ) was never affected so far.

If you got any ideas what I need to enable in pChat to get the errors you should write it to the official pChat comments please.
If you have any hints where in libChat2 the problem is, please tell me so I can get the errors as well and fix them. But for now I only know there are problems, but do not know how to see, and then be able to fix them).
I'll have a look at the library code again, maybe I find something.

Originally Posted by Rothry
hey,

thanks for your great addons However libChat2 (as well as libChat3) breaks all player related chats. It just shows '%' symbols. AddOn Messages are not affected.

Greetz
__________________
Report comment to moderator  
Reply With Quote
Unread 10/02/19, 01:39 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3097
File comments: 3720
Uploads: 63
Hm so why doesn't it break my chat then as I'm using pChat, which is the only addon using libChat2?
Any further info how to see that it is libChat2 and not only libChat2 e.g.?

I know zos changed the handling of their chat functions to use placeholders with % now instead of e.g. <<1>>.
But my pChat (my local installation. It's not my addon ) was never affected so far.

If you got any ideas what I need to enable in pChat to get the errors you should write it to the official pChat comments please.
If you have any hints where in libChat2 the problem is, please tell me so I can get the errors as well and fix them. But for now I only know there are problems, but do not know how to see, and then be able to fix them).
I'll have a look at the library code again, maybe I find something.

Originally Posted by Rothry
hey,

thanks for your great addons However libChat2 (as well as libChat3) breaks all player related chats. It just shows '%' symbols. AddOn Messages are not affected.

Greetz
Last edited by Baertram : 10/02/19 at 02:59 PM.
Report comment to moderator  
Reply With Quote
Unread 10/01/19, 01:56 PM  
Rothry

Forum posts: 0
File comments: 69
Uploads: 0
hey,

thanks for your great addons However libChat2 (as well as libChat3) breaks all player related chats. It just shows '%' symbols. AddOn Messages are not affected.

Greetz
Report comment to moderator  
Reply With Quote
Unread 08/22/15, 07:45 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1022
File comments: 1553
Uploads: 31
Re: registerAppendTextBeforeAll currently not working

Originally Posted by Pyranea
You need to add this in "libChatMessageChannelReceiver":

Code:
if funcTextBeforeAll then
    TextBeforeAll = funcTextBeforeAll(channelID, from, text, isCustomerService)
end
Oh yes, thanks fixed. I've also fixed some local leaking (thank you circonian )
__________________
Obsessive Compulsive Coder

My little french Guild: Cercle de l'Eveil
Report comment to moderator  
Reply With Quote
Unread 08/22/15, 07:15 AM  
Pyranea

Forum posts: 0
File comments: 3
Uploads: 0
registerAppendTextBeforeAll currently not working

You need to add this in "libChatMessageChannelReceiver":

Code:
if funcTextBeforeAll then
    TextBeforeAll = funcTextBeforeAll(channelID, from, text, isCustomerService)
end
Report comment to moderator  
Reply With Quote
Unread 02/21/15, 09:12 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1022
File comments: 1553
Uploads: 31
Why this $%!#? library ?!

Heya nobody here,

Please note that for the very few chat addons we get in ESO we're alsmost each other broking our addons.

So :
  • If you REWRITE or APPEND something to a message sent by EVENT_CHAT_MESSAGE_CHANNEL and don't use libchat, you will BROKE other chat addons.

Adding timestamps, smileys, info, or anything else to thoses messages ? Please use libChat.

Thank you !
__________________
Obsessive Compulsive Coder

My little french Guild: Cercle de l'Eveil
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: