Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
135 stars 2 forks source link

Reported ping via LNL is incorrect. #34

Open Nammi-namm opened 11 months ago

Nammi-namm commented 11 months ago

Describe the bug?

The latency reported via LNL connections is half of what it should be, or a one way ping instead of both ways ping. SNS connections however are reporting the correct ping, a two way back and fourth ping. I've noticed impossible pings from some users connecting to my own session or I have had connecting to other people's session. As I am located in Iceland and the lowest ping from overseas is about ~39 ping. I've had users connecting from the UK getting half of that.

To Reproduce

Connect to a session normally. This will be via LNL punch through or through a relay. See reported ping. You can ping the IP address of the host to compare. You can also select "Prefer Steam Networking Sockets" in settings and reconnect to the same session to compare ping.

Expected behavior

User ping reported in session via LNL connections should be double or roughly double what the game reports.

Screenshots

Below I've added pictures of my connection connecting to a session hosted in England via both an LNL connection and an SNS connection. 2023-10-13 21 45 21 2023-10-13 21 47 53

Resonite Version Number

Beta 2023.10.13.743

What Platforms does this occur on?

Windows, Linux

What headset if any do you use?

Desktop/Index

Log Files

DESKTOP-GRQTL3M - 2023.10.13.743 - 2023-10-13 21_45_47.log

Reporters

Nammi (discord: "namminamm"), Enverex (discord: "enverex"), MattyK (discord: "mattyrogue"), Raemien (discord: "raemien".

troyBORG commented 11 months ago

I noticed something like this in the old platform. Where I didn't have my headless setup to use UPnP, so everyone that connected had to go though the Relay.
And I think it was reporting the ping from my connection to the Relay server for every user. So no mater where they were. They all had the same ping.