Unreal Engine Dedicated Server #2: Auto Connect to Server

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello this is sneaky kitty gamedev here and in this video i'm going to show you very easily how to auto connect to the dedicated server that we just made in the last video so this will be when we first load up the game we can instantly launch to it so we're basically going to just be scrapping the entry level map because we don't need literally anything inside of here so we can just go ahead and delete literally everything so yes to all and here we go so go ahead and save it go to our blueprints we're going to open the level blueprint again make sure they're on the entry level and we're going to grab begin play and the logic we're going to add in here is going to be one of two things so one thing that we could do is with execute console command kind of like what we did before however there is another node that we can use so let's go ahead and search for open level so if we search for open level we can snap it right on in and basically this seems like it kind of does the exact same thing that open does well for the most part as the command but in this case we just pass directly in the level name so in our case we're not going to be passing in the level itself we're going to be passing in our loopback address so just like how before we were typing in open 127.0.0.1 this is going to be doing the exact same thing but automating it for us so open level that's going to be for 127.0.0 and that's it so compile save and let's go ahead and package this out as the client build target and then go ahead and actually remove our old and come on there we go and replace with the new alrighty let's give that a try so we're gonna launch our windows server first there we are and now our client there we go press f11 and here you can see in the log we have automatically joined our session now we can close out of all that because we know we're good to go so basically what this is doing is this is acting as our main menu as it says entry level this is what it says it's our entry it's our starting point this is what is going to take us and direct us to our dedicated server hosted map so that's going to be all for this video if you like what i'm doing when you help support me you can find a link to my patreon in the description below if you have any questions or anything like that feel free to join my discord server that's also linked down below and i'll try to help you out so i'll see in the next one
Info
Channel: Sneaky Kitty Game Dev
Views: 17,191
Rating: undefined out of 5
Keywords: unreal engine, unreal engine 4, dedicated server, unreal engine 5, unreal engine dedicated server, unreal engine 4 dedicated server, server, unreal, unreal engine server, unreal engine local server, unreal engine tutorial, dedicated, unreal engine how to setup a server, how to set up a unreal engine server, unreal engine dedicated server linux fix, unreal engine 4 inventory dedicated server test, unreal engine 4 - inventory dedicated server test, unreal engine 4 tutorial
Id: Z_6VcxxR6wc
Channel Id: undefined
Length: 2min 39sec (159 seconds)
Published: Wed Apr 06 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.