Jump to content

Home

Jedi Logger Problems


Dak_iSuk

Recommended Posts

If i can get aroung this blasted server not showing up on master server list problem, I'd like to work on getting jedi logger working. My first question is this.

 

The script calls for jedi.log, however none of my logs are named that. which log file should i rename?

 

g_log

or

g_statLogFile

?

Link to comment
Share on other sites

I gave some cvars that determine the names of the .log files

seta logfile "3"

seta g_log "games.log"

seta g_statLog "1"

seta g_statLogFile "jedi.log"

 

I just dont know if they are the default of if jedirunner renamed them.

 

btw: Thanks Jasco for all your posts, and your site looks awesome!

Link to comment
Share on other sites

Hey Jasco,

 

I'm working with this hated perl script. Can you give me the breakdown of your dir structure where it applies to this logger (if it is not too much trouble)? I've apparently bungled something....

 

 

Also, did you have to Chmod anything?

 

 

Here is my structure thus far:

 

> ll

total 56

-rw-r--r-- 1 jbobbitt wheel 2833 Jul 12 02:26 README

-rw-r--r-- 1 jbobbitt wheel 1690 Jul 12 02:26 WINDOWS-USERS.README

drwxr-xr-x 2 jbobbitt wheel 512 Jul 12 02:18 data

drwxr-xr-x 2 jbobbitt wheel 512 Jul 12 02:22 images

drwxr-xr-x 2 jbobbitt wheel 512 Jul 12 16:30 log

-rwxrwxrwx 1 jbobbitt wheel 3636 Jul 12 16:33 logparse.conf

-rwxrwxrwx 1 jbobbitt wheel 39367 Jul 12 02:25 logparse.pl

-rwxrwxrwx 1 jbobbitt wheel 278 Jul 12 02:26 main-stats.html

-rw-r--r-- 1 jbobbitt wheel 0 Jul 12 02:26 pkzip.cfg

-rwxrwxrwx 1 jbobbitt wheel 282 Jul 12 02:26 player-statfile.html

-rwxrwxrwx 1 jbobbitt wheel 18 Jul 12 02:26 player.filter

drwxr-xr-x 2 jbobbitt wheel 512 Jul 12 02:21 players

drwxr-xr-x 2 jbobbitt wheel 512 Jul 12 02:22 stylesheets

 

 

 

 

 

Thanks in advance.

 

Pg

Link to comment
Share on other sites

Dak, I think they are the defaults, not sure though. Either way, it's g_log that Jedi Logger uses. Glad you like the site :)

 

PainGod, I run it on Win2k. I didn't have to CHMOD anything. (I sort of know what that means ;)) I'm not near my server at the moment. I will try and post my logger config files when I can.

Link to comment
Share on other sites

Ok heres the next question. The server is on my win2k server and I upload the games.log to Paingods unix server. there he runs the script and handels it from there. Do I need to upload the whole games.log or should I delete the info that i have already uploaded? Does the script append the data to a DB as it procceses it?

Link to comment
Share on other sites

So there are two commands we can use:

 

perl logparse.pl -reinit

 

&

 

perl logparse.pl

 

 

 

I run both every morning. Reinit builds a new players.dat file, right? And Dak is allowing his games.log to get bigger and bigger.

 

So the question here is: can we go ahead and delete the games.log, allow a new one to get built, upload it, run ONLY 'perl logparse.pl' and everybody's stats get appended to players.dat?

Link to comment
Share on other sites

Originally posted by PainGod

So there are two commands we can use:

 

perl logparse.pl -reinit

 

&

 

perl logparse.pl

 

 

 

I run both every morning. Reinit builds a new players.dat file, right? And Dak is allowing his games.log to get bigger and bigger.

 

So the question here is: can we go ahead and delete the games.log, allow a new one to get built, upload it, run ONLY 'perl logparse.pl' and everybody's stats get appended to players.dat?

 

Ok.. -reinit wipes the existing players.dat file, and creates a new one.

 

The reinit command was intended for when you want to delete your games.log file and start your statistics over.

 

You could just FTP the games.log file on the hour (but not delete the file once it's transferred), overwriting the one on the server which you are running the logparse from.. Deleting the logfile and having the script start from scratch would produce inaccruate results, since, the script is looking for the last line number it saw since it's previous run.

 

So, if the last line number it saw was 100, and you upload a new logfile that contained 200 lines, the script is going to start at line 100 -- ignoring lines 1 through 99, thus, tainting your stats. :(

Link to comment
Share on other sites

Originally posted by PainGod

So there are two commands we can use:

 

perl logparse.pl -reinit

 

&

 

perl logparse.pl

 

 

 

I run both every morning. Reinit builds a new players.dat file, right? And Dak is allowing his games.log to get bigger and bigger.

 

So the question here is: can we go ahead and delete the games.log, allow a new one to get built, upload it, run ONLY 'perl logparse.pl' and everybody's stats get appended to players.dat?

 

Ok.. -reinit wipes the existing players.dat file, and creates a new one.

 

The reinit command was intended for when you want to delete your games.log file and start your statistics over.

 

You could just FTP the games.log file on the hour (but not delete the file once it's transferred), overwriting the one on the server which you are running the logparse from.. Deleting the logfile and having the script start from scratch would produce inaccruate results, since, the script is looking for the last line number it saw since it's previous run.

 

So, if the last line number it saw was 100, and you upload a new logfile that contained 200 lines, the script is going to start at line 100 -- ignoring lines 1 through 99, thus, tainting your stats. :(

Link to comment
Share on other sites

If I read that correctly, we must leave the games.log alone, huh?

 

 

Dang.

 

 

Cuz that thing is getting big... like 10 megs big. And it is getting larger every day, thus increasing FTP upload time.... ugh.

 

 

Ok, guess we dont have a choice.

 

 

Tis the price we pay for numerical vanity. :D

Link to comment
Share on other sites

Hey Jasco: does this have to occupy the same box as the game or can it be on a separate pc?

 

I'm not sure. I have it on the same box for simplicity. I think as long as you put it on an ASP web server where you can also register the .dll, it should be ok.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...