How to run TESTING Dedicated server - Unreal Engine 4

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024
  • This is a very useful way to actually test your multiplayer project on dedicated server to make sure or your online features are properly working.
    UE Command Lines: docs.unrealeng...
    Host File: "C:\Program Files\Epic Games\UE_4.23\Engine\Binaries\Win64\UE4Editor.exe" "C:\Users\YOURUSERNAME\Documents\Unreal Projects\YOURPROJECTNAME\YOURPROJECTNAME.uproject" YOURLEVELMAP -server -log -nosteam
    CLIENTJOIN: "C:\Program Files\Epic Games\UE_4.23\Engine\Binaries\Win64\UE4Editor.exe" "C:\Users\YOURUSERNAME\Documents\Unreal Projects\YOURPROJECTNAME\YOURPROJECTNAME.uproject" 10.0.0.56 -game -WINDOWED -ResX=800 -RexY=900 -winX=0 -WinY=20 -log -nosteam
    ________________________________________________________
    Join our journey on Discord / discord

Комментарии • 26

  • @avatarDelCaos
    @avatarDelCaos 3 года назад +1

    Very helpful, thanks !

  • @artistuniverse4522
    @artistuniverse4522 4 года назад +2

    okay so the thing is this is technically working for small things ;) let me explain me, so basically if u wanna use the dedicated server to host a game like u did, u can see the yellow messages in ur console saying that there is no game session, so the right way that i'm still trying to figure it out that is u must somehow execute the session from that console and ofc u will ask why, because there is alot of functionality is disabled without a game session, and a small example u can test the voice chat and it won't work .... it will only work if u host a session and join with other clients then it will work ... long story short xd did u figure out how to run the game session on the server yet or no? because the server doesn't have a player state, example of a game like rust, when u host a server and u run that console, basically what it does it logs in as a player, loads up all maps assets to create the session and that's the right way

  • @RobinDale50
    @RobinDale50 4 года назад

    A couple of quick questions on the method of making UE4 Editor run as a dedicated server (not about your ALS project specifically): Are you using the "Regular" UE4 or is that a source engine build? It looks standard to me, but I want to be sure this method would work with the standard Launcher versions. Also do you have or need any C+ modules (required in the source builds) for this to work? I am trying to get away from using source builds for testing and development as they constantly need rebuilding (both project and engine) and far too often suddenly, from one open project to the next 5 minutes later, fail to load or find some module and its another rebuild. Thank you this is VERY informative and useful!

    • @jamescharnley2522
      @jamescharnley2522 3 года назад

      The source build must be used when you actually want to package the game and have it run as a dedicated server without being dependent on the editor. You can make your entire game in the binary version and then move the project to the source build for final testing and packaging.
      You do need extra modules in VS for the source build and yes it can be more difficult to work with but if you have not tested the replication with a build packaged in the source build there could be things that are not actually working.
      The key stage of making an actual dedicated server with unreal is when you add a server target build file to the engine which you can only do with the source build. Once you add the server target build file and rebuild the engine from source you are presented with two options in the packaging stage. You can make the normal package like you do in the binary engine but you can also select the server package which allows you to have a proper stand alone server that only contains the files the server needs.

  • @usaccomandi2476
    @usaccomandi2476 4 года назад +1

    Thanks for the tutorial! but can't you just run it on the UE4 under "play", you select "run on dedicated server"? what is the difference with this?thanks

    • @ImagineDreams
      @ImagineDreams  4 года назад

      not the same, the tutorial simulate an actual dedicated server. the editor does nt really show u much of ur replication

    • @usaccomandi2476
      @usaccomandi2476 4 года назад

      @@ImagineDreams but also in your videos sometimes you test if something is replicated in the way I said, isn't it?

    • @ImagineDreams
      @ImagineDreams  4 года назад +2

      @@usaccomandi2476 Yes, initial testing but as u r working on ur project u must also test it on actual dedicated server . U will shocked with differences

    • @usaccomandi2476
      @usaccomandi2476 4 года назад

      @@ImagineDreams damn, I better do it then. thanks!

  • @wintet0
    @wintet0 3 года назад

    Hy can you help me to making ue4 Android dedicate serever

  • @maxsarlija
    @maxsarlija 8 месяцев назад

    Thanks Thanks Thanks!

  • @michaelringer5644
    @michaelringer5644 4 года назад +1

    Wow very productive during quarantine

  • @zimstex6988
    @zimstex6988 4 года назад +1

    VERY COOL . Thank you

  • @__foo__
    @__foo__ 2 года назад

    what argument to start Client as Publishing mode not Testing mode?

  • @Miljte
    @Miljte 4 года назад +2

    how to replcated ALS V4 Full replcated please do tutorial

    • @DeeOdzta
      @DeeOdzta 4 года назад +1

      github.com/OfficialNoms/ALSReplicated and github.com/Skiftsu/AlsReplicated

    • @Miljte
      @Miljte 4 года назад

      @@DeeOdzta i know it but it is have probleam

    • @Miljte
      @Miljte 4 года назад

      @@DeeOdzta and lot of probleam i test it and i found some things not work good

    • @DeeOdzta
      @DeeOdzta 4 года назад +2

      @@Miljte I've just downloaded this, opened the project, set two players, launched in PIE, tested weapon changes and stances, all seems to be working as expected. Try Discord community channel for further support. discord.gg/wYYMHFu

    • @Miljte
      @Miljte 4 года назад

      @@DeeOdzta ok if you have discord this is my id : AkiinowYT#8707

  • @play-good
    @play-good 2 года назад

    Thanks Bro You are The best

  • @cyberdynedevelopers6689
    @cyberdynedevelopers6689 2 года назад

    So easy to understand, thank you

  • @playinsertoken
    @playinsertoken 4 года назад

    Thanks bro for you work ..att @ juansbeck