Connection ErrorBad RequestThis page went staleSession ExpiredSign in requiredForbiddenNot FoundToo Many RequestsServer ErrorBad GatewayService UnavailableGateway TimeoutHTTP Version Not Supported
Session Expired
Your session has expired. Please log in to continue.
Sign in required
You need an account to do that. Sign in or create one — it only takes a minute.
This page went stale
Your security token was rejected, usually because the page sat open too long or you signed in elsewhere. Nothing was saved. Reload the page and try again.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
If the game can save and load files using scripts, then after the user clicks "End Turn," the game's identifier can be saved to a file... when the game starts, a session identifier is generated (a random number within a certain range, repeated four times, like a PIN code, although more variables could be used, but four is optimal), and a file with this identifier is saved – we have now recorded the session identifier, and the session control variable receives this value... before the user clicks "End Turn" again, the file is read, and a verification generation of the identifier, similar to a PIN code, is performed, meaning it's generated in four digits – a match is practically impossible!
1 2 3 4 5 6
r = os.clock() function _random() math.randomseed(r); r = math.random() return r; end