How to make Counter Timers
Posted: Tue Jul 29, 2008 9:43 pm
Hi, im from brazil and my english is not so good.
So, Im creating an MMORPG with some friends.. all the ideas of the game are doned.
Maps, Tables (mySQL), and all the systens (Battle, Market, and others)
I need to know how can i use timers...
Expemple:
If i click in the link to upgrade my Factory to level 2, it uses some resources (Iron, Gas and Uranian) and need to the upgrade delays 1 hour to br completed. in this hour the player can calcel the upgrade.
and if the player is not connected when this hour ends, the site needs to make the function to upgrade the factory to level 2.
that's the better way that i found to explain my question.
any quesntion. ask me please...
So, Im creating an MMORPG with some friends.. all the ideas of the game are doned.
Maps, Tables (mySQL), and all the systens (Battle, Market, and others)
I need to know how can i use timers...
Expemple:
If i click in the link to upgrade my Factory to level 2, it uses some resources (Iron, Gas and Uranian) and need to the upgrade delays 1 hour to br completed. in this hour the player can calcel the upgrade.
and if the player is not connected when this hour ends, the site needs to make the function to upgrade the factory to level 2.
that's the better way that i found to explain my question.
any quesntion. ask me please...