lichie567 / LMeter

A Dalamud Plugin to display ACT combat log data in FFXIV
MIT License
65 stars 39 forks source link

Add Support for Connecting to IINACT via Dalamud IPC #44

Closed joshua-software-dev closed 8 months ago

joshua-software-dev commented 1 year ago

Uses Dalamud's Inter Plugin Communication feature to connect to the Dalamud plugin version of IINACT. This bypasses using the WebSocket, and allows sharing memory from within the same process, instead of needing a background thread and a de/serialization process.

More importantly, it bypasses the need to connect using a WebSocket. This is useful as some builds of wine/proton on linux do not allow a process to connect to a WebSocket being hosted by the same pid.

This does not replace the standard WebSocket connection mode, and simply adds the option to use IPC instead. Reverting back to WebSocket mode is available in the plugin config options.

Zeffuro commented 1 year ago

Played around with it, seems to be working pretty well and seems pretty stable.

Maxunit commented 1 year ago

I gave this pr a spin for a day or two now as well and it seems to work perfectly fine.