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"

BP Networking - WallRunning Client Issues

Hi all, I'm new to UE4 networking and in the process of trying to understand it I'm attempting to make a networked version of Matthew Palaje's Titanfall 2 Wallrunning vid (link: https://www.youtube.com/watch?v=OpoTTJQOADU&list=PLU5bW3o0bUgQDwayV-EnLRTUTiRVuyT9r∈dex=10)

The issue I'm having is while the server's wallrunning works fine, the clients can only wallrun once or twice. The next attempt to jump on the wall fails to wallrun with the player simply falling along with some jittering and lag. My wallrunning uses LaunchCharacter instead of AddForce since my jumping also used LaunchCharacter and that works without issues, and AddForce had a similar issue with failing to work which is where i diverged from Palaje's video.

Overlap events seem to be working fine and what I assume the issue mostly rests with failing to synchronize pushing players along the wall and the server being like NOPE DONT DO THAT. I have the wallrunning movement functionality called through a multicast, and if it is a client it calls a server event that then calls the multicast.

I have the jumping & wallrunning script section here (https://blueprintue.com/blueprint/5c-si8q3/) as well as zoomed in sections of the server & multicast calls as well as the contents of the wallrunning macro. alt text alt text

UPDATE: It was pointed out my Multicast for wallrunning wasn't set to reliable, however after fixing that the situation was improved but the problem still remained after a few wallruns. Sometimes the LEFT WALL string is printed when the players immediately fail to stick to the wall which leads me to believe there's also problems with overlap events, but that's also inconsistent whenever players can't wallrun.

Product Version: UE 4.20
Tags:
more ▼

asked May 31 '19 at 06:07 AM in Blueprint Scripting

avatar image

Brandony
1 1 2

avatar image Brandony May 31 '19 at 09:20 PM

After further testing it seems my issue is that the OnWall variable is being forced to be false by the server so the clients can't really seem to stick to walls.

avatar image Debaucher May 31 '19 at 09:41 PM

Do you have your multicast set to reliable?

avatar image Brandony May 31 '19 at 09:46 PM

Yeah all the server and multicast events are set to reliable

avatar image Brandony May 31 '19 at 09:47 PM

OH WAIT holup lemme double check that

avatar image Brandony May 31 '19 at 09:57 PM

So i set it back to reliable (not sure how i missed that thank you for pointing that out) which works better, but after a few wallruns it still eventually fails to stick just like the previous times. Sometimes the LEFT WALL string is printed when the players immediately fail to stick to the wall which leads me to believe there's also problems with overlap events, but that's also inconsistent whenever players can't wallrun.

(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