Server/Client and Widget problem during tutorial

CrimsonHawk
Thu, 01 Sep 2016 20:52:48 +0000
UI

I am currently following your Multiplayer Tutorial video series and found a problem with a widget, and also a problem with “IsServer” boolean.

My project is currently at the stage of the 16th video, and if I start the game in 2 windows if I host a game the Lobby Menu loads in as it should, but if I try to join it, the widget doesn’t show up.

I dig in the code where the problem does happen but I couldn’t find the reason:

1. In the LobbyPC it creates a Lobby Menu Widget and saves it to LobbyMenuWB, no problem here yet.

2. In the LobbyMenu’s Graph after the Event Contruct, the “IsServer” boolean always give true! (The picture was taken from Client1 when joining the Lobby) (But it still shouldn’t cause this next step, I guess)

3. In the LobbyPC, after UpdateLobbySettings, the reference in the LobbyMenuWB disappears!

I zipped up the project to put to Google Drive, here is the link:
https://drive.google.com/file/d/0B0zfayRWQIKOZFM3QldUTlpaVms/view?usp=sharing

4 posts - 1 participant