Originally Posted by motorheadabega
Hello , this is my first post to this forum.
I have been dabbling in lua addon scripting for ESO for a couple of weeks now and everything was coming along well. I really enjoy it. Everything was working (or at least failing with expected error messages) yesterday afternoon. At some point last night I noticed that I was not getting any output from my EVENT_CHAT_MESSAGE_CHANNEL handler.
I was tired and did not want to take apart my (rather medium sized) script, so I disabled it and wrote a new test stub as follows:
*snip*
Which did not produce any output either, so I gave up and went to bed. Now in the light of day this minimal code still looks fine to me, and I could swear I was successfully handling this event as recently as yesterday afternoon.
Does anyone know if there has been a change to how this event is handled? or if I'm doing it wrong? Is it working for you?
Any advice appreciated.
Thanks.
|
Hi.
your OnAddOnLoaded is not correct that way:
chatlog
:OnAddOnLoaded(event, name) => chatlog.OnAddOnLoaded(event, name)
Otherwise this has three parameters (the implicit self)