#4101 negative time (rented at sign)

closed-fixed
nobody
None
5
2011-08-12
2009-06-21
No

"This sign was rented by Ci-Dev -1 minutes ago."
This was shown after I clicked the sign rentd by myself just a moment ago.

My random guess is that database and game server run at differents hosts with a slightly different time.

In-game solution: Even if the time difference is negative, show "less than one minute", maybe even with "into the future" appendix.

Discussion

  • Alexander Schuch

    Whoops, wrong tracker. Someone please move this into the bugs tracker. Thanks!

     
  • Katie Russell

    Katie Russell - 2009-06-21

    Moved. the database and game server are on the same site

     
  • Katie Russell

    Katie Russell - 2009-06-21

    a different guess: system time in milliseconds is stored as a long so perhaps it is from parsing that and some loss of precision?

     
  • Hendrik Brummermann

    This happens when the times moves backwards (because of updates from the network time protocol daemon).

     
  • bluelads4

    bluelads4 - 2011-08-12

    Hello,

    I think that problem is fixed now. Please open the tracker again if it's still urgent.

    Greetings

    Bluelads4

     
  • bluelads4

    bluelads4 - 2011-08-12
    • status: open --> closed-fixed
     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks