Jump to content

Recommended Posts

Posted

This may be a question for elsewhere, maybe the MP server forum or Dev areas.   I am curious how folks are pulling in game statistics from the dserver.  I have poked around and there isn't anything as simple as a log file that data is being written (or maybe I am missing something).  The IL2stats software that is used on servers such as WoL look to interface with dserver via python and C possibly?   I am just curious if anyone has a documented method for this?

 

Posted

You have to enable the log file, then you have to use an external program which will use the log file. It's that program which is used by most of the online server.

 

It's that one :

https://forum.il2sturmovik.com/topic/19083-il2-stats-statistics-system-dedicated-server-il2-battle-stal/

 

Thanks Habu!

 

You wouldn't happen to know how to enable that log file? I was thinking of writing something simple to pull score info from the server then kick it out to a discord server.

Posted

You have to edit the file Startup.cfg which is here :

H:\IL-2 Sturmovik Battle of Stalingrad\data

 

It's in the following part :

 

[KEY = system]
      mgenlog = 0
      bin_log_folder = ""
      chatlog = 0
      debug_info = 0
      dlgbox_sky = 0
      gamelog = 0
      keep_binary_log = 0
      mission_text_log = 0
      text_log_folder = "logs\txt\"
      modes = 0
      playoffline = 0
      reset_configs = 0
      show_net_skins = 1
      skin_dir = "graphics\Skins\"

 

 

 

If i remember, it's the line mission_text_log, and change the 0 by 1

 

Do not forget to modify the line text_log_folder if you want that the log are saved in a specific folder.

  • Upvote 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...