Hey,
I am wondering how Travian has solved the storing of the current resources. The continously updating resources bar at the is obviously js/jquery, but how do they store the current number of resources? It can't keep updating all the time can it? Do they store the new amount of resources the next time the users clicks on a page and make that calculation based in the last time it was updated and the current income, or how does it work?
Thanks.
I am wondering how Travian has solved the storing of the current resources. The continously updating resources bar at the is obviously js/jquery, but how do they store the current number of resources? It can't keep updating all the time can it? Do they store the new amount of resources the next time the users clicks on a page and make that calculation based in the last time it was updated and the current income, or how does it work?
Thanks.