Jump to content

Home

jkii logger for win32


Sinister69

Recommended Posts

ok, got it working, played around with it for a little while and now it's working. just need to be able to publish it on the web and find some way for it to update automatically. any ideas?

 

let me know

 

how do i get the logparse.pl file to run every few minutes?

 

task scheduler will only do it daily. please help!!!!

Link to comment
Share on other sites

If you don't mind me asking, why would you want it to update every few minutes? If you want something to show the current server status check out the jedilive thingy in the files section.

 

I think some ftp programs allow you to macro/script things, so you could record a macro that uploaded all your pages to your web server, then just schedule that to run as often as you wanted.

There may be way to do it using Windows built in command prompt ftp thing, but I have no clue how to do that!

 

I just host the stats pages on the same box as the game server so I don't need to bother with uploading stuff to other places.

Link to comment
Share on other sites

ok, i have it mostly working now. the only problem is when i click the players name, it should go to that players stats page. this works great on the box where the player files are located, but when i try connecting to it from another machine i get the page not found error.

 

i edited the page and it shows the link is pointing to c:\Inetpub\wwwroot\players\playername.html.

 

this works great like i said on the machine where the files are located.

 

but on other machines that i connect to it, those files should be located at http://sinister-server/player/playername.html

 

how do i get the logparse.conf file to point there?

 

here is my logparse.conf file setup. let me know what needs to be done.

 

###################################################################

# Change these to reflect the correct information for your server #

###################################################################

Administrator Sinister Jedi

AdminEmail nelson@pacbell.net

ServerName [FYS]Duel Doublebladed Saber Enabled No Force Saber Only

 

############################################

# Number of players to show statistics for #

############################################

TOPNUM 50

 

###############################################

# Name of the actual HTML File to be written #

###############################################

OUTPUT_FILENAME player-stats.html

 

########################################################################

# Name of the HTML file that will contain player stats sorted by skill #

########################################################################

SKILLS_FILENAME player-byskill.html

 

#########################################################################

# Name of the HTML file that will contain player stats sorted by deaths #

#########################################################################

DEATHS_FILENAME player-bydeaths.html

 

###########################################################################

# Name of the HTML file that will contain player stats sorted by suicides #

###########################################################################

SUICIDES_FILENAME player-bysuicides.html

 

###############################################

# This is the JK2 Logfile location #

###############################################

LOGFILE C:\progra~1\Lucasa~1\starwa~1\GameData\base\duel.log

 

###############################################

# This is your web files directory #

###############################################

OUTPUTDIR C:\Inetpub\wwwroot

 

#################################################################################

# This is the directory where individual stats are kept for the players #

# Note: This directory must exist inside your output directory that you #

# specify. #

#################################################################################

PLAYERDATADIR /players

 

######################################################

# Path to where the historical data files are stored #

######################################################

DATADIR /Inetpub/wwwroot/data

 

#########################################################

# This is your Stylesheet location inside the outputdir #

#########################################################

STYLESHEET http://sinister-server/stylesheets/stats.css

 

############################################################################

# File to use for filtering. Players nicknames that are in this file will #

# have statistics tracked for them. #

############################################################################

FILTER \player.filter

 

########################################################################################################################

# The images directory is the location inside your web directory. This directory is relative to everything else #

# meaning: If you say your outputdir is /home/jediadmin/public_html/jedi, and you make an images directory inside #

# the /home/jediadmin/public_html/jedi directory, then you would want to specify /jedi/images as your images directory #

########################################################################################################################

IMAGESDIR http://sinister-server/images

Link to comment
Share on other sites

Originally posted by Sinister69

ok, i have it mostly working now. the only problem is when i click the players name, it should go to that players stats page. this works great on the box where the player files are located, but when i try connecting to it from another machine i get the page not found error.

 

i edited the page and it shows the link is pointing to c:\Inetpub\wwwroot\players\playername.html.

 

this works great like i said on the machine where the files are located.

 

but on other machines that i connect to it, those files should be located at http://sinister-server/player/playername.html

 

how do i get the logparse.conf file to point there?

 

- SNIP -

 

Please email me at sam@neuroflux.com .. I am trying to get all the Win32 weirdness fixed for the next version.

 

Thx

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...