[Help]Multiplayer Shootout (More than 2 players)

PROBLEM SOLVED!

Solution:


Original Post Below!

Hello,

Today ive been looking closley into the Multiplayer Shootout project. I have run into a issue where i cant have more than 2 clients joining. Been trying everything thinkable for me as a scrub (spent about 10 hours+), would appriciate if someone could have a look at the project and see if they see something obvious and maybe point me into the right direction.

In the project you will notice that ive tried to allow 2 more players to join. I also seem to get a issue when you check server list from a different network it shows -1 in ping and doesnt upload the player counter.

Error when the third tries to join the game seems to be Pending Connection Failure.

All help is very appriciated!

Download link: MEGA

Pictures:
Errors: http://i.gyazo.com/610a83cc997a579a159b139ddd333869.png
Host Game: Screenshot - 6febd81dafe952eb62f12a0dbc4bc103 - Gyazo
Join from server list: http://i.gyazo.com/08967fda9d154657a1d0ba81faac9e1a.png
Respawn player at random loc: http://i.gyazo.com/66e6ae1f5df0aea094fe6c3554206468.png
Post login: http://i.gyazo.com/6a007087d3fb698b4dc2fdc3e5bca508.png
Post login original ForEachLoop: http://i.gyazo.com/c7bc5ed3b3d15f8bc3aa95a4d29912af.png
Level_01 PlayerStart’s: http://i.gyazo.com/ea52c803f033efcfac6fd9ad03d08dad.png

Hm, weird.

I just opened up you project. Can’t get a third player to join either, but to be honest: I find it hard to understand anothers project so fast.
I would need some more time to understand what they are doing here. Also i changed the tag of one of those spawns to “Player 3” since you
are trying to spawn 3 player and you added a “Player 3” tag check for the spawns.

When i open the main menu level (not starting the game, just opening it) and launch the game with 3 players, i get this message with 2 of
them. After starting the game with one of them, i can find the game with both, but only join with 1. It is set to “InternetMode”
and the Error message made me laugh too hard:

I will need to investigate the project further to find the problem. I guess they somehow limited the players. Somewhere in this project there
might be a small number 2 that keeps us from connecting the third player.

If i have time this evening, i will try to find the source of it. In the meantime you can try to search for any limitation for the player number.

I saw that you already made some good changes.

EDIT: Ok “Ehm Mooni” is a pending connection error. I won’t ask why they called it “Ehm Mooni” >.<

Ehmm ye i just typed something to stand out so i would notice while debugging. :stuck_out_tongue:

Sorry for the lack of pictures, i was really tired when i posted this thread and my m8 actually wrote the text for me <.<
Well here is some pictures:
Errors: http://i.gyazo.com/610a83cc997a579a159b139ddd333869.png
Host Game: Screenshot - 6febd81dafe952eb62f12a0dbc4bc103 - Gyazo
Join from server list: http://i.gyazo.com/08967fda9d154657a1d0ba81faac9e1a.png
Respawn player at random loc: http://i.gyazo.com/66e6ae1f5df0aea094fe6c3554206468.png
Post login: http://i.gyazo.com/6a007087d3fb698b4dc2fdc3e5bca508.png
Post login original ForEachLoop: http://i.gyazo.com/c7bc5ed3b3d15f8bc3aa95a4d29912af.png
Level_01 PlayerStart’s: http://i.gyazo.com/ea52c803f033efcfac6fd9ad03d08dad.png

Edit ehmm 3 i think:
“LogOnline: NULL: No game present to join for session (Game)”
“LogSpawn: Login failed: Server full.”
“LogNet: Network Failure: GameNetDriver[FailureRecived]: Server full.”
“LogScript: DestroySession - Invalid player state”
“LogNet: Network Failure: GameNetDriver[ConnectionLost]: Your connection to the host has been lost.”
“LogScript: DestrySession - Invalid player state”
Look for your self:
image1: http://i.gyazo.com/bea7a48977f48ef32c757215fa3d59f1.png
image2: http://i.gyazo.com/fcc16c8cccad19a23100a312e904689a.png
image3: http://i.gyazo.com/4e8360c39fe27c425f113432176b6316.png
image4: http://i.gyazo.com/1843638a7f658d34cab789c18164ca00.png

I haven’t delved deep into it yet but I would assume there may be a config file set with a max players which is one of the errors you are getting. So if the max players is two you cannot connect a third.

indeed something i have been searching for but havent found. the only restriction i found is this one:

I have found and set the player start tags correctly on both 3 and 4 but still same error :confused:
(btw i didn’t understand that was what eXi meant, I feel like such a scrub…)
0868e64dcf80e06e1be18b3d67a34263.png

Problem solved, thx for the help everyone :smiley:

Would you mind posting the solution? (:

The Solution is in the first post, added it there at ones when i found it, sorry for not reffering you to it earlier.

edit: Also, I cant seem to change the title to solved so if any moderator could do that for me it would be wonderful (:

Thank you for the post 94Mooni, this really helped me out!

Thank you so much for posting your solution! I’ve been trying to fix this unsuccessfully for over an hour now

Heyaa, you haven’t really posted a solution, just some images with files… can you be a little bit specific please, or am i completely missing it?

Yes, i only see images too. Can you help me with the solution plz?

I am experiencing the same problem, but the “solution” posted in the OP does not show anything but file names. Can anyone help?

Anyone actually figure out what OP meant?

[Solved]

Edit the DefaultGame.ini file as shown below.

[/Script/Engine.GameSession]
MaxPlayers=16

“MaxPlayers” default value is 16.

Set the MaxPlayers value according to the number of clients to access.