プレイテスト - 専用サーバーで参加可能なセッション - (Unreal Engine モジュール)
Test Match Session DS implementation
Compile your project and open it in the Unreal Engine Editor.
If you have already uploaded a new dedicated server to the AccelByte Gaming Services (AGS) Admin Portal, you can just play the game from the Editor and jump to Step 4. For more information on how to upload a dedicated server, refer back to the Dedicated servers with AccelByte Multiplayer Servers (AMS) module.
Alternatively, you can test using a local dedicated server. To do this, you can either package your game client and dedicated server as executables or run the project file with extra launch parameters. For more information on how to run a local dedicated server, refer to back to the Dedicated servers with AMS module.
Running game client using a local dedicated server. This will also launch your game in windowed mode at 720p resolution. Note that you can use any phrase such as as
<your-server-name>
, but make sure that the one you use for game client is the exact same that you use for the server.-game -log -WINDOWED -ResX=1280 -ResY=720 -ServerName=<your-server-name>
Running a local dedicated server.
-server -log -ServerName=<your-server-name>
Play test the matchmaking with dedicated server implementation by following these scenarios:
Create session. Navigate to Play Online > Create Match Session menu and create a session with a dedicated server using the Elimination game mode. If it is successful, you will see the following screen and the log:
LogAccelByteWarsOnlineSession: UAccelByteWarsOnlineSession::OnCreateSessionComplete succeeded: TRUE
Cancel creating session. Navigate to Play Online > Create Match Session menu and create a session with a dedicated server using the Elimination game mode. Click the Leave button as soon as it's enabled. If it is successful, you will see the following screen and the log.
LogAccelByteWarsOnlineSession: UAccelByteWarsOnlineSession::OnLeaveSessionComplete succeeded: TRUE
Browse session. Create a match session with one game client and start a new game client with a different account. Navigate to Play Online > Browse Matches and join the session that you have created with the other client. If it is successful, you will see the following screen and the log in the second game client.
LogAccelByteWarsOnlineSession: UAccelByteWarsOnlineSession::OnFindSessionsComplete succeeded: TRUE
...
LogAccelByteWarsOnlineSession: UAccelByteWarsOnlineSession::OnJoinSessionComplete succeeded: TRUE