karashiiro / karashiiro/PingPlugin

Ping shows 0ms (linux, wine)

Open
#47 9 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
17
Forks
26
PR merge metrics
No merged PRs in 30d

Description

I appear to be having [this previous issue ](https://github.com/karashiiro/PingPlugin/issues/33)
PingPlugin: 2.2.4.0
Wine: lutris-fshack-6.21-5
The IP shows correctly but the ping shows 0ms.
Pinging the IP from my terminal shows expected response, ~100ms

![image](https://user-images.githubusercontent.com/93838850/166121981-98e01998-5075-4f55-a598-b23eb95eb596.png)
```
$ ping 124.150.157.23
PING 124.150.157.23 (124.150.157.23) 56(84) bytes of data.
64 bytes from 124.150.157.23: icmp_seq=1 ttl=51 time=122 ms
```

In my case it was working a few months ago (sorry not sure exact dates) but after a game update, if I remember correctly, it started reporting 0ms.
At that time I left it but would like to get it working if possible.
I see it was previously resolved by updating `sigScanner.ScanText` https://github.com/karashiiro/PingPlugin/commit/4b59642af013c10ce5abcaf59175a81b20256a96, but I don't know enough about how this works to figure out if that is the problem now or what it should be if so.

Happy to provide any more information if it helps.
Thanks for the plugin!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the prior fix to sigScanner.ScanText in commit 4b59642af013c10ce5abcaf59175a81b20256a96 and compare it with the current scanning behavior. Reproduce the plugin under Linux/Wine, then verify that the displayed ping matches the expected response instead of showing 0ms.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, linux
Domain
operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.