HUD is messed up in Multiplayer Mode

Hello guys.

I have a HUD that SHOULD display per each player his health, armor and other info like when he kills a Player, when he pickups somethings from ground…

It works, but when I try to set number of clients to 2… everything is messed up.

I have troubles…
Since I’ve not been receiving any replies, PLEASE check this out

Hello ,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed set of steps to reproduce this issue on our end?
  3. Could you provide screen shots of any blueprints/ code that may be involved with this issue?
  4. Where exactly are you creating your widget?

It’s not a bug.

I had this problem with several projects.

My problem is that I don’t know how to manage variables, functions and Blueprints getting them ready for a Multiplayer game.

I need someone who helps me over this issue

Any help?.

Hi ,

During weekend, most of our support staff is not here. Rudy will get back to you as soon as he can after weekend is over.

In meantime, there’s a substantial amount of information on how to set up variables and functions in multiplayer games in our documentation. Here are a couple of links that should help you get started:

Of course a more full example is ShooterGame example available in Learn tab of launcher. It’s a C++ multiplayer example that might answer a lot of questions for you.

When you get a chance, please let Rudy see some of code you’re working with that you’re having issues with. It would be very helpful to see project you’re working with, if you want to upload it somewhere and get him a download link.

Thanks for answer. I’m not alone here, someone answered finally ahaha.

Anyway, I already installed ShooterGame and also took a look at documentation links you provided for me.

I’m a bit confused, since any project is build in different ways.

Since any project is different each other I need someone who’s willing to help me with MY project and with this multiplayer issue, I’m lost.

Thanks for consideration.

Thanks for reply.

I think I figured out where’s problem with my game.
![alt text][1]

Accessed none MyCharacter

Why? Why isn’t my character reachable in Blueprint (cast always fails)?

Hello ,

Your question appears to be a little too vague. If you would like assistance I will need following:

  1. You well need to provide a specific and concise question that you would like to have help with.
  2. You will also need to provide examples of your current progress so as to provide a starting point.
  3. You will need to provide screen shots of blueprints/code that you would like assistance with.

Hello ,

Would it be possible for you to provide project that you are working on so that I may take a closer look? There are a few different possibilities as to why you would be getting error that you are seeing.

Actually project is kind of big. Are there some parts of it you really need to take a look at? Uploading whole project actually takes 8 hours. Maybe you need FirstPersonCharacter.cpp?

Note in case you misunderstood
This problem happens as longer as I set number of clients greater than 1 (without “Run Dedicated Server” checked)

So, it doesn’t happen in “Single Mode”, just in second window

Without taking a look at project, one suggestion would be to make sure that when you have things (Your HUD in this case) cast to your character that character spawns before cast is called. It looks like your HUD may be getting called before character is added to scene. As I said before a couple of questions that will help narrow down your issue are:

  1. Can you reproduce this issue in a clean project?
  2. Could you give a detailed set of steps to reproduce issue that you are seeing on our end?

Well I tried with a new and clean project but it doesn’t happen.

I don’t know why that happens in my project. Maybe HUD should wait some time before acting.

@ you mean what I’ve done to cause this issue?

Here it is: Replicate Health and Armor variables for the Players - C++ - Epic Developer Community Forums

Would it be possible for you to provide a copy of your project so that I could take a closer look at your issue?

I’d like to give you a copy, but it actually requires about 5-6 hours for upload.

Is there another way to give you project? Maybe only some important files, essential ones in order to make you see issue.

@ try this Dropbox - Error - Simplify your life

I was unable to download project that was sent. Could you make sure that it was zipped down before being added to your dropbox?

It’s just a folder, it’s not zipped. Should I upload file again?

Yes, if you could down folder and then resubmit project it would be appreciated.

@ thanks for answer

Actually I understood that I should’ve used a Delay of 0.2 seconds in BeginPlay.

Even if that is creating other problems…

Please, check this out

I’m getting really mad, I don’t understand where is problem.

I seriously need someone who’s willing to help me setting up Multiplayer part properly cause I’m really really confused.

I’m frustrated right now