.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old March 12th, 2008, 06:30 AM

Kamamura Kamamura is offline
Corporal
 
Join Date: Feb 2007
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Kamamura is on a distinguished road
Default Event logging?

Hello, how can I enable it? Since the last patch, strange things started to happen, like my Hefaistos-style pretender (the giant smith) started to forge the dwarven hammer, but failed two times to no particular reason and then succeded.

I would like to know what's going on in my game, I have seen some logs posted in this forum, but I cannot find a logfile anywhere among the installed files.

I run Dominions 3 v. 3.15 on Linux.

Thank you in advance.
Reply With Quote
  #2  
Old March 12th, 2008, 06:36 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Event logging?

You need to enable debugging with the -ddd switch when you start Dominions, IIRC.
Reply With Quote
  #3  
Old March 12th, 2008, 06:48 AM

Kamamura Kamamura is offline
Corporal
 
Join Date: Feb 2007
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Kamamura is on a distinguished road
Default Re: Event logging?

Thank you very much. One more question, will the debug information be sent to some specific file, or to standard output, or to syslog perhaps?
Reply With Quote
  #4  
Old March 12th, 2008, 06:50 AM

Kamamura Kamamura is offline
Corporal
 
Join Date: Feb 2007
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Kamamura is on a distinguished road
Default Re: Event logging?

Ah, I see, standard output. What a mess...
Reply With Quote
  #5  
Old March 12th, 2008, 06:58 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Event logging?

There is a log.txt file in the main Dominions 3 directory, if you're looking for a log file. I think that's what you wanted.
Reply With Quote
  #6  
Old March 12th, 2008, 09:02 AM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: Event logging?

You can redirect standard out wherever you want, so it may actually be more convenient than going to some unknown file.
Reply With Quote
  #7  
Old March 12th, 2008, 09:15 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Event logging?

I have no idea how to handle standard output, and no clear idea how I'd get it any way... I understand it'd be much easier in non-Windows system, but that's about it. I'm not sure if "what a mess" was directed towards extracting the standard input, or the generated log.

You can try different values of -ddddd to make the log more or less detailed, IIRC.
Reply With Quote
  #8  
Old March 12th, 2008, 10:23 AM

Kamamura Kamamura is offline
Corporal
 
Join Date: Feb 2007
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Kamamura is on a distinguished road
Default Re: Event logging?

Sorry, the mess remark was about the structure and information contained. Maybe the number of "d" will trim the verbosity to desired levels.

Redirecting standard input is of course trivial

./dom3 -ddd > /var/log/dom3.log

for example.

Thank you once again
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:18 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.