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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Problem with creating a multiplayer scoreboard

Hi, I am creating a multiplayer game where one player is the server and others are clients. I would like to create a scoreboard just like there are in several game(cs go, call of duty, and so on). In the scoreboard I would like to only show the list of people in the game and their chosen game character.

At the moment the scoreboard is only working on server, all clients see an empty scoreboard. I used an Instance to save every player playerInfo in the lobby before starting the game.

I call out a custom event on server which goes into Player controller and should add all the players to scoreboard, but for some reason the array I am sending to Player controller has length 0, when running though client.Meaning AddPlayersToLeaderBoard gets Players in game length 0 when creating leaderboard for client.

Please help, I have been trying to solve this for almost a week now and I am starting to go crazy.

If my explanation was not clear enough, please leave a comment I will elaborate.

alt text alt text alt text

alt text

alt text

Product Version: UE 4.16
Tags:
more ▼

asked Sep 12 '17 at 09:31 PM in Blueprint Scripting

avatar image

kp6nn
6 3 4

avatar image Greywacke Sep 12 '17 at 10:55 PM

Might I suggest calling a print function inside of the LeaderBoardChild? At leats then you know that it is being created.

Is it possible that it is being created, but is in the wrong place in the leaderboard widget, so that it is not visible?

avatar image kp6nn Sep 13 '17 at 06:14 AM

Hi, Thank you for your answer. I have tried that already, the problem is that, the Leaderboard Child only gets called out when creating leaderboard for the server player(Because the getting "Players in Game" array variable is suddenly empty.alt text

And for the visibility part. I have checked every place i know to check and nothing has worked :/ I will double check after work and post you and answer of a list of all the places i have checked for showing visibility, maybe you can see that I have missed a spot.

alt text

avatar image Greywacke Sep 13 '17 at 10:16 PM

Take a look at this answer: https://answers.unrealengine.com/questions/195831/player-list-in-multiplayer.html

They seem to have a very similar problem to you, so the answer might well be suitable for you too!

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

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