メインコンテンツまでスキップ

Unreal Engine Module - Quick Match with DS - Play test

Last updated on January 13, 2024
AGS Starter

This tutorial isn't yet applicable for the AccelByte Gaming Service (AGS) Starter tier. It requires the Armada, a dynamic game server manager feature, which isn't currently supported on AGS Starter.

Test matchmaking with DS implementation

To test this module, you can either use local or cloud dedicated server (DS). If you want to test using cloud DS, please refer to the Module: Run a Dedicated Server on Armada - Upload a dedicated server to Armada section for the upload instructions. If you decide on doing so, you can skip to step 3 of this section after you have uploaded your new server. But, if you want to test using local DS, continue following this section.

  1. Now, compile your project and open it in the Unreal Engine Editor.

  2. Build your game client and dedicated server as executables. Then, add the following command as launch parameter when you start your game client and dedicated server. For more information on how to run a local dedicated server, please refer to the Module: Run a Dedicated Server on Armada - Test run a local dedicated server.

    • Running game client using a local dedicated server. This will also launch your game in a windowed mode in 720p resolution.

      -game -log -WINDOWED -ResX=1280 -ResY=720 -ServerName=<your-server-name>
    • Running a local dedicated server.

      -server -log -ServerName=<your-server-name>
  3. Now, let's play test the matchmaking with dedicated server implementation by following these scenarios.

    • Start Matchmaking. Navigate to the Quick Play menu and start matchmaking with a dedicated server using the Elimination game mode. If it is successful, you should see the following screen and the log.

      Start matchmaking demo

      LogMatchmakingDS: UMatchmakingDSOnlineSession_Starter::OnStartMatchmakingComplete succeeded: TRUE
      LogMatchmakingDS: UMatchmakingDSOnlineSession_Starter::OnMatchmakingComplete succeeded: TRUE
    • Cancel Matchmaking. Navigate to the Quick Play menu and start matchmaking with a dedicated server using the Elimination game mode and then cancel the matchmaking. If it is successful, you should see the following screen and the log.

      Cancel matchmaking demo

      LogMatchmakingDS: UMatchmakingDSOnlineSession_Starter::OnCancelMatchmakingComplete succeeded: TRUE