Replies: 1 comment
-
I'm actually facing this exact problem/situation right now, and I would definitely agree that option 2 feels like the best approach. It is also the approach I'm trying to emulate currently, through adding the tickets to the backfill as encoded data in SearchFields.StringArgs, and reading it out on the gameserver - my current approach feels a bit brittle though, and I'd love to replace it with an OpenMatch built-in function As a related aside, reading the OpenMatch website docs, it seems like option 2 you described above is actually how the functionality of the backfill feature is described? https://open-match.dev/site/docs/guides/backfill/#acknowledging-backfills Specifically, in relation to the AcknowledgeBackfill call, the docs say Edit: It looks like option 2 has already been implemented in the main branch, in #1382 |
Beta Was this translation helpful? Give feedback.
-
The current way that game servers can learn what players will be back-filled into them is through the Director sending match information to the game server or to a service that manages which players are in a game. This tells the game server which players have been matched to the backfill, but there isn't a very strong guarantee that the players will actually arrive because an AcknowledgeBackfillRequest still needs to be sent by the server to Open Match, and those same tickets from the match the Director sent need to still be on the Backfill ticket when the acknowledge happens. If the game server takes too long to send the acknowledge, the players associated with the backfill could have been released from the backfill. Some players may have disconnected from Open Match as well prior to the acknowledge arriving, and their ticket is no longer associated with the backfill.
There are a few ways to strengthen the guarantee that the tickets on the backfill will get an assignment and those game clients will arrive at the game server:
Out of the options above, I think the 2nd option sounds the best so far, but I'd like to hear what others in the community think. Are there better options? Is option 1 or 3 better in your opinion? Do we really need to increase the accuracy of Open Match reporting which players will arrive at the game server?
Beta Was this translation helpful? Give feedback.
All reactions