Is there anyway I can access the match minimum players configured value to use on a real time script?
So if my RTScript intervaled function detects some players are taking too long (above certain time limit) to send some required data, I can decide if continue without them or abort.
Apologies for delayed response. You can get this value using SparkMatchConfig in Cloud Code.The getMinPlayers call is what you need here I believe. Try that and let me know if you have any further questions.
Regards,
Liam
G
Giuliano Suminsky
said
about 6 years ago
How do I get access to SparkMatchConfigfrom a realtime script since I dont have access to the Spark api? I think Im missing something..
Giuliano Suminsky
Is there anyway I can access the match minimum players configured value to use on a real time script?
So if my RTScript intervaled function detects some players are taking too long (above certain time limit) to send some required data, I can decide if continue without them or abort.
You might need to send a request to a custom logevent in RT scripts.
There is a brief guide on how to achieve this here -> https://docs2.gamesparks.com/tutorials/real-time-services/calling-log-event-requests-in-rt-scripts.html
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
Hi Giuliano,
Apologies for delayed response. You can get this value using SparkMatchConfig in Cloud Code.The getMinPlayers call is what you need here I believe. Try that and let me know if you have any further questions.
Regards,
Liam
Giuliano Suminsky
How do I get access to SparkMatchConfig from a realtime script since I dont have access to the Spark api? I think Im missing something..
Customer Support
You might need to send a request to a custom logevent in RT scripts.
There is a brief guide on how to achieve this here -> https://docs2.gamesparks.com/tutorials/real-time-services/calling-log-event-requests-in-rt-scripts.html
-
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