Announcement

Collapse
No announcement yet.

[TUTORIAL] Solving Session 9999 Ping with 3 Plugins and no C++

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [TUTORIAL] Solving Session 9999 Ping with 3 Plugins and no C++

    Plugins to Download and Install. (All of them have tutorial how to Install and Use.)

    Victory Plugin - (We will use the to get the Local IP Address)
    https://forums.unrealengine.com/deve...834#post834834

    Advanced Session - (We will use the Advanced Session's Extra Settings to give the IP Address to Other Players to Ping)
    https://forums.unrealengine.com/comm...essions-plugin

    Ping Plugin - (This Plugin will only get the IP we already have and Ping it)
    https://github.com/DescendentStudios/PingPlugin

    /=================================/

    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.


    #2
    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

    Comment


      #3
      Originally posted by fer1977 View Post
      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
      I don't know what you did, but something is wrong. I am using it in a packed project and is fine.

      Comment

      Working...
      X