GameLift FlexMatch with Queue: Need to pass GameSession Data to Server during runtime (Lambda function or something else)

0

Hello!

I have a complete simple GameLift Fleet + FlexMatch + Queue setup. Matches get created and users get connection IP and Port. But I need to find a way to pass GameSession Data like which map to use etc. to the GameServer when OnStartGameSession(GameSession session) is called, so I could do the Match setup. How could I do this using FlexMatch + Queue? Is there a way to hook into FlexMatch and the Queue to catch the call to OnStartGameSession to randomly select a map out of a list and send that data to the GameServer?

Thank you!

Best Regards!

1回答
0

Hi,

Is this list of maps a static list that is never expected to change or is this something contingent on the players being matched? If the former can this just be a part of the game server code itself? If the latter it would mean this is player related that could be passed in as a player attribute via the StartMatchmaking call.

Is the list expected to change over time? Do you have a client service (lambda or something else perhaps) that is orchestrating setting up these matches and connecting players onto the game sessions? If so, the client service can communicate directly with the game server once it's up since it should have access to the IP address and pass this information along.

Thanks!

AWS
回答済み 10ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