Damian Jurzysta wrote:
>
> Hello Minturn.Del.PRC.Oceana.
>
> On 13-Mar-00, you wrote:
>
> M> db.c
> M>
> M> /* reset the time in the game from file */
> M> void reset_time(void)
> M> {
> M> #if defined(CIRCLE_MACINTOSH)
> M> long beginning_of_time = -1561789232;
> M> #else
> M> long beginning_of_time = 650336715;
> M> #endif
> M>
> M> time_info = *mud_time_passed(time(0), beginning_of_time);
> M>
> M>
> M> -----Original Message-----
> M> From: Circle Discussion List [mailto:CIRCLE@post.queensu.ca]On Behalf Of
> M> Damian Jurzysta
> M> Sent: Monday, March 13, 2000 11:53 AM
> M> To: CIRCLE@post.queensu.ca
> M> Subject: [CIRCLE] mud time
> M>
> M>
> M> how do I set the mud time to always start at year 1100, day 01, month 01
> M> when a
> M> reboot is made? I did a grep for mud_time_passed but could not find the
> M> relevant
> M> variable(s).
>
> exactly how is this value calculated? what decides the year, day, month and
> current tick?
take a look at do_time (act.info.c) for how the time_info relates to
days etc.
Chris
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT