Dak_iSuk Posted July 13, 2002 Share Posted July 13, 2002 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 More sharing options...
Jasco Smlee Posted July 13, 2002 Share Posted July 13, 2002 Hmm. Mine looks for games.log. I don't think it uses statfile.log. Link to comment Share on other sites More sharing options...
Dak_iSuk Posted July 13, 2002 Author Share Posted July 13, 2002 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 More sharing options...
PainGod Posted July 13, 2002 Share Posted July 13, 2002 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 More sharing options...
Jasco Smlee Posted July 13, 2002 Share Posted July 13, 2002 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 More sharing options...
PainGod Posted July 13, 2002 Share Posted July 13, 2002 Making progress... "players.dat" Where does that file allegedly come from? The perl engine is calling for it but I dont have one....?? Link to comment Share on other sites More sharing options...
PainGod Posted July 13, 2002 Share Posted July 13, 2002 Duh. I fixed it. It works! Yay! Check yer email, Dak. Link to comment Share on other sites More sharing options...
Dak_iSuk Posted July 14, 2002 Author Share Posted July 14, 2002 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 More sharing options...
Jasco Smlee Posted July 14, 2002 Share Posted July 14, 2002 I think it keeps already parsed data in the players.dat file. Link to comment Share on other sites More sharing options...
Wintrmte Posted July 18, 2002 Share Posted July 18, 2002 Originally posted by Jasco Smlee I think it keeps already parsed data in the players.dat file. Correct, it stores all the information in the players.dat flat file. No need for extra software or databases. Link to comment Share on other sites More sharing options...
PainGod Posted July 19, 2002 Share Posted July 19, 2002 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 More sharing options...
Wintrmte Posted July 19, 2002 Share Posted July 19, 2002 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 More sharing options...
Wintrmte Posted July 19, 2002 Share Posted July 19, 2002 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 More sharing options...
PainGod Posted July 19, 2002 Share Posted July 19, 2002 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. Link to comment Share on other sites More sharing options...
PainGod Posted July 19, 2002 Share Posted July 19, 2002 Hey Dak, know what we need? We need the thingie that allows us to see who's playing in the server at any given moment from the web using a browser. There is one somewhere, I just can't find it..... Link to comment Share on other sites More sharing options...
PainGod Posted July 19, 2002 Share Posted July 19, 2002 Bingo. Jasco has it. The Jedilive program: http://www.force137.com/download.asp?id=209 Hey Jasco: does this have to occupy the same box as the game or can it be on a separate pc? Link to comment Share on other sites More sharing options...
Jasco Smlee Posted July 19, 2002 Share Posted July 19, 2002 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 More sharing options...
PainGod Posted July 20, 2002 Share Posted July 20, 2002 Cool. We got it goin. Thanks, Jasco!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.