[C++] What are the Best Practices for Multiplayer Team DeathMatch Lobby.
I have a Multiplayer Lobby where Clients(LAN) choose their teams, I register their Unique Ids and their teams in The Server's GameInstance(ListenServer) every Client's game instance is also aware of their team. The issue arises when I travel to a new level from the lobby. I can't come up with a way to transfer the information from the server's game Instance to the clients before the characters are spawned. I've tried overriding the GameMode's FindPlayerStart function but there's no game instance at this point. Also, begin play doesn't do the job on the PlayerController or on the Character.
asked Feb 12 '16 at 04:38 AM in C++ Programming
You need to change your ready to start match to wait until all clients have acknowledged the replication of the proper class information. If you have each client acknowledge on the replication of the class which increments a value in the game mode, you can do the following:
answered Feb 12 '16 at 05:36 PM
Store the gamestate values?
answered Feb 12 '16 at 03:10 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here