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"

Why am I unable to have two players playing in a network game?

Hello all,

I have been trying to get two players playing in a network game and I am getting this error code.

I have followed the third person shooter tutorial by unreal for networking and my game works great in the editor.

I cannot get two clients with a .exe though.

I think I got the client opening a listen server while I am in game by calling: open Example_Map?listen -game

When I try to connect though, I get this in my log:

 [2014.08.07-00.53.12:555][655]LogNet: Browse: Example_Map 127.0.01 -game//Game/Maps/Example_Map
 [2014.08.07-00.53.12:555][655]LogInit: WinSock: Socket queue 32768 / 32768
 [2014.08.07-00.53.12:559][655]LogInit: WinSock: I am Matt-PC (192.168.0.10:0)
 [2014.08.07-00.53.12:559][655]LogNet: Game client on port 7777, rate 10000
 [2014.08.07-00.53.12:763][668]LogNet: Host name resolution failed with 51
 [2014.08.07-00.53.12:779][669]LogNet:Warning: Network Failure: PendingNetDriver[PendingConnectionFailure]: Your connection to the host has been lost.
 [2014.08.07-00.53.12:779][669]LogNet: NetworkFailure: PendingConnectionFailure, Error: 'Your connection to the host has been lost.'
 [2014.08.07-00.53.12:779][669]LogNet: DestroyNamedNetDriver IpNetDriver_0 [PendingNetDriver]
 [2014.08.07-00.53.12:779][669]LogExit: PendingNetDriver IpNetDriver_0 shut down

if you guys have any idea of what the resolution fail is please let me know.

Thank you! -Matt

Product Version: Not Selected
Tags:
more ▼

asked Aug 07 '14 at 01:05 AM in Blueprint Scripting

avatar image

omalleym
8 4 7 10

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

1 answer: sort voted first

You appear to have a typo in your call on the client to open the right ip address.

127.0.01 <- is missing a . and should be 127.0.0.1

I think the DNS resolver is trying to find the address as a string (like www.google.com) because the IPv4 format is incorrect A.B.C.D.

more ▼

answered Aug 07 '14 at 02:12 PM

avatar image

Crzyhomer STAFF
1.3k 35 26 103

avatar image omalleym Aug 08 '14 at 01:27 AM

Ah I see the mistake. Thank you! When I tried this though, I still have no luck :( It seems to be making a server and the other tries to find it, but doesn't give an error now, they just don't connect. If you have any ideas that would be great!

Here are my two log files of the games: 1.The first one starts the listen server 2.Tries to join but nothing happens.

Can't seem to place the log as a attachment as it gives me an invalid file type(though I am unsure why a text file would be invalid) I will post pictures of my log below instead with the listen and then the client.

[1]: /storage/temp/12265-listen+server+1.jpg

listen server 1.jpg (501.0 kB)
avatar image omalleym Aug 08 '14 at 01:29 AM

Here is the second part:

[1]: /storage/temp/12266-listen+server+2.jpg

listen server 2.jpg (513.7 kB)
avatar image omalleym Aug 08 '14 at 01:31 AM

Client trying to enter:

[1]: /storage/temp/12267-client+trying+to+enter+1.jpg

avatar image omalleym Aug 08 '14 at 01:33 AM

and client trying to enter 2: Sorry about the spam but I have been stuck on this problem for over a week and I can't add anything into the game until I can test it on a .exe

[1]: /storage/temp/12268-client+trying+to+enter+2.jpg

(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