question

krishole avatar image
krishole asked

UE4 CreateServerBackfillTicket edit existing

Hi,

Server backfill tickets contain a list of members, how are we supposed to edit an existing ticket? My understanding is if we cancel a ticket while somebody is being matched to it that will cancel the players matchmaking ticket?

Which is bad behaviour, what ideally we would want is to be able to update the members list in the existing ticket.

unrealCustom Game ServersMatchmaking
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

The flow for Backfill tickets is pretty much the same as how regular matchmaking tickets operate, except with analagous APIs. When somebody with a regular ticket has matched with the Server Backfill Ticket, then both of these two tickets will be completed. After that, If you try calling CancelServerBackfillTicket/ CancelMatchmakingTicket to cancel these tickets, you’ll find that error “MatchmakingTicketAlreadyCompleted” will be returned because, as said before, these tickets are completed.

To Summarize, when the server backfill ticket hasn’t been matched with other tickets yet, you can modify it by cancelling and re-creating it without worrying that it might affect other tickets. When server backfill tickets are matched, you'll need to create more to match with more players.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

krishole avatar image krishole commented ·

so can we just create a bunch of them for all the empty slots in one go or does it have to be one at a time?

0 Likes 0 ·
Citrus Yan avatar image Citrus Yan krishole commented ·

I don't recommend creating a bunch of them at the same time because the game server must supply all member information for the game it is currently hosting, doing that would provide inaccurate info for the Queue to process, which may receive undesirable results. Under normal circumstances, using a single backfill ticket should be able to find all possible players provided that the Queue is set properly.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.