I am trying to implement matchmaking into my game. I have setup the queue to allocate servers. The build is in deployed state. There should be no standby servers (During development).
Now I have tried multiple times to find a match with wait times of 30 minutes but it is always stuck at WaitingForServer.
Answer by Brandon Phillips · Oct 18, 2019 at 12:32 AM
You need to have servers in StandBy, otherwise they will never be allocated
Are you sure ? Because I have found this answer: https://community.playfab.com/questions/29436/can-the-minimum-number-of-servers-available-be-zer.html
Yes, as I understand it, unless you want to add some Admin/Multiplayer API code to your client and have the client wait 10-30 mins for the server to be built and allocated, you'll want to have at least 1 StandBy server. According to SethDu:
"If the number of stand-by server is 0, you cannot call API like RequestMultiplayerServer (I think it is by design), you have to call UpdateBuildRegions to add some. You are not able to do any multiplayer things unless the server is ready and one way to get server state is keeping sending requests until success callback is received, which sounds like a bad idea because starting a server takes so long."
Alright, thank you for your support!
Direct Challenges,Direct Challenges (via FB) 2 Answers
Matchmake and StartGame returning 500 Internal Server Error 1 Answer
Matchmaking with server 2.0 1 Answer
What happens when a client calls ClientAPI.Matchmake then does not connect to a returned server? 1 Answer
Am I correct in understanding that SessionCookie will always be blank for matchmade games? 1 Answer