Originally Posted by SnowmanDK
Hm...
I wanted to check out all the events I could intercept, so went to the esoui wiki.
Accoding to that then "EVENT_FRIEND_PLAYER_STATUS_CHANGED" has been removed from API 100008 along with quite a few other events.
I guess I would have to use "EVENT_CHAT_MESSAGE_CHANNEL" but can't seem to find what codes cover what type of message (channelID's).
|
"EVENT_FRIEND_PLAYER_STATUS_CHANGED" is still present ins 100008, ZOS just "forgot" to mention some envents in ther documentation.
I have this code in modified pChat and it works:
Lua Code:
local originalHandler = ZO_ChatSystem_GetEventHandlers()[EVENT_FRIEND_PLAYER_STATUS_CHANGED]
ZO_ChatSystem_AddEventHandler(EVENT_FRIEND_PLAYER_STATUS_CHANGED, function(...)
if pChat.opts.showTimestamp then
return pChat.createTimestamp(pChat.opts.colours.timestamp, GetTimeString()) .. "|r" .. originalHandler(...)
else
return originalHandler(...)
end
end)
Check this topic:
PTS 1.3.0 API changes (100007 to 100008 diff)
As you can see, no events were removed, just those were added:
EVENT_GAMEPAD_PREFERRED_MODE_CHANGED
EVENT_GUILD_BANKED_MONEY_UPDATE
EVENT_GUILD_KIOSK_CONSIDER_BID_START
EVENT_GUILD_KIOSK_CONSIDER_BID_STOP
EVENT_GUILD_KIOSK_CONSIDER_PURCHASE_START
EVENT_GUILD_KIOSK_CONSIDER_PURCHASE_STOP
EVENT_GUILD_KIOSK_ERROR
EVENT_GUILD_TRADER_HIRED_UPDATED
EVENT_HERALDRY_FUNDS_UPDATED
EVENT_LUA_LOW_MEMORY
EVENT_VIBRATION
You can use Zgoo to check which events are present in game: