Download

[Networking] Line Tracing problems across server/client

this is what i have for the line trace on server, 0a27cc5698c7a910828179c3ec64fe911d076380.png now when i fire a weapon on the host/server it works as intended… seen here, http://i.imgur.com/NaL7VXN.gifv and this is what happens when i try to fire the weapon on a client, http://i.imgur.com/mCDf2iP.gifv

this is where it’s being called 5wT2BH4.png and i’m obtaining the Controller ID wEk68Y7.png

I have the linetraceonserver event sent to multicast and reliable, the has ammo and controllerId are both Replicated as well as the blueprint itself. is anyone able to help me figure out what I’ve done wrong?

When you call a multicast function from the client, nothing will happen. This is because multicast is only replicated if the server calls it, which you can see on the node itself that says “replicated to all (if server)”.

Personally, I wouldn’t use a multicast function at all and instead use a server function.

This should work.

[spoiler]

1d60ec40d921aa87a08de070587b3d0bc7b5b3b4.png
[/spoiler]

In Delicious post above, just call ServerShoot directly from InputAction Fire.