/-/S'pht-Translator-Active/-/


M1 Played Time!
Posted By: poena.dare #CP#Date: 10/13/02 6:19 p.m.

In Response To: Spelling Error & Major Mac Frustration (poena.dare #CP#)

: function, almost untouched.. */
: static get_date_string(char *date_string) {

Ok, I cracked the time function in the terminals, and as a side effect, you can use the terminal time to determine how long you have been playing *continuously* (even across levels). <- This also means the "played clock" is not reset when you continue a saved game.

Note 1: Time does not pass when viewing terminals, looking at Save dialogs, etc.

Note 2: This is not an exact formula. When I said "I cracked the time function" I really meant, "I sorta have the time function figured out".

To calculate how much time you have been playing:

1) Go to any terminal, view any page. Note the time string in the top right corner. (Note: the year is always 2337, so you need to guess whether you have "rolled over" to the next year.)

2) Calculate the difference between that date and 1843 08.24.2337 (1843 is HHMM) and get the answer into seconds.

3) Divide by 900.

4) The answer is how many seconds you have been playing.

Example: I'm about to exit "Neither High Nor Low" and am at the exit terminal. The date reads: 0846 01.30.2337. I know the date must have rolled over to 2338, so I use that as the year. The date difference is 13705380 secs. I divide that by 900 and get 15228.2 secs played. This is about 4 hours, 14 minutes.

(a full "game year" translates to about 9 and 3/4 hours)

Caveats: time played *may* be affected by the Mac CPU speed. I invite others to look at this, too.

[ | Message Index | Read Prev Msg | Read Next Msg ]
Pre-2004 Posts

Replies:

