We're making a card game in which it is required to deal 2 cards at a regular interval of 13-14 seconds. The deal process has been added to a module. After the deck is empty, a shuffle of the deck is automatically scheduled and the process is repeated until the room is empty or the challenge player limit is reached.
Is there a way to get this behavior without getting the "You can only chain the scheduling of 10 scripts" error? Because the dealing needs to be at the server side and I currently see no other alternative besides the scheduler.
Best Answer
J
Jo Huang
said
almost 7 years ago
Hi Robin
I ran into this situation,too.
It's simply the limitation of GS to prevent from infinite schedule loops.
Robin Dhar
Hi,
We're making a card game in which it is required to deal 2 cards at a regular interval of 13-14 seconds. The deal process has been added to a module. After the deck is empty, a shuffle of the deck is automatically scheduled and the process is repeated until the room is empty or the challenge player limit is reached.
Is there a way to get this behavior without getting the "You can only chain the scheduling of 10 scripts" error? Because the dealing needs to be at the server side and I currently see no other alternative besides the scheduler.
Hi Robin
I ran into this situation,too.
It's simply the limitation of GS to prevent from infinite schedule loops.
Hope the info helpful.
Jo
- Oldest First
- Popular
- Newest First
Sorted by Newest FirstOne More Turn
That's a good idea! Since my game is asynchronous I guess I could also trigger a time check on the app resuming.
Jo Huang
Hi
I think you can set a timeout timestamp in client-side and let clients wake server up.
Jo
One More Turn
I'm building a game with a similar time system as you. Did you find any way around this?
Jo Huang
Hi Robin
I ran into this situation,too.
It's simply the limitation of GS to prevent from infinite schedule loops.
Hope the info helpful.
Jo
Robin Dhar
Any ideas on this?
-
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