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. 

Maintaining Player List in Multiplayer Game Lobby

Hello,

I am trying for few days already to implement a player list system in a game lobby which includes: Custom Player Name, Team, Ping, Score and Chosen Spaceship. However, for some reason I can't seem to get it right, the player states modified from the client are not replicated properly to the server, or the server enforces his own variables on the clients. Meaning if a "Server" and a "Client" joins a room, the "Client" shows up as another "Server". It even enforced his ready status a while ago to the clients, but it got solved somehow. I also get "ERROR: Transient text cannot be serialized" on the ping in the "Client"s window.if it means something regarding this issue..

Regarding how it works, or at least how I was trying to make it work: Every player has MyPlayerState, which includes his custom name chosen from the main menu. So I'm trying getting all players array from Game State, then try to cast to their MyPlayerState in-order to get information.

In the Game Lobby: Players can choose spaceship, click ready button, change team etc etc. The server updates his information properly, however he doesn't get the clients information. I tried printing the the ready status of the server and client when both click ready, server sees true and false and client sees true and true.

Help? suggestions? Thanks.

alt textalt text

Product Version: Not Selected
Tags:
1.png (305.3 kB)
2.png (281.8 kB)
more ▼

asked Apr 09 '15 at 02:29 PM in Blueprint Scripting

avatar image

Baf179
31 3 8 11

avatar image Baf179 Apr 13 '15 at 09:37 AM

Bump..

I tried getting all actors from class MyPlayerState, yet server still doesn't seem to get the proper name, team, spaceship, etc etc....

Nobody did it? :S

avatar image Sir Quizalot Nov 02 '16 at 03:41 PM

Is this on server authority?

(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