What Lanista name did you use? Did you give him a name?
Don’t remember, maybe something like a1
if you move the logic to the client cant it be easily hacked?
Yes, but why should you care? It is a single-player game anyway, there is no downside if somebody cheats for his own local game.
the freeze screen shouldnt happen
I was able to work around the problem by removing session token from local storage. It seems there is some real deadlock-like bug.
do you mean you expect a kind of “spinning wheel” while waiting for network?
There are many ways to indicate it visually, but important point is not to accept new command from UI until the previous one is processed. Otherwise, player clicks on button, thinks it did not work, click again, and gets unintended duplicate action when the server finally responds.
Here is typical result of above-mentioned problem
