Announcement

Collapse
No announcement yet.

LAN Multiplayer Issue :(. Want to solve once and for all.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    LAN Multiplayer Issue :(. Want to solve once and for all.

    Hello Community!

    I'm going to go into quite a bit of detail on the problem and how the project is setup:

    Problem

    When I connect to the Host computer via LAN, I cannot see their movements. Another thing, is that when I connect, from the client side, I have a check to see if a game mode is found. if it isnt' valid, it does a check. It keeps showing up that check that the game mode's not there.

    Keep in mind, this is on Oculus and Oculus Touch.

    Setup

    Here's the game instance class (dont mind the Max results = 0 ... I have it equal to one since I'm only looking for one)

    Click image for larger version

Name:	GameInstance.jpg
Views:	1
Size:	423.8 KB
ID:	1204037

    Player Pawn Class (It's being replicated along with the movements...motion controllers)

    Click image for larger version

Name:	PlayerPawn.jpg
Views:	1
Size:	380.4 KB
ID:	1204038

    The Lobby Pawn(also being replicated)

    Click image for larger version

Name:	LobbyPawn.jpg
Views:	1
Size:	372.5 KB
ID:	1204040

    and the Level view itself

    Click image for larger version

Name:	Level.jpg
Views:	1
Size:	183.9 KB
ID:	1204039

    Now for the detail setup:

    I have all of the .ini setup stuff correct (Onlinesubsystem being Null, etc).

    The GameInstance I'm having it be in charge of hosting, finding and connecting the game for the player controllers. I also ensured the game instance class in the project settings.

    There's a lobby pawn for the Lobby Level (Just an empty level with a renter text saying "LOBBY" on it) and the default pawn class for that level is lobby pawn.

    Once the lobby pawn is hosting, it will change to the multiplayer level. same thing to finding and connecting. It has no problem Hosting, Finding or Connecting to any session.

    When the Client enters the Host, it cannot find the game mode. It's essential for the player to spawn in the correct player start location.

    From what is being seen here, is there anything wrong? Something I'm missing?

    UPDATE

    Furthermore of the problem, I have this issue in particular. I got them to connect.... but something isnt right with the replication:

    Added this to the playerpawn to see if both players can see each other properly

    Click image for larger version

Name:	PlayerPawnText.jpg
Views:	1
Size:	331.0 KB
ID:	1204041

    And here is the results:

    Level on both levels connected via Lobby into Court (Nothing pressed yet)

    Client on LEFT and host on RIGHT

    Click image for larger version

Name:	Connected.jpg
Views:	1
Size:	870.0 KB
ID:	1204042

    Pressing the button on Client Side only

    Click image for larger version

Name:	Client Side.jpg
Views:	1
Size:	866.7 KB
ID:	1204043

    Pressing the button on the Host side only

    Click image for larger version

Name:	Host Side.jpg
Views:	1
Size:	877.6 KB
ID:	1204044

    Something weird is going on for sure . I also tried the Custom event on multi-cast, but Only the host can see everything not the client
    Last edited by CHADALAK1; 12-15-2016, 04:42 PM.
    Portfolio/Tutorials: http://chadreddick.com
Working...
X