PLAYER_EVENT_ON_CHANNEL_CHAT channel argument invalid
Closed this issue · 1 comments
0xCiBeR commented
When using PLAYER_EVENT_ON_CHANNEL_CHAT event(ID: 22) it has the following arguments:
(event, player, msg, Type, lang, channel)
The channel argument/variable is always 0 instead of the real channel ID that is stored in the db.
Not sure if this should be channel name, or ID. I think ID makes more sense as there can be multiple channels with the same name.
55Honey commented
Good catch! Thanks for the report.
mod-eluna/src/LuaEngine/PlayerHooks.cpp
Line 512 in 53514a2
It seems like a core issue to me, cause the id is requested by mod-Eluna.