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.
I don't even know – this option isn't that complicated, but how do we handle the fact that the hero will leave some reinforcements in the fort? It's no longer possible to check how many he took from there, and if we do check, it will be very difficult. Secondly, how do we handle the resource check? After all, the fort window kind of "blocks" all the scripts, so the player will be able to take all the reinforcements without any problems, and the check will only start later. So, at the very least, it won't look good.
I have some ideas on how to implement a resource check. Here's the algorithm: the player agrees to summon creatures. Immediately, the resources are deducted from his balance, and according to their availability, troops are summoned to a virtual garrison (i.e., if there is a shortage of a certain type of resource, those creatures will not be in the garrison). After that, the player rearranges the troops. The window closes. The creatures that remain in the garrison are exchanged for the corresponding resources at a certain rate, and they, in turn, are returned to the player's account. There will be no problem with the player taking more than he should.