rudedog
02-25-2005, 11:16 PM
Getting it to work and having the right settings in the right places was tough to figure out. Here is the list of things you will need
After weeks of effort and hair yanking, I finally got AEStats to work for spearhead. The accuracy is still up in the air, but I think it does a tremendous job. Getting it to work and having the right settings in the right places was tough to figure out. Here is the list of things you will need:
1) AEStats file itself. I'll assume you have downloaded it.
2) UltraEdit-32. Find version 9.2 out there.
3) Felix's macro.
4) Proper settings in your startup files and server config.
Now, if your server is logging, you should have a log file called QCONSOLE.LOG.
Here are the settings YOU MUST HAVE in your server startup folder:
moh_spearhead_server.exe +set dedicated 1 +set developer 1 +set ui_console 1 +exec server.cfg
I use a batch file and task scheduler to start and stop my server. The last statement in the command executes your CONFIG file for your server. I'll assume you use a TEAM game. Regardless, YOU MUST ADD the following lines to your CONFIG file:
//Stats
set g_log "stats.log"
set logfile "2" //console log - 0=no log 1=buffered 2=continuous 3=append
set g_logsync "1"
This will place the proper text you need in the QCONSOLE.LOG file. It will register all the primary weapons, Kills, Deaths and suicides.
I run stats for the game that ran the previous night, and stats to date. The Stats to date is a combination of the QCONSOLE.LOG files from a starting date. I use a batch file to copy and rename my QCONSOLE.LOG file to [CURRENT DATE]QCONSOLE.LOG and place it in a folder called LOGS. I then run a FREEWARE program called TXTCOLLECTOR from http://bluefive.pair.com (http://bluefive.pair.com/)to combine all my log files into one.
Next, Launch UltraEdit and load Felix's macro. Once the macro is loaded, open the QCONSOLE.LOG file and run the macros, one at a time, against the log file. Check the box to run to end of file. Once the macro has run against the log file for each weapon, save the file. (Click FILE...SAVE)
Run the AEStats program against the newly saved log file and it will produce your HTML pages for your website. There is a CONFIG file for the AEStats program to adjust the stats it produces. I set a limit on mine for a minimum of 50 incidents (FRAGS+DEATHS+SUICIDES) to remove the five minute jokers that log on the server shoot the gun once, and leave. However, any kills on a Five Minute Joker will not be registered in the overall rankings.
If you figure out how to run or automate the macro, let me know. Stat runs usually take about 10-minutes, not including upload time to your server.
Good Luck,
-Cactus Rat
E-mail: cactusrat@cactusrat.com (cactusrat@cactusrat.com)
Web site: www.cactusrat.com (http://www.cactusrat.com/)
After weeks of effort and hair yanking, I finally got AEStats to work for spearhead. The accuracy is still up in the air, but I think it does a tremendous job. Getting it to work and having the right settings in the right places was tough to figure out. Here is the list of things you will need:
1) AEStats file itself. I'll assume you have downloaded it.
2) UltraEdit-32. Find version 9.2 out there.
3) Felix's macro.
4) Proper settings in your startup files and server config.
Now, if your server is logging, you should have a log file called QCONSOLE.LOG.
Here are the settings YOU MUST HAVE in your server startup folder:
moh_spearhead_server.exe +set dedicated 1 +set developer 1 +set ui_console 1 +exec server.cfg
I use a batch file and task scheduler to start and stop my server. The last statement in the command executes your CONFIG file for your server. I'll assume you use a TEAM game. Regardless, YOU MUST ADD the following lines to your CONFIG file:
//Stats
set g_log "stats.log"
set logfile "2" //console log - 0=no log 1=buffered 2=continuous 3=append
set g_logsync "1"
This will place the proper text you need in the QCONSOLE.LOG file. It will register all the primary weapons, Kills, Deaths and suicides.
I run stats for the game that ran the previous night, and stats to date. The Stats to date is a combination of the QCONSOLE.LOG files from a starting date. I use a batch file to copy and rename my QCONSOLE.LOG file to [CURRENT DATE]QCONSOLE.LOG and place it in a folder called LOGS. I then run a FREEWARE program called TXTCOLLECTOR from http://bluefive.pair.com (http://bluefive.pair.com/)to combine all my log files into one.
Next, Launch UltraEdit and load Felix's macro. Once the macro is loaded, open the QCONSOLE.LOG file and run the macros, one at a time, against the log file. Check the box to run to end of file. Once the macro has run against the log file for each weapon, save the file. (Click FILE...SAVE)
Run the AEStats program against the newly saved log file and it will produce your HTML pages for your website. There is a CONFIG file for the AEStats program to adjust the stats it produces. I set a limit on mine for a minimum of 50 incidents (FRAGS+DEATHS+SUICIDES) to remove the five minute jokers that log on the server shoot the gun once, and leave. However, any kills on a Five Minute Joker will not be registered in the overall rankings.
If you figure out how to run or automate the macro, let me know. Stat runs usually take about 10-minutes, not including upload time to your server.
Good Luck,
-Cactus Rat
E-mail: cactusrat@cactusrat.com (cactusrat@cactusrat.com)
Web site: www.cactusrat.com (http://www.cactusrat.com/)