Sign In Register

How can we help you today?

Start a new topic
Answered

Challenge problem

 

Hello!

I have problem with challegnes. I don't know why, but players with Device Auth visible only self created challenges.


SEND:{"@class":".CreateChallengeRequest","challengeShortCode":"GoTChallenge","startTime":"2015-06-08T12:57Z","endTime":"2015-06-08T13:57Z","accessType":"PUBLIC","minPlayers":2,"maxPlayers":4,"requestId":"635693650625062695_1"}

RECV:{"@class":".CreateChallengeResponse","challengeInstanceId":"55757525e4b05da069df92eb","requestId":"635693650625062695_1","scriptData":null}

On secound computer player don't see that challenge.

Secound question is, how i can delete all challenges from servers? i try use var result = collection.remove({"state":"ISSUED", "state":"WAITING", "state":"RUNNING", "state":"RECEIVED", "state":"DECLINED"}); but only delete player created challenge.

Thank You.

Best Answer
Ok i think i know where are the problems.
When i created PUBLIC CHallange i need to FindCHallangeRequest instead ListChallangeRequest. 

 

1 Comment

Answer
Ok i think i know where are the problems.
When i created PUBLIC CHallange i need to FindCHallangeRequest instead ListChallangeRequest.