hibiyasleep / OverlayPlugin

no longer (or couldn't be) maintained - please usr fork of ngld's one.
https://github.com/ngld/OverlayPlugin
Other
128 stars 38 forks source link

onLogLine doesn't seem to be working #10

Closed Ihellmasker closed 7 years ago

Ihellmasker commented 7 years ago

Hey there. I'm trying to make use of the onLogLine function but it doesn't seem to be doing anything, although I am probably just using it wrong. I'm currently just trying to post any messages into the console just for testing purposes and nothing seems to be happening.

The code I'm using is:

document.addEventListener("onLogLine", function (e) {
    console.log(e);
});
hibiyasleep commented 7 years ago

Maybe FFXIV_ACT_Plugin or FFXIV itself changed something... Before of all, please check your ACT log contains /e messages - e.g. check /e end works. (onLogLine only sends /echo messages)

Ihellmasker commented 7 years ago

It seems to be working now. I must have been doing something wrong. Unless it got fixed in todays FFXIV plugin update.

Thanks anyway :D