OK, the first thing you need to do is set up your IL2/HSFX game to save a logfile. I do this by using the following lines in the conf.ini file (under the [game] section) in the IL2/HSFX game folder:
Code: Select all
eventlog=eventlog.lst
eventlogkeep=0
This ensures that IL2/HSFX writes mission events to file "eventlog.lst" in the game home folder, and overwrites it every time you run the game. That means that after every mission you should have a look in eventlog.lst to make sure your mission event data is in there. If it isn't SEOW has no way of knowing what happened in the mission, so you need to get this working before your campaign. Try it out and make sure the the game is logging correctly to file.
Next, you need to make sure your DCS knows
- where to put the IL2/HSFX mission files when they are built
- where to find the IL2/HSF log file (e.g. eventlog.lst)
You set these locations in the DCS Files/Misc tab. There are similar locations for ArmA2 files and folders, but you can neglect these if you are only running conventional SEOW campaigns.
Using the DCS, you hit "Build" to create the IL2/HSFX mission file. Once that is built you close the DCS and go and play the mission. After that your eventlog.lst file should contain data about what happened during the mission, how many pilots flew, what aircraft, ships, vehicles etc were damaged or destroyed, when and where etc. Then you open up DCS and hit "Analyze". When that finishes you can refresh your MP pages and see the new state of the battlefield ready for the next mission plans. You can also look at the Statistics pages.
One very important rule in SEOW is that if you encounter software errors, e.g. in the MP or DCS, during a campaign you should let me know. Don't just ignore them and carry on, that will always end in tears. They probably indicate game version or mod mismatches so it is best to understand the problem and fix it before making things worse by moving forward with a bugged campaign.
Now let's talk about Statistics. The Statistics tool in the MP is a separate PHP engine that reads the campaign database and constructs reports of mission events. As long as the DCS has successfully Analyzed your campaign mission logs, the Statistics engine will happily build the reports that so many people love to read. The Statistics engine has several configuration options, that you can edit directly in the Statistics/MP-StatisticsMetadata.php file. Here are a couple of important ones:
$StatsLanguage : the name of which language pack to display statistics pages in. Default "English". I had fun doing the Latin pack!
$StatsUseCache : whether to use page caching or not. Default true (IIRC)
Statistics caching is only useful if you have many players (e.g. 50+) in your campaign who want to look at the statistics reports at the same time, which can stress your web server. If this isn't the case, then set $StatsUseCache = false.
Another feature is that you can either delay Statistics for particular sectors by several missions (to simulate intelligence processing delays) or disable the Statistics altogether. Not many people use these two features, but we have used them at SEOW HQ.
Cheers,
4S