So, i've created a match and assigned the real-time script.
Docs says, this event called when player is connected to the RT-Session, but i can't find any way to connect player to the session.
I've setup my match in the following way:
GSMatchmakingRequest
Once matchFoundMessage arrives, i'm sending
GSMatchDetailsRequest
then
GSCreateChallengeRequest
Don't know if this is right way to create the match for two players.
But there's lack of tutorials for iOS framework.
But, at some time when challenges being set i need to initialize some variables on cloud code side. The only place, where i can do is RTSession, where the code executes for both players, not per each of them. But RTSession.* listeners doesn't get called. Need some help here.
Our base iOS SDK does not have real-time support. So setting up matches as RT will have no effect. The RT script may initialize but it will never be able to have player connect to it as this required setup on the client.
Does that makes sense? Sorry we do not support this SDK at this time.
Our base iOS SDK does not have real-time support. So setting up matches as RT will have no effect. The RT script may initialize but it will never be able to have player connect to it as this required setup on the client.
Does that makes sense? Sorry we do not support this SDK at this time.
Old Scheme
Hello,
RTSession.onPlayerConnect event, when it happens?
I never get this to work.
I have two-player game, using sdk for iOS.
So, i've created a match and assigned the real-time script.
Docs says, this event called when player is connected to the RT-Session, but i can't find any way to connect player to the session.
I've setup my match in the following way:
GSMatchmakingRequest
Once matchFoundMessage arrives, i'm sending
GSMatchDetailsRequest
then
GSCreateChallengeRequest
Don't know if this is right way to create the match for two players.
But there's lack of tutorials for iOS framework.
But, at some time when challenges being set i need to initialize some variables on cloud code side. The only place, where i can do is RTSession, where the code executes for both players, not per each of them. But RTSession.* listeners doesn't get called. Need some help here.
Are you using our iOS SDK from here -> [https://bitbucket.org/gamesparks/gamesparks-ios-sdk]
Or our Unity3D SDK with iOS as the platform?
Our base iOS SDK does not have real-time support. So setting up matches as RT will have no effect. The RT script may initialize but it will never be able to have player connect to it as this required setup on the client.
Does that makes sense?
Sorry we do not support this SDK at this time.
Sean
Customer Support
Are you using our iOS SDK from here -> [https://bitbucket.org/gamesparks/gamesparks-ios-sdk]
Or our Unity3D SDK with iOS as the platform?
Our base iOS SDK does not have real-time support. So setting up matches as RT will have no effect. The RT script may initialize but it will never be able to have player connect to it as this required setup on the client.
Does that makes sense?
Sorry we do not support this SDK at this time.
Sean
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics