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"

Client player can see Server player, but cannot see his actions

I have set up a simple multiplayer game for my project based on FirstPersonShooter example project. The game starts with the view from static camera and with multiplayer menu shown just like on the client image, for every player.

-Server player clicks on host - it creates a session and opens world with listen option.

-Server player can click on start to spawn his character and can move and shoot as he likes.

-Client player clicks on search, game searches trough LAN and finds Server players session. Join button shows up.

-Client player clicks on Join to join session.

Problem is on the image. Client player should see the same world as Server player is in. He indeed sees the Server player(that tiny gun on right from those 3 boxes in the middle) but he cant see anything that server player does except when he is moving - Like on the image, when Server player shoots the boxes, they are pushed away on his screen, but client sees nothing on his screen, and whats more weird - when Server player goes trough place, where on the client screen are boxes, those boxes on the client screen are pushed away.

I am kinda new to the Unreal Engine, especially to the networking, so i have absolutely no clue where the problem is. Can you help me please? :D

alt text

Product Version: UE 4.10
more ▼

asked Jun 21 '16 at 12:41 PM in Using UE4

avatar image

1 2 2

avatar image MilosMarcincin Jun 21 '16 at 01:41 PM

UPDATE: I patrially solved the problem - i forgot to set the projectile that is shooting from the gun to replicate to the clients... :D

But when client joins session where server player was for a while and he had shot something, the map on client screen is still brand new...

(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