[Unreal Engine] - How To Create A Multiplayer Game

Ғылым және технология

This video will show you how to create a multiplayer game using Unreal Engine.
- Links -
Website: elias-wick.com
Patreon: / eliaswick
Twitter: / eliaswick
Instagram: / eliaswick

Пікірлер: 653

  • @LookItsCollin
    @LookItsCollin3 жыл бұрын

    The way you formatted this is the same way every tutorial channel should. No wasted time, very quick and to the point, no extra junk. I've written and deleted the rest of this comment multiple times. I'll just get to the point. I've worked with the engine for several years and I teach it to kids. I don't really need tutorials anymore but I've never worked with multiplayer so I've been getting into some again. I'm almost done with DevAddict's tutorial on networking, it's 10+ hours long and not to be mean to him or anything but it's reminded me of why I've always hated having to turn to tutorials for help. I'm of course insanely grateful he went through the effort and his series has given me tons of knowledge I otherwise wouldn't have but it was definitely a drag most of the time. Your video was the opposite. I clicked on it because I wanted to see what a ~10 minute video had to offer compared to the 10+ hour series I'd just sat through. If you had a foundational set of multiplayer videos you could really corner the market here. Like, based off of this one video it wouldn't be optimal to create a video on how to implement text chat. And that's mainly because this video didn't cover things like passing variables and all that between players. You could turn this video into the first part of a foundational series. The next video would focus on how to pass fundamental player information between players. So you could show how to save a player's display information like name and "skin" (just a material option would be enough). After that you could branch off into multiple standalone tutorials that build off of that. Because once you have players able to open a "scoreboard" and see each others names it means you have variables set up for things that can be re-used for something like text chat. Text chat was covered in DevAddict's video but his video was crazy long and bounced between topics the entire time. I didn't want text chat so the time he spent on chat was not extremely relevant to me but I had to watch it anyway due to the formatting. I see someone asking about event replication with regards to things like doors. That'd be another excellent standalone spinoff topic for a multiplayer video. Even if you just had a video explaining what events should be handled by server vs client and what variables should be replicated you could save people actual HOURS of time.

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    Thank you immensely for the very positive comment! I value my audience highly and appreciate any feedback I can get. I have been looking into other areas of multiplayer, but I am still grasping the concept of how to get everything to work properly. I know there is a lack of good tutorials regarding multiplayer, however I do believe the reason is because of time constraints. Multiplayer videos take a lot longer to complete due to replication. I am currently working on my own test project that covers multiplayer, and I have yet to find a perfect and most optimal way to store and share variables properly between players. It took me a long time to grasp the concept of replication and how Unreal Engine 4 handles game mode. I think there is a great tutorial that touches upon the subject, but only vaguely. I hope Epic can create some more work on getting the basics setup. It would be perfect to have the creators to showcase the intended use and setup of multiplayer.

  • @Zer0Flash
    @Zer0Flash Жыл бұрын

    bro this is easily the best tutorial overall ive seen, nothing complex, no time wasted, everything explained and its short

  • @EliasWick

    @EliasWick

    Жыл бұрын

    Thank you very much!

  • @dawne2780
    @dawne27802 жыл бұрын

    It is so incredible how unreal has made it so easy to do. Thanks for the video!

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    I know right? Incredible simple!

  • @anthonyhoganson9527
    @anthonyhoganson95272 жыл бұрын

    Quick and simple. I'm sure there is a ton of nuance to multiplayer, but you covered exactly what I was looking for in less than 10 minutes.

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Thank you very much Anthony. I am sure you have had some time to now look into replication, and noticed the difficulty of getting the grasp of that ;)

  • @elibo3358
    @elibo33583 жыл бұрын

    elias wick you litterally the best. i scrolled down and you responded to just about every comment.

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    Hey! Thank you very much! I really appreciate your comment!

  • @holdthetruthhostage

    @holdthetruthhostage

    Жыл бұрын

    @@EliasWick I will watch this my question is this with Epic Online Services

  • @EliasWick

    @EliasWick

    Жыл бұрын

    @@holdthetruthhostage Epic Online Subsystem is a separate thing. You can read more about it online :)

  • @holdthetruthhostage

    @holdthetruthhostage

    Жыл бұрын

    @@EliasWick ok but what's the difference

  • @EliasWick

    @EliasWick

    Жыл бұрын

    @@holdthetruthhostage This will explain how it works: docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/Online/EOS/

  • @popcat9148
    @popcat91482 жыл бұрын

    I have been learning mirror in unity for like.. a year and then I was like "Why don't I try unreal!" this was truly unreal. Liked and subbed!

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Thank you very much! I hope you will give unreal a chance. It is difficult at times, but the community is really great!

  • @popcat9148

    @popcat9148

    2 жыл бұрын

    @@EliasWick I can see that!! I honestly think that I might do unreal from now on. I never got unity multiplayer working.. not even after a year! And I did this in 8 minutes!

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    @@popcat9148 Haha, glad you enjoyed the video! Best of luck! :)

  • @alexanderkolm502
    @alexanderkolm502 Жыл бұрын

    Thank you so much for this video! I am a fellow Swede and really like the simplicity in your videos

  • @EliasWick

    @EliasWick

    Жыл бұрын

    Thank you Alexander, I appreciate the comment!

  • @joshvictorious8050
    @joshvictorious80502 жыл бұрын

    So good straight forward, I like it!

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Thank you very much! I really appreciate comments like these :)

  • @goldfish2544
    @goldfish25443 жыл бұрын

    GREAT VIDEO VERY HELPFULL WELL DONE MATE I AM PROUD OF YOU

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Hehe, thank you very much Goldfish :D

  • @shawnnielsen8697
    @shawnnielsen86972 жыл бұрын

    This is a great tutorial. Thank you so much!

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Thank you Shawn! I appreciate the comment! :)

  • @jonfriedl4786
    @jonfriedl4786 Жыл бұрын

    Bruh You have made the Best multiplayer tutorial for unreal engine 4 ever, Period.

  • @EliasWick

    @EliasWick

    Жыл бұрын

    Thank you very much Jon!

  • @amigoface
    @amigoface3 жыл бұрын

    very informative, thanks .

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    No worries! Thanks for the subscribe :)

  • @nxttn34oop43
    @nxttn34oop434 ай бұрын

    This tutorial is exactly what I was looking for your epic

  • @EliasWick

    @EliasWick

    4 ай бұрын

    Thank you sir! Glad you liked it!

  • @FireBlast2.0
    @FireBlast2.03 жыл бұрын

    thank you this was very helpful

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    No worries :D

  • @chaimlubotsky6387
    @chaimlubotsky63873 жыл бұрын

    Dude I subbed you totally deserve more views and followers your so smart and awesome

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    Thank you very much! I really appreciate it! :)

  • @chaimlubotsky6387

    @chaimlubotsky6387

    3 жыл бұрын

    @@EliasWick no I appreciate you

  • @dekekfi
    @dekekfi Жыл бұрын

    Bro i was searching that for 2 months Thankss!!!

  • @EliasWick

    @EliasWick

    Жыл бұрын

    Glad you like it! :)

  • @Phusck
    @Phusck2 жыл бұрын

    Very precise. Well done.

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Thank you Ole! :D

  • @romanwupik
    @romanwupikАй бұрын

    Thank you! This is exactly what i needed! All works perfect but to make really good online games i need to learn a lot more...

  • @EliasWick

    @EliasWick

    Ай бұрын

    Thank you for the comment! You are completely correct! :)

  • @flexcg675
    @flexcg675 Жыл бұрын

    thank you bro! tutorial is perfect! without unnecessary waste!

  • @EliasWick

    @EliasWick

    Жыл бұрын

    Thank you! This was my goal when making it! :)

  • @elibo3358
    @elibo33583 жыл бұрын

    thank you so much. bro this is so cool

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    No worries! Glad I could help! :)

  • @krancore
    @krancore3 жыл бұрын

    Thank you for the video. Cool logo of your channel, friend!)

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    Thank you very much, I honestly believe that you are the first one to comment on my logo :)

  • @krancore

    @krancore

    3 жыл бұрын

    @@EliasWick, Friend, can you tell me, did you create multiplayer in c++ in ue4?

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    @@krancore No, I have not done anything with multiplayer and C++. It would be done in a similar fashion as shown in this video.

  • @timmy1555
    @timmy15552 жыл бұрын

    I didnt think that was so ez. Thanks for The video!

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Glad you enjoyed it ^^

  • @Emurga
    @Emurga3 жыл бұрын

    Cool tutorial thanks

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    Glad you liked it! :)

  • @doellium2326
    @doellium2326 Жыл бұрын

    I’m making a game and would love online coop this has helped me so much to achieve my dream 😊 thank you!!

  • @EliasWick

    @EliasWick

    Жыл бұрын

    I am so glad I could help Liam!

  • @SelveloCity
    @SelveloCity3 жыл бұрын

    You are the best THANK YOUUUUUUUUUUUUUUUUUU!!!

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    Haha, thank you for watching! :)

  • @CrowGMS
    @CrowGMS2 жыл бұрын

    thank you so much it saved my life!

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Thank you! Glad you liked it! :D

  • @DeepStateCabal
    @DeepStateCabal2 жыл бұрын

    Thanks for the video

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    You are welcome! :D

  • @Liev04
    @Liev043 жыл бұрын

    WTF this is far more simple than everyother i watched and it worked

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Haha I know... I tried to keep it simple.

  • @imgf_455
    @imgf_455 Жыл бұрын

    thank you so much

  • @EliasWick

    @EliasWick

    Жыл бұрын

    No worries! Glad you liked it! :)

  • @kaymonosara
    @kaymonosara2 жыл бұрын

    Very basic! I love it!

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Thank you KO! :)

  • @AflorAStudios
    @AflorAStudios Жыл бұрын

    Thank you kindly

  • @EliasWick

    @EliasWick

    Жыл бұрын

    No worries! I really appreciate your curiosity for Multiplayer! :)

  • @zubairahmadharoon
    @zubairahmadharoon2 жыл бұрын

    thanks it is the easiest way, thanks a lot. :)

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    I know, it is super simple! I am glad you found it helpful! :D

  • @umera6459
    @umera64593 жыл бұрын

    I just subscribed to you bc this was way to helpful i am making a fps shooting game ant ideas for that adn could you make a toturial on how to make one?

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    It would unfortunately be very hard for me to make an FPS. There are many types of first person shooters and it would be hard to please everyone. If you look at the marketplace, it think there might be something you can purchase from there and just setup from your end.

  • @betekaexe
    @betekaexe2 жыл бұрын

    thank you for showing me how easy it is to make online games

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    My pleasure, now don't be completely fooled. Making the rest is quite a difficult task ;)

  • @FireMixYTing
    @FireMixYTing2 жыл бұрын

    Oh my god! This is so unfair! :D I am new to Unreal, but have some experience in Unity. Recently I had to work on a multiplayer game and it was so annoying.. Can't believe this is so simple. Kinda mad at it :D

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Haha, I know right? It is super awesome and simple!

  • @mrchipsexe5206
    @mrchipsexe52062 жыл бұрын

    tankssssssssssssssssssss bro love you👍👌👑

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    No worries Mr Chips :)

  • @ThrillDaWill
    @ThrillDaWill3 жыл бұрын

    does this work with ipv6? I don't have a ipv4

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    I guess it should? Try it. It only takes s couple of minutes to setup :)

  • @jonaspriebeofficial
    @jonaspriebeofficial11 ай бұрын

    Hey, Elias I know it might get annoying on how much I comment but I got multiplayer working with my friends!! I used Steam Online Subsystem no port forwarding or ip address required. I was able to play with my friend and it worked perfectly fine!.

  • @EliasWick

    @EliasWick

    6 ай бұрын

    That's awesome! I really appreciate the comment and I wish you the best of luck with your project!

  • @jonaspriebeofficial

    @jonaspriebeofficial

    6 ай бұрын

    @@EliasWick thanks it means a lot if you to see more of my game you can find it on my channel

  • @EliasWick

    @EliasWick

    6 ай бұрын

    @@jonaspriebeofficial Cool! I will have a look!

  • @Dr.supervillain
    @Dr.supervillain2 жыл бұрын

    it just works 10/10

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Thank you for confirming! :)

  • @AshHX333

    @AshHX333

    2 жыл бұрын

    @@EliasWick there are many tutorials,but this one's the best

  • @chaimlubotsky6387
    @chaimlubotsky63873 жыл бұрын

    Your awesome

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Thank you Chaim, and thank you for subscribing! :)

  • @ASTRAL15293
    @ASTRAL15293Ай бұрын

    Looks like you saved my tag game 🥺

  • @yummyshorts7613
    @yummyshorts76132 жыл бұрын

    THX

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    NP! :D

  • @KamTV__
    @KamTV__3 жыл бұрын

    First I wanted to say this tutorial was fantastic ive never watched a tutorial and thought to myself afterwards damn it just worked no issues. Also secondly I have a request im playing with my friends now but only the host has the ability to mess with the world. I have a pick up and hold objects in the air thing going on with the first person bp. I'm wonderin if you know the solution for people that join the host to make changes to the world and show up on everyone's client.

  • @sanoeraofficial

    @sanoeraofficial

    3 жыл бұрын

    Replication and relevancy

  • @lancewestin7885

    @lancewestin7885

    2 жыл бұрын

    I dont mean to be so off topic but does anyone know of a method to get back into an Instagram account? I was dumb lost my login password. I appreciate any tips you can give me

  • @vivaanalbert6643

    @vivaanalbert6643

    2 жыл бұрын

    @Lance Westin instablaster ;)

  • @lancewestin7885

    @lancewestin7885

    2 жыл бұрын

    @Vivaan Albert Thanks so much for your reply. I got to the site on google and I'm in the hacking process atm. Takes quite some time so I will reply here later with my results.

  • @lancewestin7885

    @lancewestin7885

    2 жыл бұрын

    @Vivaan Albert It worked and I finally got access to my account again. I am so happy! Thanks so much you saved my account !

  • @huseman21
    @huseman213 жыл бұрын

    I have to say it. Ive been reading the comments and I feel sorry all the dumb comments. I believe no question is stupid, but these questions have made me change my mind about that. Anyways,,,,,,, People this guy is demonstrating step 1, the very basics of the built in multiplayer system and your asking questions about step 3 million pertaining to a finished marketable software package as if it would only take basic beginners knowledge and about 8 minutes of your time.

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    Haha, thank you! I can't stop smiling! Your comment is so on point! Fortunately, I've not really had to many of the same questions :)

  • @omarfarok5223
    @omarfarok5223 Жыл бұрын

    tnx

  • @EliasWick

    @EliasWick

    Жыл бұрын

    Np Omar!

  • @danimusbar
    @danimusbar3 жыл бұрын

    Awesom bro, keep up.. Please make tutorial add multiplayer via VPS like playfab azure, VPS digital ocean, Vultr, Linode, Ramnode or other VPS server

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    I have been looking at Azure for a bit. Perhaps that would be something I can implement and create a tutorial for in the future :)

  • @danimusbar

    @danimusbar

    3 жыл бұрын

    @@EliasWick kzread.info/head/PLS6sInD7ThM1aUDj8lZrF4b4lpvejB2uB there are another plugin multiplayer but fortunately this is for Unity3d, that would be awesome if can implement in your next tut. i am waiting.. keep up bro..

  • @geekpeak2328
    @geekpeak23282 жыл бұрын

    Hello great tutorial .. if I may ask how the engine knew it should spawn the second player on a different location? and how can I change that location so that every new player has a different spawn location?

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    I actually don't have any idea why that is. I guess you could try to add another spawn point, which in theory would allow you to force the spawn position for the second player! :)

  • @geekpeak2328

    @geekpeak2328

    2 жыл бұрын

    @@EliasWick thank you, I will give it a try :D

  • @jacobnoll8744
    @jacobnoll87443 жыл бұрын

    I'm looking to make a 4player co op 3D action game, is this method scalable to 4 or is something else recommended? I'd like people to be able to connect to dedicated later in the project. (As to avoid strangers having to hand out their IPs to others) But I'd also prefer to avoid paying for dedicated servers until a testing phase

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    Makes sense, this is absolutely a fully working method for 4 players. You need the source code in order to create dedicated servers. Unfortunately I don't know too much about that. There should be some tutorial on KZread covering dedicated servers, if I am not misstaken. Best of luck Jacob!

  • @tactu176
    @tactu1762 жыл бұрын

    First of all awesome tutorial. Short and simple! But I have a bug when I connect to my friends IPV4 it just freeze for like 2 min then nothing happens. Do you know what could cause this? Could it be a port forwarding problem?

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Thank you very much! Hmm... I guess that could be the case. If at all possible try to host yourself and have him connect, after you have opened ports. If he can join you, his ports are most likely closed.

  • @tactu176

    @tactu176

    2 жыл бұрын

    @@EliasWick Just solved it! I had a problem with my ISP provider. Apparently the port showed open on my router but it was actually blocked somehow. I just called my ISP and they fixed it for me! Thanks again!

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    @@tactu176 That's awesome! Thanks for getting back to me! Best of luck Tactu! :)

  • @wolfsshadow6130
    @wolfsshadow61303 жыл бұрын

    Thank you for making this man! So I got to the part where I try to host my own from one of the clients (which works). When I try to connect to it via IPv4 however neither of them will work. Any idea what might be the issue?

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    You should be able to connect any time through your local network. Perhaps you missed a step in the tutorial? What Unreal Engine 4 version are you using?

  • @wolfsshadow6130

    @wolfsshadow6130

    3 жыл бұрын

    @@EliasWick I'm using 4.13.2 it looks like (I just re-downloaded it before starting your tutorial). I have gone through it a few times since I'm very new to this and feel like I followed everything appropriately... but I will try that again. One thing that may help with the troubleshooting... in both instances when I run around after hosting their own servers, the shadows from both will reflect on each other (even though the character models you can't see). I'm not sure if that would tell you why it might be messed up, but I found that odd that shadows would be affecting each other if they were truly on separate hosting sessions.

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    @@wolfsshadow6130 The version you are using is rather old and perhaps this method of creating a multi-player game doesn't work on your version. I suggest you take a look at the the online subsystem nodes which I go over briefly in the video. They should work in your case. It is a bit more work to set it up. But there are a few other tutorials that covers them.

  • @wolfsshadow6130

    @wolfsshadow6130

    3 жыл бұрын

    @@EliasWick I was able to update to a newer version and your tutorial works perfectly now. Thank you very much!

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    @@wolfsshadow6130 Glad you could solve it! Cheers!

  • @xVILOx
    @xVILOx3 жыл бұрын

    Daym bruh that's was easy ima try make some modifications to the code and play around maybe worth making a cover vid on using mouse ui

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Glad you liked it :) It is quite simple once you understand the basics, and to be frank... The Epic, the creators of the Unreal Engine has made it very easy for us.

  • @ryanjoshi5541
    @ryanjoshi55413 жыл бұрын

    noice

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Glad I could help! :)

  • @thoufeekbaber5916
    @thoufeekbaber59162 жыл бұрын

    Amazing video. How can i do this with advance session plug in so anyone in anywhere in the world could join? like a multiplayer game

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    What I showed is one method of connecting and hosting. Using the advanced session plug-in, you have the ability to control more of the hosting and listing of the server. Read the included documentation with the plug-in, it should explain everything.

  • @RozvozceTofu
    @RozvozceTofu Жыл бұрын

    holy it actually works,...i tryed unity and other engines, always got something, but when i tryed to local mp(lan) or something, mp always dont worked(photon, fishnet,...nothing works in this shitty engine),...so i tryed this and finally after 6 moths i have something that you can play with friends on LAN ( Radmin, Hamachi-both works) super EZ,...thank you :)

  • @EliasWick

    @EliasWick

    Жыл бұрын

    Hey man! Super glad you liked the tutorial! :)

  • @yagoonek
    @yagoonek10 ай бұрын

    so nice but can you make video about adding player nicknames

  • @EliasWick

    @EliasWick

    10 ай бұрын

    I have thought of doing so, so there will likely be a video about it in the future.

  • @yagoonek

    @yagoonek

    10 ай бұрын

    @@EliasWick nice

  • @maatys3160
    @maatys31603 жыл бұрын

    Nice video bro, can you make tutorial on something like battle royale or waiting lobby before join the all players, something like that please.

  • @trlspdfr9691

    @trlspdfr9691

    3 жыл бұрын

    For battle royale you need C++

  • @maatys3160

    @maatys3160

    3 жыл бұрын

    @@trlspdfr9691? Blueprint isnt working? And do you have some video on KZread, tutorial

  • @trlspdfr9691

    @trlspdfr9691

    3 жыл бұрын

    @@maatys3160 Blueprint can take a maximum of 10 people for online games, but c++ can take too much, unfortunately I couldn't find a good c++ tutorial.

  • @maatys3160

    @maatys3160

    3 жыл бұрын

    @@trlspdfr9691 and some learning of this on internet?

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Thank you very much for the feedback. I am still planning on expanding the multiplayer area of tutorials on my channel. Unfortunately I can't say when I will be able to start recording. To answer the other questions, to create a lobby there is a good tutorial from Epic on the Unreal Engine channel. It gets a bit complicated at the end. If you follow along and make no mistakes, you will end up with a good multiplayer lobby. As for Royale, TRLSPDFR is sort of right. Using C++ is required if you are going to have many players in your game. However, you can still do a lot of optimization through blueprints.

  • @theschmerlo
    @theschmerlo3 жыл бұрын

    Amazing tutorial. Is there a way I can make it show the current servers ip on the side of the screen so a user can tell another user the server name and then join it?

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    Thank you! I am not exactly sure on what you mean with "show the current servers ip on the side of the screen". Do you mean that when a player joins the game, the Server IP should display on his screen, so that he can tell others what it is? Or do you mean that in the game, when it starts up, the IP of your server should be displayed on the screen of the main menu?

  • @theschmerlo

    @theschmerlo

    3 жыл бұрын

    @@EliasWick So lets say you have started hosting a server. Is there a way I can make it show the current IP you have instead of needing to go into cmd.exe to get it?

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    @@theschmerlo Oh, I see. Well, not right of the bat. I think you need some C++ for that. But it should be fairly simple to expose. You can search for the term: "UE4 Blueprint get IP address" and probably get some results :)

  • @shyorigins125
    @shyorigins1253 жыл бұрын

    when playing how can i get rid of the interface and turn if back on when neccessary

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    There are of course many ways to do this. Instead of having it pop up when you start using the level blueprint. Implement the code on the player character and bind it to a an input on the keyboard.

  • @RysticYT
    @RysticYT2 жыл бұрын

    What was the name of the app where you find the Ip Adres

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    It is built into Windows, if you search for CMD it will appear. It is called the command prompt. For finding your Public IP, just search for "What's my IP" on google.

  • @wolfcub8596
    @wolfcub85963 жыл бұрын

    im new to creating games do you have to be connected on the same internet to play together with this?

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    Well yes and no. The person that is going to play with you has to connect to your server on your computer and that is done over the internet. There are two types of connections. LAN is when you connect within your network. So everyone that has access and is using your WIFI and WAN (Cable connection to modem / router) can connect to your server. But anyone that doesn't have access to your network can't join the server. ONLINE is when you open ports on your router to allow others to connect to your server. Essentially, if you don't open ports, only people from your home can play on the server. If you open ports, everyone from the world can play on your server.

  • @debrupsaha6679
    @debrupsaha66793 жыл бұрын

    Is it only lan- multiplayer or can i connect without staying on the same wifi network...btw love ur videos...love from india

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    You can play with others that aren't connected to your network (same WIFI). You have to open the port 7777 on your router in order for others to be able to connect. Thank you very much, I appreciate the positive feedback :)

  • @debrupsaha6679

    @debrupsaha6679

    3 жыл бұрын

    Thanks a Lot

  • @iliaspsomiadis319
    @iliaspsomiadis3198 ай бұрын

    hey this can work on diferent pc for example in my pc and in my friends pc?

  • @EliasWick

    @EliasWick

    8 ай бұрын

    Yes! :)

  • @joshuamendoza2971
    @joshuamendoza29712 жыл бұрын

    One question when I did this my friends for some reason had to change ports on their computer to be able join me and any others who had the demo of a game I made any idea on how to fix this problem

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Right, so the only person that has to open ports is the one hosting the game. If other players still can't join, it may be because Windows or an anti-virus software doesn't allow the other clients to connect. There are a variety of ways to verify that your game is hosted and other people can join. Simply open two instances of the game, host the game on one and from the other connect using your Public IP address. If you can't connect that way, then your ports are still closed, or another network error may have occurred.

  • @Nicolaexe
    @Nicolaexe3 жыл бұрын

    this has been running on discord for much longer

  • @francescobagadi1196

    @francescobagadi1196

    3 жыл бұрын

    Yes ti copi ed from peppe lol

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    Sorry, I don't follow?

  • @flxssy
    @flxssy2 жыл бұрын

    Hi, I wanted to ask something. This is a great video, but I wanted to ask, is it possible to make there be only 1 server (hosted by the creators of the game)? And with no maximum amount of people on the server? And of course, there's an option to join only one server, which is that one above. It would be nice to know.

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Sure that would work. So what you do is to have a separate game instance, or a password so that only one person knowing that password can host a server. You can then bind a button to specifically join a specified IP. I am not sure if there's a limit to the number of players that can play.

  • @flxssy

    @flxssy

    2 жыл бұрын

    @@EliasWick Hey, thank you for the help. I really appreciate it. I think I'm going to use the password for the hosting of a sever. So I wanted to ask, can you tell me the basics of what blueprints you need to specifically join a specified IP? Thanks for the help.

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    @@flxssy Absolutely, simply you can create an text input for the password and then do a branch from a button you press to see if the password is correct. In this case if the password is equal to what you want it to be. Simply launch a server. Similarly to how I have don in the video. If you want players to join on a button press. Just enter the IP address from blueprints to the open level node, and have it execute on the join server button press :)

  • @flxssy

    @flxssy

    2 жыл бұрын

    @@EliasWick Thanks! Lastly, (sorry for so many questions) do you have any idea of how to make more players then 64? I know it is possible as I searched it up, but there are no tutorials on how to do it, I've been looking all over the internet, except I can't seem to find how to make more then 64 people in one server. I appreciate the help a lot!

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    @@flxssy No worries, it's fun to get questions that others haven't asked before. As far as I know, there is not a limit to the total number of players a server can have. Theoretically you can have over 1000 players, but you'll have to do a lot for work to make sure it doesn't lag for other players, etc. (The work you need to do is based on the game you are creating.)

  • @magnesnasamice
    @magnesnasamice2 жыл бұрын

    Hi, could you make a tutorial how to make this server logic public? I opened port on my router (port 7777) and it doesn't work. Although I have no idea if I'm doing it correctly. Great tutorial btw

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    I can make a tutorial, however... it wouldn't change the fact that there would be unique cases for each individual. For instance, if you have a shared IP, by default it wouldn't work by opening ports. If your ISP is blocking that port, no matter what you do, opening it won't do anything. And so on...

  • @BassBoostedDuck
    @BassBoostedDuck2 жыл бұрын

    hey really good. but what ports do i need to open...?

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    The port is 7777. The protocol UDP should be enough. You can change the port in the project or engine menu.

  • @PikaDevs
    @PikaDevs Жыл бұрын

    This a very nice tutorial! Just one question, how does the game connect to that player just from the IP Address? Before we had to specify the level name when hosting, but when connecting we can just enter the IP Address as the level name

  • @EliasWick

    @EliasWick

    Жыл бұрын

    Thank you! It's actually quite simple, the player that is hosting is specifying what level they want to host. The player connecting just need to know who to connect too. When they get the IP, they will know how many players there are, what events needs to be executed, the level and so much more. Does that make sense? :)

  • @PikaDevs

    @PikaDevs

    Жыл бұрын

    @@EliasWick Yes, thank you for explaining! That makes much more sense now, and that's some really nice code unreal engine does under the hood

  • @EliasWick

    @EliasWick

    Жыл бұрын

    @@PikaDevs Indeed! Best of luck with your project! :)

  • @hallen.09
    @hallen.095 ай бұрын

    Does this work between networks or only on the same wifi?

  • @EliasWick

    @EliasWick

    5 ай бұрын

    It works both on wifi and between networks if you open ports. I have a video about opening ports on my channel as well! :)

  • @TrySomeCG
    @TrySomeCG2 жыл бұрын

    works fine with local network however if i use different networks and type public IP it won't work, any idea?

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Did you open the ports on your router?

  • @Heyratdtyrhrn
    @Heyratdtyrhrn Жыл бұрын

    Hey! I'm pretty new to Unreal Engine and I'm wondering how would I make different players be different characters. Thanks in advance!

  • @EliasWick

    @EliasWick

    Жыл бұрын

    I can probably create a tutorial for that. It shouldn't be to difficult though.

  • @Heyratdtyrhrn

    @Heyratdtyrhrn

    Жыл бұрын

    @@EliasWick That would be amazing!

  • @MALDOxMEMES
    @MALDOxMEMES2 жыл бұрын

    Hey I know this is an older video but I’m working on a game in unreal engine 5 and was wondering about the basics and I plan to have the game have multiplayer functionality from the gate. My question is, is it still the same basically with UE5 and rather than hosting off your personal ip, how would I go about hosting my server through a server hosting service for security and performance purposes? Say I want my game to have 50+ players possible. Thanks in advance if you take the time to respond on this older video :)

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Even though this video showcases Unreal Engine 4 and is about 2 years old, Unreal Engine 5 still uses the same technology; so everything still applies. Right, so let's dive into the details of creating a multiplayer! :) HOSTING TYPES: You can have two different types of servers, listen and dedicated. Listen server is what I show in the video, a dedicated server is the server that allows you to host without playing or running the actual graphics. HOSTING SESSION DETAILS: In my video, I showcase how you can host a server that allows anyone with your IP to connect. If you want a server with options, you should look into the online session nodes. These allow you to customize things such as: Should the server be LAN only? How many players should be able to connect. Should the server ask for a password, etc.? JOINING TYPES: When it comes to joining, in my video you can only join the server if you have the IP and enter it into a textbox. Usually you will have a system that scans all of the available servers and lists them, so that the player can chose which one to connect to. For this you will most likely need an online sub system. Steam has a system that allows you to host a server, so that it will be visible to other people playing your game on steam. Without enabling this, no one will be able to see your server in the list, unless they are on the same network as you. DEDICATED HOSTING: In most cases you will end up having a dedicated server, with specific session details that the player can control. When they host, they actually don't host the game on their PC, the game is hosted through a hosting service like AWS. There are multiple reasons for why you would want to do this. In the event that the player who "hosted" the server quits the game or gets disconnected, all of the other players can still play. It is also more performant to run a server on a platform dedicated specifically for hosting. MISC: You can use a bunch of tricks to hide your IP address, if you worry that people will do malicious things if they get it. I will be posting a video about that in the upcoming future. I hope this was helpful as a brief overview of your alternatives.

  • @MALDOxMEMES

    @MALDOxMEMES

    2 жыл бұрын

    @@EliasWick thank you so much for taking the time to respond! I look forward to the more in depth video as in the later stage obviously security will be a concern. As of now, if you don’t mind while I’m probably at 0.001 of the development stage lol could I or how would I go about inviting a friend to play test my game in the current state or when I implement new functions and content? Would I need to package and send as I would a final product or could I invite them to an in editor play session? Also as my game is VERY wip, while I do trust my friends I would have try or play test is there precautions you can take if it is a matter of packaging and sending like a final product to ensure your product is safe from being stolen, manipulated or repurposed as I said very early in development and haven’t yet got into the copyright and legal protection stuff etc sorry if my questions are dumb I am VERY new to this development world lol. Thanks again for the responses and look forward to upcoming videos!

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    @@MALDOxMEMES No worries, glad I could help! As for playing with friends, get it running on Git or some other source control software. They can then grab your stuff as soon as you merge in all the changes you do. What I have been doing personally is to just package, zip and send to people. Packaging is faster after the first time. If you package your game, they won't get access to your source code. One thing to note is that it isn't impossible to break the .dat files containing all of your game assets. If that is broken, you can steal assets like textures and models (code and shaders can also be "stolen", you can basically see the code in written format.). This possible with Unreal Engine 4. I don't know about Unreal Engine 5, but it should still be possible. People don't really do it, and it is not simple to do. Basically, this could be done to almost all projects, on all engines. Thank you :D

  • @cpubug
    @cpubug3 жыл бұрын

    Please upload more tuts

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    Any suggestions on the type of tutorial?

  • @cpubug

    @cpubug

    3 жыл бұрын

    @@EliasWick like this multiplayer on unreal engine 4 you know . before I didn't know nothing about multiplayer system in unreal engine but now I know actually how local multiplayer system works ... Thank you... Great tuts ... And also I have bug in my game actually when I play game in unreal editor it works perfectly but when I. Built it for windows and Play it . It only shows black screen.. Everything is correctly Setup like maps and game mode but in first level I add only main menu...

  • @Nitzustaja
    @Nitzustaja Жыл бұрын

    as an unity dev this might make me change to unreal if i have time to learn c++ and blueprints

  • @EliasWick

    @EliasWick

    Жыл бұрын

    If you already know C#, you should definitely give it shot! :)

  • @BlenderEffect
    @BlenderEffect7 ай бұрын

    🤔 If I have a VR setup can I still go this way first ? Is the pain the replication later?

  • @EliasWick

    @EliasWick

    7 ай бұрын

    Replication can be a pain, absolutely. You can try to see what happens, it only takes a few minutes to setup.

  • @Jmotta05
    @Jmotta053 жыл бұрын

    I am trying to make an RTS game, do you have to determine what will spawn for the other players joining the game, and where is that found?

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    It is a little more complicated than that. There is a pretty good tutorial from Epic that covers how you can setup a lobby!

  • @_Tenkaa
    @_Tenkaa2 жыл бұрын

    Is it possible to make a cross platform game on unreal Engine 4 cause I'm try to make my own battle royale gamemode and I dont know how to do a lobby or allow other players to play

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    I think Epic games implemented a system or a online-subsystems just for that. But please check their official sources and don't trust me a 100% on this.

  • @_Tenkaa

    @_Tenkaa

    2 жыл бұрын

    @@EliasWick ok thxs I appreciate the feedback

  • @hiderplayz5283
    @hiderplayz52833 жыл бұрын

    where do you learn these things. your super awsome

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    I have a bunch of experience with the editor. It all comes from other tutorials, reading, but mostly from trial and error. Thank you very much :)

  • @h0l1ab25
    @h0l1ab252 жыл бұрын

    i have a question it the only ways to see IP adresse ? good videos men

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    I really didn't understand your question, sorry.

  • @Scarab1233
    @Scarab1233 Жыл бұрын

    Can't believe it's that easy. xD

  • @EliasWick

    @EliasWick

    Жыл бұрын

    I know right?

  • @crimmerz2000
    @crimmerz20003 жыл бұрын

    hey, how would u pass events happening in multiplayer such as if a player opens a door or picks up/clicks an object it tells the other connected players they have done that?

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    You would have to use replication for that. Replication is what makes multiplayer a difficult subject, and the reason for why we lack tutorials on the subject. I can create a tutorial on how to open a door. However, here is a quick breakdown. I would use the player character to run the open door event, since the player is replicated by default. I would add a key event, so when the character presses E, a door would open. I would then create the door and the door animation. You would then need two custom events. One with run on server and another with multicast. These would be running the open door function. When the host want to open the door, they run the event through a has authority node and run on server node. The player would have to run both the run on server and a multicast. The multicast has to be plugged into the run on server node. As I said, this stuff is very complex the further you work with it.

  • @crimmerz2000

    @crimmerz2000

    3 жыл бұрын

    @@EliasWick thank you so much i watched some videos for that and now i get it. Wow unreal really is so powerful and intuitive for networking

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    @@crimmerz2000 It is indeed. However, it took me a long while until I understood replication.

  • @crimmerz2000

    @crimmerz2000

    3 жыл бұрын

    @@EliasWick haha yh its hard but much easier than some other engines which take a lot of code to get networking even setup let alone with replication haha

  • @infornoj7650
    @infornoj76508 ай бұрын

    Im on unreal 5.3 And in the stage where im placing buttons down. Its only letting me place 1. and the text box isnt working

  • @EliasWick

    @EliasWick

    8 ай бұрын

    You need to place a panel in the UI first. I think it is under the container category. The textbox should also work after the panel is placed.

  • @infornoj7650

    @infornoj7650

    8 ай бұрын

    @@EliasWick thank you!

  • @llYuki0okami
    @llYuki0okami Жыл бұрын

    A few months ago you mentioned that you are building an IP hiding system. How you doing? Most games have access to the console where you can see IP anyway, does your system hide it there too?

  • @EliasWick

    @EliasWick

    Жыл бұрын

    Hey, the IP hiding system that I was developing is now done. I just need some time to upload it and create some videos about it. The system hides the IP completely. Instead of "213.2.147.182" you will get "PUYLRAJFXFMLYVKEGFQBYIZBA". You will also be able to modify the IP further with a key, so that other people will have to use the same key to access your IP. I apologize if this may sound very confusing, the video will clear up most of the confusion.

  • @themaciej420
    @themaciej4202 жыл бұрын

    @Elias Wick i know its really long ago but im on version 4.26 and the editabletextbox is like an "A" in a box

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    That's alright, you are free to ask any questions. Yes I think that is the right one.

  • @themaciej420

    @themaciej420

    2 жыл бұрын

    @@EliasWick i want to ask do you have a mail? i need help with the project (simply the problem is that movement is not working and the camera movement)

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    @@themaciej420 You can find a link to my Discord server on my website elias-wick.com. It is easier to help over there.

  • @colonel_GIE
    @colonel_GIE Жыл бұрын

    hey, it's a old tutorial but still work fine, but i have a problem, when i enter a wrong ip or something that isn't the IP to join the game, the game crash, how can i make it so if the ip is wrong it just show a text that say wrong ip else thanks for this tutorial

  • @EliasWick

    @EliasWick

    Жыл бұрын

    You can have a timeout to check whether or not you have changed level. Alternatively, you should probably use the real nodes created for hosting and joining a server. I know it is a bit more work, but it's sure worth it! :) I also believe the game wont crash if you actually package the game.

  • @cringeycrab5196
    @cringeycrab51962 жыл бұрын

    I am back with another question if thats alright, so im making a multiplayer game with different playable characters and skins, i want a character select screen, im guessing i would need to connect to the server beforehand, so how would i do this?

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    No, not at all, but that would be one way of doing it. I unfortunately can't explain this in to you here on KZread. But in the essence, you want to learn more about replication. Store a variable that is replicated. Share that information upon connecting to the server. Tell the server about the variable and let the server tell you and the players that you should use a specific skin.

  • @cringeycrab5196

    @cringeycrab5196

    2 жыл бұрын

    @@EliasWick Thanks so much, i will look into it

  • @CYPHERNATURE
    @CYPHERNATURE Жыл бұрын

    Can this be used with Hamachi? I can't find any videos on it.

  • @EliasWick

    @EliasWick

    Жыл бұрын

    Yes, you should be able to use it without any issues. You can probably follow a tutorial with Hamachi for any other game. I think the process is very similar. Just make sure that the proper ports are open.

  • @dellfire8826
    @dellfire88263 жыл бұрын

    Do you have a tutorial with this same concept without having ports open? Many people cant or dont know how to do that and so there would not be a lot of lobby's in the game.

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    Well, you will need to have ports open in order to Host the server. Unless you access authority over a server on a different network. Setting up something like that requires someone with a good knowledge of Networking, the actual engine source, among other things. I suggest looking at another option before you try to create a system that you wish to make. I actually don't even know if I can make a tutorial "friendly" enough for such a system. I am thinking of creating a how to open Unreal Engine 4 Ports video. However, I don't have a date for when that would be released.

  • @dellfire8826

    @dellfire8826

    3 жыл бұрын

    @@EliasWick Oh ok yhank you. One of the things preventing me from making one of my game Ideas is because of multiplayer. This video is a great help for a few of the other ideas I just need to let players know that's what you have to do to make a game. Love your work keep it up :D

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    @@dellfire8826 Thank you very much! I appreciate it, and best of luck with your game ideas. I am sorry I couldn't help you more with the networking idea. There are some videos on KZread going over a more complex setup which could be beneficial in your case. Instead of a Listen server, you want a dedicated server. Where server only hosts the game and you can play from another location.

  • @Slamsneider

    @Slamsneider

    3 жыл бұрын

    @@EliasWick thank you for the tutorial. New to unreal so idk if unreal is 'locked' to port: 7777, else it would be possible to add a textbox where server/client inputs the port number. - That will not open any ports but then if you already have some port open you could use that port number. Eg. if you ever hosted a minecraft server that people could connect to, then you could use that port number (default = 25565). Or...?

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    @@Slamsneider Glad you enjoyed the tutorial. I do understand what you mean, however I am a bit unsure how you can change the port inside of the game through a textbox. It is possible to do that, I just wouldn't know how. If you wish to change the port, it should be doable inside of the project or game settings menu. If you search for Port, i think you should see a field that says 7777. There could perhaps be a console command that you can run which will change the port. Since you can trigger / run console commands in game using blueprints, that would be my best bet to how you can add that feature. Best of luck! :)

  • @jaykunwar3312
    @jaykunwar331210 ай бұрын

    Hello, I attempted to use this method for a two-player VR game. However, I'm experiencing some issues. While I can see the second player, their headset appears to be on the ground and their movements are choppy. The hand and head gestures are not registering properly. Could you please help me? I'm having trouble replicating the game. Thank you.

  • @EliasWick

    @EliasWick

    10 ай бұрын

    Hey! I am not familiar with VR to help you resolve those issues. It is likely that you would need to hire someone who knows more about multiplayer and VR to resolve more difficult issues.

  • @BrandonFerrentino
    @BrandonFerrentino2 жыл бұрын

    getting a travel error any tips? PIE: Warning: TravelFailure: ClientTravelFailure, Reason for Failure: 'Invalid URL: /Game/ThirdPerson/Maps/ThirdPersonMap'. Shutting down PIE.

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    You don't have a level called whatever you entered in the open level node. Make sure to enter the proper name there.

  • @RyanGV
    @RyanGV2 жыл бұрын

    For some reason I can no longer move the main viewport player when I begin playing, any advice?

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Press the windows key on the keyboard and it will give you control over your mouse cursor :)

  • @cringeycrab5196
    @cringeycrab51962 жыл бұрын

    hey, great tutorial, very simple to follow. ive been having problems and trying to fix them for a while, i then went back and realised i hadnt set it to run as listen server. i then also realised i dont even have that as an option, i then found that instead there was a box to check, and if you leave it unchecked it makes it a listen server? i left it unchecked but it still wouldnt connect. also, im not doing this in the exact same way as you i do you go into a menu and then that pops up, and if you hit host you go to your own server, and if you hit connect youre meant to join the server using that ip address, but hitting connect is doing nothing. im completely lost.

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Hey Crab, are you trying to connect to the local IP 192.168.... or your Public IP address?

  • @cringeycrab5196

    @cringeycrab5196

    2 жыл бұрын

    @@EliasWick thanks for replying so fast, i tried my public and i think my IPv4

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    @@cringeycrab5196 Try to use the local IP address. If done correctly, they should work in all cases. Make sure you entered the option string in the open level node as well.

  • @cringeycrab5196

    @cringeycrab5196

    2 жыл бұрын

    @@EliasWick thank you so so much, got it working, also, very good tutorial, very easy to follow so thanks

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    @@cringeycrab5196 That's awesome! Glad you figured it out!

  • @arggo8737
    @arggo87373 жыл бұрын

    I have a error that is "TravelFailure: InvalidURL, Reason for Failure: 'Invalid URL: /Game/ThirdPersonBP/Maps/ThirdPersonExampleMap'. Shutting down PIE." any help will be appreciated.

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    You have entered the wrong map name in your Open Level node

  • @arggo8737

    @arggo8737

    3 жыл бұрын

    @@EliasWick ok thanks you

  • @GoddaryuTUBE
    @GoddaryuTUBE2 жыл бұрын

    No Idea whats wrong but for some reason when I add health and damage the server and client ignore each other and for some reason the server dies when attacking the client player and the client never sees a death or respawned character. It's like each character is assigned the same ID and they share the same health variable

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Hey, this is most likely due to how you setup your system. The important step here is to read up on replication and how you can replicate values between the server and client, so both are up to date.

  • @masterfellayt
    @masterfellaytАй бұрын

    I have another pc I want to use as the dedicated server for my game. I installed windows server on it and coppied my server built on it. I also opened port 7777 for the ip of that pc. Still i cannot connect to that pc with my game on my main pc. Can you guide me with the process of how I can do that? Thanks

  • @EliasWick

    @EliasWick

    Ай бұрын

    If they are on the same network. Try to use the local IP of the PC. It should be something like 192.168... Use CMD and Ipconfig to list IPs. If you can connect to the local IP but not the public IP, ask your ISP to give you a public IP Adress.

  • @masterfellayt

    @masterfellayt

    Ай бұрын

    @@EliasWick Yes I can connect on my local machines. But I want anyone who has the game and joins my ip to join my server. I think I need to get a public IP. Thanks for the help!

  • @shyamalchoudhury7343
    @shyamalchoudhury73433 жыл бұрын

    Sir can you pls make a tutorial on multiplayer player id

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    I am actually not really sure what that is, but I think I get the gist of it. I am still planning on expanding the multiplayer area of tutorials on my channel. Unfortunately I can't say when I will be able to start recording.

  • @ASTRAL15293
    @ASTRAL15293Ай бұрын

    is there any way to make the players be differents character blueprints?

  • @EliasWick

    @EliasWick

    Ай бұрын

    Yes there is! :) It's to complicated to explain here. But on spawn the player character should possess a different character class.

  • @ASTRAL15293

    @ASTRAL15293

    Ай бұрын

    Thanks :)

  • @rhettgreen4842
    @rhettgreen48423 жыл бұрын

    I used this method but when I packaged my game and opened it on my computer it grabs my mouse and shift f1 didn't release it so how can I make it to where I can actually click these buttons in the packaged game on my computer.

  • @EliasWick

    @EliasWick

    3 жыл бұрын

    In order to to that you need to make the mouse cursor visible when you want to access the interface. Now this is very simple but unfortunately complicated for those who doesn't know the basics of how everything is setup in Unreal. Basically every character component has a controller assigned to it. You can check a boolean to show or hide the cursor. I think it is something like IsCursorVisible or IsMouseVisibe. One way of solving your issue is by binding a key to set the cursor visible, or by creating an actual main menu. Other tutorials on "how to create a main menu", covers the aspects of setting the cursor visible at certain points.

  • @GrandSuetham
    @GrandSuetham2 жыл бұрын

    Bro, fo you have a tutorial on how to do it in C++?

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    No, but if you know C++, it should be fairly easy t o setup.

  • @saharaseeri8337
    @saharaseeri83372 жыл бұрын

    Nice tutorial! Can I follow the same steps without packaging the project? I want to play the same project on two PCs from the editor. PC1 host server and PC2 join the server,

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    Hey Sahar! To be completely honest with you, I really don't have the answer to your question. But, allow me to elaborate a bit. When Epic games were testing Fortnite and the multiplayer features, they must have done so from multiple computers. So, thinking about your question from a logical perspective; it should be totally doable. Theoretically this shouldn't be to difficult to test. Just follow the steps below and let me know if it works: 1. Copy the entire project folder from one PC to the other, so that they both have the same files. 2. Launch the engine on both computers and press play in editor. 3. Press the host button on PC1, to start hosting. 4. Once PC1 is hosting, join with PC2. I also found some more information about the topic here: forums.unrealengine.com/t/multiplayer-in-editor-on-multiple-pcs/425081

  • @saharaseeri8337

    @saharaseeri8337

    2 жыл бұрын

    @@EliasWick Thank you for your quick reply! I will follow the steps and let you know if it works!

  • @saharaseeri8337

    @saharaseeri8337

    2 жыл бұрын

    @@EliasWick I faced this error "LogNet: Warning: Travel Failure: [LoadMapFailure]: Failed to load package '/Game/Maps/UEDPIE_0_MetaHumanVR_M_SampleMap' LogNet: Warning: TravelFailure: LoadMapFailure, Reason for Failure: 'Failed to load package '/Game/Maps/UEDPIE_0_MetaHumanVR_M_SampleMap''. Shutting down PIE. PIE: Warning: TravelFailure: LoadMapFailure, Reason for Failure: 'Failed to load package '/Game/Maps/UEDPIE_0_MetaHumanVR_M_SampleMap''. Shutting down PIE."

  • @EliasWick

    @EliasWick

    2 жыл бұрын

    @@saharaseeri8337 I see, the one hosting had no issues right. The error is for PC2 trying to connect?

  • @saharaseeri8337

    @saharaseeri8337

    2 жыл бұрын

    @@EliasWick Yes, the hosting PC is working, but the issue when I join the server via IP address in PC2. Also, I am connecting the two PCs to the same network

Келесі