Sign In Register

How can we help you today?

Start a new topic
Answered

Continuous scheduling of scripts

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.


Best Answer

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


That's a good idea! Since my game is asynchronous I guess I could also trigger a time check on the app resuming.

Hi


I think you can set a timeout timestamp in client-side and let clients wake server up.


Jo

I'm building a game with a similar time system as you. Did you find any way around this?

Answer

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

Any ideas on this?

Login to post a comment