yuh25 / Ping-Grapher

Graphs the ping to the current world
BSD 2-Clause "Simplified" License
0 stars 1 forks source link

Fake packet loss displayed on Windows #19

Open vjtd3 opened 3 months ago

vjtd3 commented 3 months ago

For some weird reason, it looks like the plugin is giving me false readings for packet loss on Windows on US East servers.

When this first started happening, I thought it was real, but didn't do anything about it since my installation of Windows was kind of fucked and I was planning on swapping to Linux in not too long anyway. I had to swap back recently for certain reasons and noticed this was still happening. I did some testing after a comment from a user on the RuneLite Discord that sometimes this plugin "just does that" and it looks like it's only visual?

Anyway, here's what I did to test. I ran an automatic 1-tick action in-game, watched and listened on visual and audio metronome plugins, and constantly pinged the server I was on (oldschool77.runescape.com), but it didn't look nor sound like I was losing any ticks or was experiencing any packet loss. I also just went through and checked other worlds. This isn't happening on US West, UK, German, or Australian servers, but it is happening on several US East servers (every US East server that I checked).

Again, this also is only happening on Windows (10 and 11) but wasn't happening on Linux (Manjaro, EndeavourOS, Nobara), which is even weirder to me. If there's any further tests I could do or anything I could submit to help, please let me know.

image

yuh25 commented 3 months ago

Is there anything in the runelite logs? Ping grapher uses the same ping function from worldhopper and most of the time it should return "-1" when "timed out" but it looks like it can happen if there is an error as well.

I just hopped on W377 and a few other US east worlds on Windows and Ubuntu but couldn't get the same result right now, though it does look like other people have maybe had the same issue during peak US east times on reddit. Screenshot 2024-08-24 200314

image

vjtd3 commented 3 months ago

Apologies as I missed this info, but it was only happening in the evening (EST). I don't have an exact timeframe, but I'll try to get one tonight if I'm on. Nothing in the client log searching "grapher" save for when the client was loading the plugin.

Edit: and like you said, others have noticed this, but I was surprised to learn that it doesn't actually appear to be happening? At least it doesn't look, sound, or feel like it, outside of the graph while playing on Windows.

vjtd3 commented 3 months ago

I've been listening to this thing for about an hour now (around when I logged on today and it was happening) and I've definitely heard some delayed ticks and saw some slightly delayed exp drops on the 1-tick action. I still don't appear to be missing any pings running that most of this time. My graph looks the same as in the first post. Still nothing in the client log. I don't have the other OSes installed right now to prove the other side. I don't know what to think of it all, but it doesn't seem like it's an error with the plugin on Windows at least since I am losing some ticks (though nowhere near as frequently as the packet loss on the graph)? I'll leave it up to you if you want to close this or wait for more input from others. Thanks.

yuh25 commented 2 months ago

Finally had a chance to have a look at this at around peak EST time and I still can't seem to get the same result. I'm thinking its an issue I won't be able to look into from Australia or its fixed itself?

Still nothing in the client log.

I was hoping something would show in the RL logs but seems like debugs don't get logged.

I'm fine with leaving the issue up and see if anyone else can help out with this issue.