Unreal Engine 4 Tutorial - Online Multiplayer Part 4: Rep Notify

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 30

  • @Taurickk
    @Taurickk 3 ปีที่แล้ว +1

    Trying to build multiplayer into my 4X/CityBuilder hybrid and this repNotify in particular is really going to help me keep track of things like unit positions, game speed, construction and economy. Thanks for putting all this together!

  • @sevenstringserpent5345
    @sevenstringserpent5345 4 ปีที่แล้ว +7

    I imagine this method would be ideal for Round Times, like in Counter-Strike and such? I’ve been struggling with just that and I think you just saved me!

  • @devonstern
    @devonstern 3 ปีที่แล้ว +3

    For others following along, careful not to get mixed up like I did with the Random Float variable. At one point I accidentally put in the Random Float function instead of the get Random Float variable, and I couldn't understand why I was getting different values showing up in the text component when the variable was the same for server and client.

  • @theycallmeh3x
    @theycallmeh3x 2 ปีที่แล้ว

    This was extremely helpful, thank you for posting.

  • @scottlee38
    @scottlee38 4 ปีที่แล้ว

    This is extremely helpful! Never even knew what this was called till now.

  • @callumcowden1511
    @callumcowden1511 4 ปีที่แล้ว +8

    The best explanations of replication I’ve seen, really simplifies the process, well done :)

  • @gagemurphy777
    @gagemurphy777 4 ปีที่แล้ว

    Looking forward to more videos in this series!

  • @allashama
    @allashama 10 หลายเดือนก่อน

    Great tutorial.

  • @BabySp00n
    @BabySp00n 4 ปีที่แล้ว +1

    These are the best dude thanks for helping us out as always 🥰

  • @murataltngul4980
    @murataltngul4980 4 ปีที่แล้ว

    thank you for making this tutorials

  • @savit3r
    @savit3r 4 ปีที่แล้ว +3

    When you say “server” is it the host player?

  • @michaelbabcock6997
    @michaelbabcock6997 2 ปีที่แล้ว

    IS the net cull distance connected to the sphere in someway, or is the sphere just a rough visual for the boundary?

  • @mohamedayman5240
    @mohamedayman5240 4 ปีที่แล้ว +1

    is this for online games like pubg and fortnite or it's multiplayer when 2 pc connected to the same wifi

    • @RyanLaley
      @RyanLaley  4 ปีที่แล้ว +1

      Both

    • @mohamedayman5240
      @mohamedayman5240 4 ปีที่แล้ว

      @@RyanLaley good .. i hope i can understand I'm very interested with multiplayer games ... thanks

  • @ince55ant
    @ince55ant 3 ปีที่แล้ว

    could you optimize this by using a random stream variable (with a random seed) that gets shared at the start then each iteration gets the random floats from that?
    obviously you couldnt do the demonstration like that but thought id just put that out there

  • @swokee1
    @swokee1 9 หลายเดือนก่อน

    How can we make the host player see it when he enters that area?

  • @nielsbieri8606
    @nielsbieri8606 4 ปีที่แล้ว

    What about the functions/Macros? Do you have to replicate them? Can you use the same function once from the server side and once from the client side?
    Do all variables have to be replicated?
    An example: I use a variable to control the double jump, does it have to be replicated to use the double jump? Because it works for the client, but the server can't double jump anymore.

  • @fahood9242
    @fahood9242 4 ปีที่แล้ว

    Will there be tuts on how to actually host matches and join em

  • @julienlegault922
    @julienlegault922 3 ปีที่แล้ว

    I have a bug using this , where if the number doesnt change, the client goes out of range, comes back, no rep notify is called because the value didnt change. and the client goes back to seeing the default value.

  • @zeffster2
    @zeffster2 2 ปีที่แล้ว

    it bugs me a little that rep notify sends this data, even to unrendered clients outside the field. cheaters can look at this data and know what they shouldnt. unless i misunderstood something

  • @ChinyONE
    @ChinyONE 3 ปีที่แล้ว

    Voice Crack of Death

  • @roskelld
    @roskelld 3 ปีที่แล้ว

    Got a slightly odd thing playing out: I have a lever switch that I'm animating through a multicast (Using a setup similar to the previous video) and I'm using the switch state boolean to RepNotify clients to handle synchronization if they join late or are not local to a change. This all works, however I'm finding that for the first interaction a client does with the switch causes it to update just via the RepNotify (so it doesn't animate), but then all future interactions it seems to run fine through the multicast (it animates into position). It always animates on the server thought.
    Any idea why this might be happening? Could it be a Replication Condition?

    • @julienlegault922
      @julienlegault922 3 ปีที่แล้ว

      if you are using a timeline, the timeline local state isnt replicated. so when it tries to play the reverse animation, its already in the final position.

  • @clebo99
    @clebo99 3 ปีที่แล้ว +3

    I'm sorry Ryan...but for some reason I just can't follow what you are saying in these videos. I'm still having issues with variables not replicating across and I think maybe you are leaning on some of your other videos and not explaining some items. This should be much easier than it is. Anyway, just very frustrated and may try another video series to see if I can understand better. I'll still follow your other videos but I'm giving up on this series.

    • @anasdev1553
      @anasdev1553 3 ปีที่แล้ว +8

      buddy, setting up servers and stuff is THE hardest thing in unreal engine, you are not expected to get it done that easily, I am somewhat an expert when it comes to unreal engine and I still suck at online hosting and etc. and I tell ya, ryan vids are the easiest out there and I think I checked every single video on this topic on youtube