Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7065587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:58:28+00:00 2026-05-28T04:58:28+00:00

In the iphone game Tiny Tower, I’m guessing it uses some kind of simulation

  • 0

In the iphone game “Tiny Tower”, I’m guessing it uses some kind of simulation based on the time spent between the last play and the current time, because you can set the current time forward and you will get the benefit from the fake elapsed time span.

Is there an algorithm that I can use to prevent this sort of thing? (Or at least make it difficult enough for the average user to pull off!)

Edit: thanks, I understand that, despite my wording, there’s no way to prevent things you store on the client side, but I want to make it at least more difficult than “changing the time” to hack it!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:58:29+00:00Added an answer on May 28, 2026 at 4:58 am

    The gamecube had a way to do this so it must be possible.

    Is there an event triggered when the iphone time is set ? In that case you can react that.

    Another solution is to require to be online when the game is launched, this way you can check time on a remote server.

    You could has well check if you got an event on the phone login or wake up react to it, saving the time at that moment in your DB. You would have the last non modified time.

    A last possible trick is to check for a file you know is going to be modified by an action prior to time change (such as login), and check the ‘last modification’ date.

    You can investigate in the GPS direction as well. A GPS need to be synchronised with the satellite it contact, so it must keep track of time in some way, and maybe there is an API for that.

    Unfortunatly you are on an iphone, which mean your possibilities are limited since applications got very few rights and are sandboxed.

    EDIT:

    Just though about it but, can you create event in the iphone calendar ? And check if it has been trigered ? Cause you could set a fake meeting or something for every day. Not clean, but creative.

    EDIT 2: can you set a timer as a code for IOS to execute in 60 minutes ? If you can, set this timer, pass the time expected to be when this code run, then when the code run, compare and inform your program.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a pretty basic challenge-based iPhone game, and I wanted to know what
I'm making a little iphone game, and I would get some clues. Let's imagine:
I'm writing an iPhone game and I am trying to write some requirements documents.
I'm making an iPhone game based on the CrashLanding sample code . The sample
I'm wrapping up development on an iPhone game right now that uses data from
Using cocos2d for iPhone game development, I am confused between Layer and Scene. For
i am trying to integrate adwhirl to my iphone game. it is opengl based
I'm working on an iPhone game that uses an MKMapView as the playfield. After
I'm testing a 2D OpenGL ES based iPhone game on both the iPhone 3G
For iPhone game development, seems there are very like functions using CALayer and UIView,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.