M-Community Project Helpers Neededpoena.dare #CP# 10/2/02 6:40 p.m.
     Re: M-Community Project Helpers NeededMark Levin 10/2/02 10:27 p.m.
           Re: M-Community Project Helpers Neededpoena.dare #CP# 10/2/02 11:29 p.m.
                 Re: M-Community Project Helpers NeededMark Levin 10/3/02 12:28 a.m.
                       Re: M-Community Project Helpers NeededGhôlsbane 10/3/02 6:39 a.m.
                             Re: M-Community Project Helpers NeededSteve Levinson 10/3/02 5:53 p.m.
                       Re: M-Community Project Helpers NeededHamish Sinclair 10/3/02 12:33 p.m.
                 Problem? What Problem?reb 10/3/02 2:16 p.m.
                       Re: Problem? What Problem?poena.dare #CP# 10/3/02 3:11 p.m.
                             Re: Problem? What Problem?Callie21V 10/3/02 5:36 p.m.
                                   Re: Problem? What Problem?poena.dare #CP# 10/3/02 6:01 p.m.
                                   Re: Problem? What Problem?Hamish Sinclair 10/4/02 9:46 a.m.
                                   ss klfjdama bma cma d 10/13/03 3:29 a.m.
                                         ia! ia! cthulhu fhtagn! *NM*zudo 10/13/03 5:30 a.m.
                       Re: Problem? What Problem?Grasshopper 10/4/02 9:02 a.m.
                             Re: Problem? What Problem?reb 10/4/02 11:07 p.m.
     Re: M-Community Project Helpers NeededCallie21V 10/3/02 8:34 a.m.
           Re: M-Community Project Helpers NeededSteve Levinson 10/3/02 6:14 p.m.
                 Steve, you have confused me....poena.dare #CP# 10/3/02 7:16 p.m.
     Re: M-Community Project Helpers NeededGhôlsbane 10/3/02 9:22 a.m.
     Marching Orders... Hup Two Three!poena.dare #CP# 10/3/02 11:20 p.m.
           I have M1 terminal picts!poena.dare #CP# 10/4/02 6:36 a.m.
                 Re: I have M1 terminal picts!Ghôlsbane 10/4/02 6:48 a.m.
                       Re: I have M1 terminal picts!reb 10/4/02 10:59 p.m.
     Project Found Delivery Updatepoena.dare #CP# 10/5/02 12:52 p.m.
           Arrival Previewpoena.dare #CP# 10/5/02 8:38 p.m.
                 Re: Arrival PreviewMark Levin 10/5/02 10:10 p.m.
                       About Fontspoena.dare #CP# 10/5/02 10:23 p.m.
                 Re: Arrival PreviewCallie21V 10/6/02 9:30 a.m.
                       Dynamic Time Questionpoena.dare #CP# 10/6/02 4:05 p.m.
                             Re: Dynamic Time QuestionAndrew Nagy 10/6/02 5:21 p.m.
                 Re: Arrival PreviewMazilurik 10/6/02 9:53 a.m.
                       Re: Arrival Previewpoena.dare #CP# 10/6/02 3:21 p.m.
                 Re: Arrival PreviewGhôlsbane 10/6/02 4:17 p.m.
           Arrival in Need of a Proofpoena.dare #CP# 10/6/02 5:38 p.m.
           Lh'owon in Need of a Proofpoena.dare #CP# 10/7/02 1:10 a.m.
                 Re: Lh'owon in Need of a ProofGhôlsbane 10/7/02 7:12 a.m.
                       Lh'owon fixespoena.dare #CP# 10/7/02 3:50 p.m.
                             Re: Lh'owon fixesGhôlsbane 10/7/02 4:20 p.m.
           Burn All GIFs!Lunair 10/8/02 5:04 p.m.
                 Re: Burn All GIFs!:: Beer Can :: 10/8/02 6:47 p.m.
     ?John Denton 10/8/02 12:50 a.m.
           Re: ?Ghôlsbane 10/8/02 1:26 a.m.
                 Actually, I was planning on working on Infinity.John Denton 10/9/02 12:11 a.m.
           Re: ?Scifiteki 10/8/02 1:41 a.m.
                 Re: ?Steve Levinson 10/8/02 8:42 a.m.
                       Re: ?Andrew Nagy 10/9/02 12:25 p.m.
                             Re: ?Steve Levinson 10/9/02 3:42 p.m.
     New, Improved Arrival Termspoena.dare #CP# 10/10/02 11:27 a.m.
           Re: New, Improved Arrival TermsHamish Sinclair 10/10/02 1:58 p.m.
                 Re: New, Improved Arrival Termspoena.dare #CP# 10/10/02 2:03 p.m.
                       Re: New, Improved Arrival TermsHamish Sinclair 10/10/02 2:38 p.m.
                             Improved Term Pages...poena.dare #CP# 10/10/02 7:39 p.m.
                                   Re: Improved Term Pages...Hamish Sinclair 10/11/02 5:55 a.m.
                                         Re: Improved Term Pages...Ghôlsbane 10/11/02 6:37 a.m.
                                               Re: Improved Term Pages...poena.dare #CP# 10/11/02 7:29 a.m.
                                                     Re: Improved Term Pages...Hamish Sinclair 10/11/02 8:23 a.m.
                                                           Re: Improved Term Pages...Hamish Sinclair 10/11/02 8:26 a.m.
                                                     Re: Improved Term Pages...Callie21V 10/11/02 10:22 a.m.
                                                           Re: Improved Term Pages...Hamish Sinclair 10/11/02 1:39 p.m.
                                                                 QT2.5poena.dare #CP# 10/11/02 3:58 p.m.
                                                                       Re: QT2.5get azure 10/11/02 8:56 p.m.
                                                                             Re: QT2.5Dan Aris 10/13/02 6:51 a.m.
                                                                       Re: QT2.5 *NM*get azure 10/11/02 8:57 p.m.
                                                                 Re: Improved Term Pages...Mark Levin 10/11/02 10:52 p.m.
                                                           Re: Improved Term Pages...poena.dare #CP# 10/11/02 3:16 p.m.
                                         google site searchMiguelito 10/11/02 8:10 a.m.
                                               Re: google site searchHamish Sinclair 10/11/02 8:19 a.m.
                                               Re: google site searchMark Levin 10/11/02 12:10 p.m.
                                                     Re: google site searchHamish Sinclair 10/11/02 1:32 p.m.
     Found Delivery: Another Termpoena.dare #CP# 10/13/02 3:04 a.m.
           Re: Found Delivery: Another TermScifiteki 10/13/02 4:01 a.m.
                 Spelling Error & Major Mac Frustrationpoena.dare #CP# 10/13/02 5:25 a.m.
                       Re: Spelling Error & Major Mac FrustrationHamish Sinclair 10/13/02 1:53 p.m.
                       M1 Played Time!poena.dare #CP# 10/13/02 6:19 p.m.
                       Re: Spelling Error & Major Mac FrustrationAndrew Nagy 10/13/02 8:01 p.m.
           Volunteers available for review.poena.dare #CP# 10/13/02 9:53 a.m.
                 Re: Volunteers available for review.Ghôlsbane 10/13/02 10:20 a.m.
                       Re: Volunteers available for review.Ghôlsbane 10/13/02 10:30 a.m.
                             Re: Volunteers available for review.poena.dare #CP# 10/13/02 11:03 a.m.
                                   Re: Volunteers available for review.Ghôlsbane 10/13/02 11:33 a.m.



Problems? Suggestions? Comments? Email maintainer@bungie.org

Marathon's Story Forum is maintained with WebBBS 5.12.