Hi,
We are configuring our matchmaking queues automatically using the PlayFabMultiplayerAPI in Python but are having difficulties using an expansion on a match total rule.
When we try to use the following request:
"MatchmakingQueue": { "Name": "PlayerExpansionOverTime", "MinMatchSize": 8, "MaxMatchSize": 50, "ServerAllocationEnabled": False, "MatchTotalRules": [ { "Attribute": { "Path": "PlayerCount", "Source": "User" }, "Min": 50, "Max": 50, "Weight": 1, "SecondsUntilOptional": 30, "Name": "PlayersRequiredRule" } ] }
A matchmaking queue is created correctly.
If we try and include expansion like as follows:
"MatchmakingQueue": { "Name": "PlayerExpansionOverTime", "MinMatchSize": 8, "MaxMatchSize": 50, "ServerAllocationEnabled": False, "MatchTotalRules": [ { "Attribute": { "Path": "PlayerCount", "Source": "User" }, "Min": 50, "Max": 50, "Weight": 1, "Expansion": { "MinOverrides": [ 50, 45, 40, 35, 25, 16, 8 ], "Type": "Custom", "SecondsBetweenExpansions": 10 }, "SecondsUntilOptional": 30, "Name": "PlayersRequiredRule" } ] }
Then we get the error message “error: Unable to contact PlayFab server”.
Note that we can manually edit the match total rule within the Game Manager to use expansion, we just cannot figure out how to configure the match total rule to use expansion within our Python script.
Please also note that if we try the example expansion-of-number-of-players-over-time, then a matchmaking queue is created which contains no rules.
Any ideas what may be wrong?
Thanks,
Phil.