Jump to content

Dezmo

New Members
  • Posts

    3
  • Joined

  • Last visited

Dezmo's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Nice thanks! I will try that, will it work when the user is still online? Or do i have to use another way for that? because it should still update the res when you are online.
  2. No its like if you have 1 gold on your account and then make like 1 gold each sec, then when you get back into your account again your gold should be 26 if it was 25 secs ago you last checked your gold. Simply put, the gold factor should raise by 1 for every sec there goes by.
  3. Hey im trying to make a small little game for my self at the moment, to test my self a little, the game i creating is based a little on the game http://ogame.org, im trying to find out how i can make the ressources auto increase on each member created on my site as the site ogame has, i dont need the javescript so you can see it auto increase, but just need to refresh it and then i can see that it has gone up, in my game im using Gold, Silver and Copper as ressources atm, and im not sure how to make the number in my database auto increase while the user have logged out, i was thinking about using some kind of function that would increse copper with 1 for each sec there goes with a timestamp or something like that, any of you guys knows how this could be possible? Regards Dan Larsen
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.