Problems with multiplayer

I’m from germany so I could eventually make some mistakes. I’m sorry for that. :slight_smile:

I’m making a little multiplayer game and nothing works. I will post some screenshots so that you can see, what I did.
Well, I replicated all variables, set all functions to multicast and nevertheless, my client doesn’t see anything, for example, when the server kills an enemy or takes a weapon. Furthermore, my clients can’t damage any enemy, take any weapon and their healthbar is set to zero.
When I apply damage to the client from the server, the server kills himself and the enemies can’t attack the client at all.

Surelly, I want to know how to fix this (It’s probably much work, I ]know…).

Have I to set up more character-BPs? And how do I spawn the first char as one of these BPs and the other as the other BP? Would this fix my problems or did I some mistakes with the replication?

Thank you for every answer. :slight_smile:

Try to folow all the live training made for replication by UE4 staff - Replication | Live Training | Unreal Engine - YouTube

Ok, I’ve seen that the Client can see if the server has a weapon and the client can also take damage - but this damage goes to the server. Therefore, the server can’t take damage and the enemies, which I control with an OnSeePawn, don’t move to the server, only to the client.

Oh cool, that’s what I was searching for. :slight_smile:
I’ll try to understand what they say… :wink: