How does travian update current resources?

Status
Not open for further replies.
Initiate Mage
Joined
Jul 9, 2012
Messages
1
Reaction score
0
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.
 
Status
Not open for further replies.