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"

Check if a server exists

Hi, I work on a multiplayer game and have some trouble with the connection setup: If I use the session nodes everything is fine, but I want to offer the possibility to join via IP (console command: "open [IP]"). Is there a possibility to find out, if there is a server before I execute the command? Thanks in advance, Tim

Product Version: UE 4.8
Tags:
more ▼

asked Jun 22 '15 at 08:34 AM in Blueprint Scripting

avatar image

TGE
20 6 10 10

avatar image TGE Jun 29 '15 at 10:32 AM

Still have no idea how to check if the server exists, any ideas?

avatar image gloim Jun 29 '15 at 11:05 AM

well if the connection fails you got your response... but without the session-nodes i guess there is no other way to check for servers in bp.

avatar image TGE Jul 01 '15 at 12:18 PM

Hi, thanks for the reply. The problem is, that I don't get a return value after I try to execute a console command. I tried to identify if my GameState changed so I'd know I am in another session.But a problem is: No matter if there acutally is a server, the execution of the command will try to do something (at least it seems like)... I had several bugs eG if I try to join an existing server after I already executed the command when there was no server did not work and a lot of fun stuff like this. Thats why I wanted to check before I attempt to connect. Are there any other ideas?

avatar image TGE Jul 08 '15 at 01:34 PM

still no idea here :S

avatar image Nantuk Oct 16 '18 at 07:05 PM

did you ever figure this out. I too am wanting to know. The problem with just trying to connect and letting it fail is that it just launches the entry level on failure. Very jarring for the player :(

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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