Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Packet Loss display #32

Open
seth-rah opened this issue Jan 4, 2022 · 5 comments
Open

[Enhancement] Packet Loss display #32

seth-rah opened this issue Jan 4, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@seth-rah
Copy link

seth-rah commented Jan 4, 2022

Summary

Would it be possible to include a line showing the users current packet loss?

This would be very useful to those that aren't close to the server in identifying possible network issues they might be experiencing

@seth-rah seth-rah changed the title [Enhancement] [Enhancement] Packet Loss display Jan 4, 2022
@karashiiro
Copy link
Owner

I don't think it'd be possible to do it in a meaningful way without redesigning the plugin entirely (though that is something I want to do). None of the tools the plugin already uses to track ping track/expose packet loss, so I'd need something entirely different to do that.

I could do it by hooking a function in the game's network stack and tracking the TCP retransmission rate, it'd just take quite a bit of time to reverse-engineer. I also wouldn't be able to use it for VPN users, but I guess that's a separate problem.

tl;dr I want to, but it's not trivial.

@karashiiro karashiiro added the enhancement New feature or request label Jan 4, 2022
@seth-rah
Copy link
Author

seth-rah commented Jan 4, 2022

Not sure if it helps, but windows tool resmon (Resource Monitor) seems to have access to the game's ping and latency

XIV has 2 TCP connections visible in resmon, 1 being chat and 1 being the game client.

Not sure if it's possible to hook into the same logic resmon is using through the plugin itself, but I did find this online.

https://stackoverflow.com/questions/11039923/how-can-i-get-the-resource-monitor-values-in-net

The comment on the thread link to another thread that might be of use.

@karashiiro
Copy link
Owner

The WMI documentation is mostly outdated, and a lot of links in the official docs are broken, but I can try using that. I've tried some Windows API functions I thought resmon was pulling from, but they all required admin privileges to use.

@seth-rah
Copy link
Author

seth-rah commented Jan 4, 2022

Privileges wasn't something that occurred to me, best of luck. Hope it helps.

@Krojack
Copy link

Krojack commented Mar 24, 2022

I would change over to this in a heartbeat if it showed packet loss. I've been using the ACT plugin "ACT.FFXIVPing" for some time now which shows both ping and packet loss percent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants