x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Session Ping 9999

I've pretty much exactly replicated the network session management from the Multiplayer Shootout example. Everything works, I can open a game and other players can find it via Steam online subsystem. The player names are correctly transfered, how many current and max players also works fine.

However, the session always shows a ping of 9999

Can anyone tell me why this happens? This is my setup: alt text

Product Version: UE 4.8
Tags:
ping9999.jpg (156.4 kB)
more ▼

asked Jul 30 '15 at 11:41 AM in Blueprint Scripting

avatar image

Blue669
251 29 39 54

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Hi guys!

I have stumbled upon this issue with 9999 ping values while implementing the Steam version of my upcoming game. I couldn't find any clue searching online, so I decided to dig into the code starting from the Steam SDK and then analyzing how the Unreal Engine Steam Online Subsystem is mapped into the Steam APIs. I've just written an article on my blog where I explain what I have found. I hope you can find it useful.

Ping 9999 Issue on Unreal Engine Steam Session Results

more ▼

answered Aug 15 '16 at 03:00 PM

avatar image

Giuseppe Portelli
91 1 5 18

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The 99999 ping session i think is normal, i set up mine to hide that one because it is fake.

more ▼

answered Jul 30 '15 at 01:21 PM

avatar image

Dannyk90
250 37 36 51

avatar image Blue669 Jul 30 '15 at 01:29 PM

If that would be normal, the function would be redundant, don't you think?

So, how do I get the actual ping of that session to show up?

avatar image Dannyk90 Jul 31 '15 at 03:19 PM

oh wait a minute, make it refresh results every tick and that 9999 ping goes to about 40 ms. It is right lol.

avatar image Blue669 Jul 31 '15 at 03:23 PM

I don't understand what you mean.

avatar image Dannyk90 Jul 31 '15 at 03:25 PM

on mine, I made it Every Tick - browse session results. It first sees it as 99999 ping but then the ping goes down to 40, but its weird because I have not hosted it yet. I then host (on server window) and the player number in that room goes from 0/4 to 1/4

I then join my client window.

avatar image Blue669 Jul 31 '15 at 03:32 PM

I can't find anything like "browse session results" and I'm not going to request session results in a tick event, which seems not very efficient.

avatar image Dannyk90 Jul 31 '15 at 03:37 PM

its actually better

avatar image Gobick Oct 13 '16 at 02:19 PM

When you say "browse session results" is this a specific blueprint or c++ function? I got this problem and I am trying to do this but I cannot find a way to refresh the results in a way that gets me a ping that is not 9999.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

of course it is not normal :) for me i get an invalid session (ping 9999) when i run my game with steam (running).. if i close steam i find a normal session as expected.

actually i have many steam related questions, but still searching for answers

more ▼

answered Jul 30 '15 at 11:43 PM

avatar image

makai
434 26 17 43

avatar image Blue669 Jul 31 '15 at 07:35 AM

So this is a bug that needs to be addressed by Epic?

avatar image happyhorror Jul 31 '15 at 03:18 PM

seems so if it happen 100% times with just enabled steam and doesn't when running game without steam, best place to report bugs is https://forums.unrealengine.com/forumdisplay.php?24-Feedback-for-Epic

p.s. don't forget mark question as answered, so anyone else later can have same question and may find solution faster

avatar image makai Jul 31 '15 at 03:26 PM

Ben Hallway told in another question:

Are you running both Server and Client on the same machine? If it's a Listen Server, Steam requires separate machines. If you want to test while Steam is open, you can run with -NOSTEAM in the commandline to disable it.

You can find it here: https://answers.unrealengine.com/questions/263920/session-found-in-pie-but-not-in-packaged-game.html

so its no bug! we just didn't know that. I guess this topic can be closed now

avatar image Blue669 Jul 31 '15 at 03:33 PM

I'm using two different computers, my friend hosts a game on his machine and I find his session through Steam. Every info works except ping, which always shows 9999 no matter how many times I refresh.

avatar image Dannyk90 Jul 31 '15 at 03:37 PM

did you add the =null thing in engine.ini ? or did you do the steam setup properly ? I tried steam on another project, it couldnt browse sessions but it CAN join via direct IP, try that first.

avatar image makai Jul 31 '15 at 03:42 PM

hey blue, you didn't hook up the player controller to the session

avatar image Blue669 Jul 31 '15 at 03:44 PM

blueprint only

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question