project-navigation
Personal tools

Author Topic: RC4: include build-number in logfile  (Read 3084 times)

HaJo

  • Guest
RC4: include build-number in logfile
« on: July 30, 2006, 09:51:45 pm »
the version-string "Version: 2.0-RC4 x86 Jul 28 2006 Win32 DEBUG"
should also include the revision-number, as many postings on sf.net
announce "fixed in SVN trunk revision xxxx".

Also, the version should be written to ufoconsole.log earlier
(i.e. before the "sound initialization" part, at the latest),
because some crashes happen after "...precaching 48 menus",
and currently, the version-info is still missing from the log.

HaJo

  • Guest
RC4: include build-number in logfile
« Reply #1 on: August 01, 2006, 06:02:40 pm »
You can get the version-number included into the logfile a bit earlier
with an autoexec.cfg that just contains the command "version".

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
RC4: include build-number in logfile
« Reply #2 on: August 01, 2006, 07:57:13 pm »
Oh. Who would have though?

HaJo

  • Guest
RC4: include build-number in logfile
« Reply #3 on: August 01, 2006, 09:19:32 pm »
Creating such a file with just that simple command would fix
the message "couldn't exec autoexec.cfg" in ufoconsole.log,
that we still see now.

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
RC4: include build-number in logfile
« Reply #4 on: August 01, 2006, 10:09:19 pm »
I'll try to add this to SVN today. Thanks! BTW, where should that file be located? The same in Win and Lin, or not?

HaJo

  • Guest
RC4: include build-number in logfile
« Reply #5 on: August 02, 2006, 02:02:09 am »
Quote from: "Bandobras"
where should that file be located?

Same directory as config.cfg

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
RC4: include build-number in logfile
« Reply #6 on: August 02, 2006, 04:11:25 am »
OK, now it's added into the game. Thanks!

<CIA-18> bandobraz * r2288 /ufoai/trunk/base/autoexec.cfg: Added autoexec.cfg,
    as proposed by HaJo. It displays version earlier (in case of a crash)
    and surpresses the warning.