Network Errors + Destroying Sessions | 05 | Multiplayer Battle Royale | Tutorial | Unreal Engine 5

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • 👨‍🏫 My Patreon link:
    / kekdot
    Download Project Files | Premium Tutorials | Courses
    🕹️ Get our Game on Steam | The Anomaly Project:
    store.steampow...
    ---
    In this tutorial we talk about Network and Traveling errors. We install the correct nodes in the game instance to be handled, and also correctly setup Destroying of sessions. On top of that we setup a quick escape Game Menu so that the player will have a type of 'Pause menu' with which they can Leave the session or quit the game
    We take a look at:
    - What a Game Instance is
    - What the Travel Error event is and how we can use it
    - What the Network Error event is and how we use it
    - How to correctly setup the Destroy Session node
    - We setup a 'Pause' / Game menu so that players can leave a session
    - We take a look at creating toggle widgets using functions that can be reused
    - We setup a Function Library for reusable functions
    - Explain how Child classes work for shared functionality
    ✔️ What are we going to make in this series?:
    In short it will be PUBG but with Bean characters.
    We will have:
    - A Battle royale Map
    - Full Steam Session setup for connecting to games (Host, ServerBrowser, Join)
    - Multiplayer characters
    - Picking up Tools / Weapons
    - Multiple weapons
    - Lootcrates
    - Flying out of an airplane
    - All kinds of UI and HUD
    - Match flow logic
    And basically everything that a battle royale needs
    #unrealengine #tutorial #multiplayer
    ---
    Welcome to Kekdot!
    👨‍🏫 Our Patreon - Download Project Files | Premium Tutorials | Courses:
    / kekdot
    🛒 Our Unreal Engine Marketplace Templates:
    www.unrealengi...
    👾Join our Discord:
    / discord
    📆 We upload videos on a weekly basis
    📰 Follow us on:
    Instragram: @kekdotyoutube
    Twitter: @kekdot
    Reddit: @kekdot

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

  • @Kekdot
    @Kekdot  11 หลายเดือนก่อน +3

    Hey guys,
    Get the project files here if you're interested:
    👨‍🏫 My Patreon link:
    www.patreon.com/kekdot
    Download Project Files | Premium Tutorials | Courses
    Just to let you guys know what we are making in this course, we are making a full multiplayer battle royale game. I am uploading one video each day.
    In short it will be PUBG but with Bean characters.
    We will have:
    - A Battle royale Map
    - Full Steam Session setup for connecting to games (Host, ServerBrowser, Join)
    - Multiplayer characters
    - Picking up Tools / Weapons
    - Multiple weapons
    - Lootcrates
    - Flying out of an airplane
    - All kinds of UI and HUD
    - Match flow logic
    And basically everything that a battle royale needs

  • @eyerly7175
    @eyerly7175 11 หลายเดือนก่อน +7

    This tutorial series could not have come at a more perfect time for me so I greatly appreciate the hard work put in here, thank you

    • @Kekdot
      @Kekdot  11 หลายเดือนก่อน +1

      Glad to hear! Appreciate your kindness and more coming every day!

  • @GEK0dev
    @GEK0dev 11 หลายเดือนก่อน +2

    Just wanted to let you know Kekdot, I’ve been making a battle royale for a little over year now, And this is the most helpful guide series I have found yet, Your channel has helped me learn through the extreme challenges this engine sets, Thank you!

    • @Kekdot
      @Kekdot  11 หลายเดือนก่อน +1

      I hope I can be of great help to you! One video is going live each day for this series and in the end we will have Bean PUBG ^^. Appreciate you!

  • @marshall3000gt
    @marshall3000gt 11 หลายเดือนก่อน +1

    My man! You deserves way more subscribers than you have. Keep up the great work and I'm sure you'll get them in no time!

  • @joelarmour
    @joelarmour 4 หลายเดือนก่อน

    I chose to put "add to player screen" for the in game menu instead of "add to viewport". Btw, thanks so much! i'm making a pve /pvp fighting game and i hope to release it on steam and multiple platforms after this!

  • @rmassey1965
    @rmassey1965 7 หลายเดือนก่อน

    Thank you so much for this tutorial. Very nice work. A very clear, thoughtful and consistent demonstration. It helped me deal with an issue I was having with handling clients leaving the session and then wanting to rejoin. Cheers!

  • @DevMaximusGames
    @DevMaximusGames 9 หลายเดือนก่อน +1

    never stop bro these are amazing

  • @alisina4388
    @alisina4388 9 หลายเดือนก่อน +2

    but what if the host leaves the game and other clients wants to stay in the game? how to handle Host migration? what is the best way :)

  • @liebespaar93
    @liebespaar93 23 วันที่ผ่านมา

    Thank U~!
    what a Wonderful tutorial~

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

    KekDot, fantastic series. Thank you very much for your work. One question: When destroying the session, could I call 'DestroySession' first and then 'OpenLevel'? Would it have the same effect?

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

    I'm trying to set a game name by introducing another vertical box in the Create Game blueprint where the player can enter the game name. I can't seem to figure out how to feed that name over to the Server Browser Item blueprint to populate the name instead of the session name.

  • @maximiliangonnet8928
    @maximiliangonnet8928 7 หลายเดือนก่อน

    Hi, great tutorials so far ! thx ! I just have one problem in my game project. Here is the context : Only 3 players can join my game. if many players join the game at the same time, I check in the game mode in the event "Handle Starting New Player" if there are too many Players in the game, and i Kick them reverseLooping my players Array (using the Kickplayer node)
    So it fires the network error and destroy the session as you did in this video.
    After kicking the players, I update my Game session (using Get session settings and Update Session nodes).
    After that, the server still appears in servers list as 2/3 players ... as it should not appear because we are 3/3 players after kicking the players...
    It is like when joining by event "Handle Starting New player" it is not increasing the current number of player in the Session, than it kicks the players, and now update so for the server, nobody actually joined the session and increment the Current player number ? 🤔
    If someone can help me x) ?

  • @johnpetercroft8165
    @johnpetercroft8165 11 หลายเดือนก่อน +1

    Great vid! Why do you specify the map level when leaving the session manually and not specify when leaving during error handling? Is the default map passed only while the error is happening?

    • @Kekdot
      @Kekdot  11 หลายเดือนก่อน +1

      The network and travel error both result in the game sending you back to the default level that is installed under ‘maps and modes’ in the game instance.
      Leaving a session however is not related to that and is custom logic so in that case you manually send players back to the main menu.

  • @sammermusa5124
    @sammermusa5124 9 หลายเดือนก่อน +1

    another tutorial completed, everything is fine so far with the exception of 2 small problems (probably my faults) the first one I already mentioned in the previous video, it's about my bootscreen running excessively fast almost unnoticeably, and the second one is new, I'm getting the following error message when finishing the game: Blueprint Runtime Error: "Accessed None trying to read property WB_MainMenu". Node: Add to Viewport Graph: EventGraph Function: Execute Ubergraph BP PC Main Menu Blueprint: BP_PC_MainMenu, and when I click on it, I am taken to the "ADD to Viewport" blueprint within the logic of my BP_PC_MainMEnu if you have any tips that could help me with this I'm grateful!

    • @WatchItEnd
      @WatchItEnd 7 หลายเดือนก่อน

      For your bootscreen you need to make your animation longer, go back to his video when he does the animations for the bootscreen and drag your keyframes to the right to make the animation longer. When the animation ends, your bootscreen ends.

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

    but what if the host leaves the game and other clients wants to stay in the game?

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

    I am stuck and can't go any further. The For Each Loop never creates any Server Browser Items and I can't find out why. I've set everything up correctly and a print string on completed shows 0 for the array index but the Loop Body never prints any strings.

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

      I solved it! In case anyone else has this issue. I had to disable my VPN. =]

    • @dexytboff
      @dexytboff 7 วันที่ผ่านมา

      @@Neuromindart hI, how to disable vpn pls?

  • @TropicalKeaton
    @TropicalKeaton 6 หลายเดือนก่อน

    Hey, Im currently getting an issue inside of my BluePrint Function Library where my "Cast to BP_GI" Keeps failing. Any Solutions?

    • @TropicalKeaton
      @TropicalKeaton 6 หลายเดือนก่อน

      I figured it out, In my Project settings my selected game instance cleared itself after a crash

  • @screenapple1660
    @screenapple1660 11 หลายเดือนก่อน

    I need make photorealistic game that blur guesome body... does anyone have tutorial for it. I saw lot of cool UE game they blur the gusome with pixels. I have no idea how they do it.

  • @GalaxyVisionAI
    @GalaxyVisionAI 11 หลายเดือนก่อน

    Have some some sort of leveling persistence

    • @Kekdot
      @Kekdot  11 หลายเดือนก่อน

      I will give the beans a level and account stats! Good idea

    • @GalaxyVisionAI
      @GalaxyVisionAI 11 หลายเดือนก่อน +1

      @@Kekdot Nice cant wait :D I think persistence scares people when it involves multiplayer. It can get very complicated very quickly