Quantcast
Channel: Questions in topic: "ping"
Viewing all articles
Browse latest Browse all 93

Networking: Cannot get average ping to server

$
0
0
The title says it all, I am trying to use `Network.getAveragePing(NetworkPlayer)` I don't know if the getAveragePing method works or not, the issue I am having is finding a value for the NetworkPlayer I tried all of the following: `NetworkServer.connections` -> list is always empty `NetworkServer.localConnections`-> list is always empty `Network.connections` -> list is empty `Network.player` -> not set I have tries many different things, and the list is either empty, full of null values, or -1. Am I missing something? Does this method even work still? I need to figure out what the average and/or current ping is to the server, is there another way to go about doing this?

Viewing all articles
Browse latest Browse all 93

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>