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?
↧