Ping Plugin - (This Plugin will only get the IP we already have and Ping it)
How I did
1 - First the Player save the IP Address locally when Game is open using the Victory Plugin. I re-parented the Players Controller from the Main Menu to the Victory PC(it don’t change anything) and at the Begin Play it gets the IP Address(see the tutorial) and send to the Game Instance for example.
2- The Host Create a Session with the Advanced Session and add at the Extra Settings with Make Literal Session Property String the IP Address saved before.
3 - Now Client needs to Find the Session, use Get Extra Settings and use Get Session Property String with the same name to get IP Address.
4 - With the IP Address of the Session saved you only need to use the Ping Plugin that will give you the Ping.
I did that, unfortunatelly it is not a solution for me because now i get “ping -” . So, it does give me the correct ping. Does everyone get the same as me " ping -". I seems to be only a solution to hide the 9999 ping
And before 4.24 could you get the right ping as you say in the post, I tried to do it changing diferent ways and all of them failed?.
By the way, the problem with using steam sockets in 4.24 is that I can´t join in a LAN session although I get the right ping in 4.24
The problem with using steam sockets in 4.24 is that players can´t join in a LAN session. Players can connect only in diferent networks, if you want to give players the possibility to join in LAN mode, there is no chance to change at runtime between steam sockets and steam online subsystem.
And the problem before 4.24 was I never succeeded to get the right ping even with my own SteamID and using the ping plugin, despite having done thousands tests.