x

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"

Only CLIENT can damage actors! (Replication/networking issue)

Hey! thanks for reading my stuff :D So i got kind of a weird problem. When testing out my game, i can only Host the game (create the session) with the client and join the session with the server. If i try to host the game with the server, it'll automatically make the client load a level in a separate server (weird, huh?). My blueprint for Hosting Joining is super simple. event click on host creates a session and loads a level (listen server) and event click on Join searches for session and joins the first one found. (i don't even think it's worth a screenshot). Anyway that's not my biggest issue. The problem is that this causes problems with what i think is replication (?). By that i mean that while the client (host) can damage blocks with a simple script (event any damage decreases a health value, when Health is to 0, destroys them) alt text , the server is able to shoot but, while when he touches the block, the emitter (that's supposed to spawn on hit event for the projectile) spawns, for some reason the actor ain't destroyed. Here's a screenshot to my BP for my projectile. alt text alt text When the Client (host) hits something, it plays Client FUCKEMUP and it destroys the actor, while when the server hits it plays directly Event FUCKEMUP and it doesn't destroy the actor. What's up with that? Thanks for any help :)

Product Version: Not Selected
Tags:
gthgrf.png (242.3 kB)
fgrg.png (104.6 kB)
sans titre.png (249.8 kB)
more ▼

asked Jul 23 '17 at 09:16 AM in Blueprint Scripting

avatar image

LeScorpion
1 1 2 7

(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