Phoenix USC: Phoenix Universe of Space Combat

Hi,
I am working on networking and kind of getting into it a bit. There is some Enet ‘PeerStatistic’ data available in Godot including packet loss, ping and other information. I need this data to help determine issues and where the issue may be.

I have made available a ‘mini’ net-stats above the player ship. It includes packet loss percentage (floating), low and high ping (floating reset 10s) and the ping floating average.

I found this post useful in guiding me to access the Enet statistical data like packet loss and ping.
Godot Forum Post on get_statistic(ENetPacketPeer.PEER_PACKET_LOSS)

It’s good to understand that when using the above example you will be getting the data between your host/peer and another host/peer. In the video above I have net-stat data derived from the method get_statistic().

More soon…
Vidiot_X

2 Likes