Wintrmte Posted April 10, 2002 Author Share Posted April 10, 2002 * bump * Link to comment Share on other sites More sharing options...
rivmin Posted April 10, 2002 Share Posted April 10, 2002 *bump*...??... I know what *ploink* means....but *bump* ? Link to comment Share on other sites More sharing options...
HellfireSK Posted April 10, 2002 Share Posted April 10, 2002 Question answered, I just didn't know for certain if you had taken log-rotations into account in the parser. I cron the job every 2 hours for the parser, that's plenty accurate for my tastes. I have a script that runs every morning at 7am now which brings down the server, parses/archives the log and restarts the server. It seems to be working quite well. -h Link to comment Share on other sites More sharing options...
crazy_elmo Posted April 11, 2002 Share Posted April 11, 2002 Sorry if this sounds stupid, but i'm not very experienced with this. I installed the script, and it seems to be running fine, i get no error messages and it generates the .html output file, except it stays empty. ( except for the stylesheet etc., just no data from log ) The log file excists and has player data in it, What am I doing wrong ? Link to comment Share on other sites More sharing options...
Wintrmte Posted April 11, 2002 Author Share Posted April 11, 2002 Originally posted by crazy_elmo Sorry if this sounds stupid, but i'm not very experienced with this. I installed the script, and it seems to be running fine, i get no error messages and it generates the .html output file, except it stays empty. ( except for the stylesheet etc., just no data from log ) The log file excists and has player data in it, What am I doing wrong ? Which logfile are you specifying? By default, the script uses the information that the server writes to the jedi.log file (unless you have renamed it). You can specify the logfile on the command line to test it.. logparse.pl -logfile <path to your logfile> Link to comment Share on other sites More sharing options...
Hulceantor Posted April 12, 2002 Share Posted April 12, 2002 Works and Looks great thanks!! Ryan Link to comment Share on other sites More sharing options...
crazy_elmo Posted April 12, 2002 Share Posted April 12, 2002 Originally posted by Wintrmte Which logfile are you specifying? By default, the script uses the information that the server writes to the jedi.log file (unless you have renamed it). You can specify the logfile on the command line to test it.. logparse.pl -logfile <path to your logfile> Thanks for the tip, it works great now !!! I got it up and running with a cron job that update's the data every 20 minutes. You can see it over here http://jedi-outcast.no-ip.com/jedi/player-stats.html Link to comment Share on other sites More sharing options...
gimli_aa Posted April 13, 2002 Share Posted April 13, 2002 If you still had a copy of the very first logparse script you made. I liked its simplicity. And was also good to teach myself how to search strings for informationan and then how to manipulate that data using perl. Thanx Link to comment Share on other sites More sharing options...
kanehart Posted April 13, 2002 Share Posted April 13, 2002 I need help with this. I have a blank ftp server user i can make and have it in a empty folder so no one can mess. I'm not good at this stuff. Would someone help me install this master pice. Link to comment Share on other sites More sharing options...
kanehart Posted April 14, 2002 Share Posted April 14, 2002 http://www.fsonline.ca/sw/ does not work. Is there way you can help me install it someone. Link to comment Share on other sites More sharing options...
kanehart Posted April 14, 2002 Share Posted April 14, 2002 Ok I will take that as no one cares Link to comment Share on other sites More sharing options...
Leo Posted April 14, 2002 Share Posted April 14, 2002 kanehart, you have msn installed ? If you have tell me your hotmail address. I could try to give you some tips. Link to comment Share on other sites More sharing options...
kanehart Posted April 14, 2002 Share Posted April 14, 2002 yeah msn: kanechart@msn.com aol: kanechart sr icq: 147934053 ymsg: kanechart thanks Link to comment Share on other sites More sharing options...
kanehart Posted April 14, 2002 Share Posted April 14, 2002 it should show my info under what i say does not work oh well Link to comment Share on other sites More sharing options...
Leo Posted April 14, 2002 Share Posted April 14, 2002 I have added you at my list. Link to comment Share on other sites More sharing options...
Wintrmte Posted April 15, 2002 Author Share Posted April 15, 2002 * bump * .. I tried submitting this application to the guys here at jediknightii to add to their files database.. Hasn't made it there yet. Link to comment Share on other sites More sharing options...
Loon Posted April 15, 2002 Share Posted April 15, 2002 Is there currently any way of getting it to display only certain weapons? I run a duel server, and statistics of blasters and whatnot would be inappropriate. There seems to be an option in the logparse.pl itself, but it says that the feature should not be used, as it is broken at the moment. Is there another way? /Loon Link to comment Share on other sites More sharing options...
Wintrmte Posted April 15, 2002 Author Share Posted April 15, 2002 Originally posted by Loon Is there currently any way of getting it to display only certain weapons? I run a duel server, and statistics of blasters and whatnot would be inappropriate. There seems to be an option in the logparse.pl itself, but it says that the feature should not be used, as it is broken at the moment. Is there another way? /Loon It is broken in the sense that you cannot specify multiple weapons to ONLY display. But, it *should* work if you replace the all with MOD_SABER This should only display lightsaber weapon stats.. Link to comment Share on other sites More sharing options...
geronimo27 Posted April 15, 2002 Share Posted April 15, 2002 I run a saber only server, so to make all non-saber weaps show I commented out the weapons in the weapon define block of ther perl script that I didn't want. Pretty easy. So, I am at work, and don;t have the script on me, but if you look in the perl script where you can change the names from MOD_SABER to Lightsaber, for example, put a # character in front of every weapon line that you don't want. I was wondering if there is a way to add in the choice of which stat to rank the main stats by? What I mean is this - the main stats are currently ranked by the number of kills. This doesn't necessarily mean that the top people are good - it just means they play a lot, and if the stats are up for awhile, then it might mean they are a regular on the server. Because of this, I would like to rank the main stats by efficiency rating, so regardless of whether a player is a newb to the server or a regular, the top people listed in the stats are truly the top players. Link to comment Share on other sites More sharing options...
Wintrmte Posted April 16, 2002 Author Share Posted April 16, 2002 Originally posted by geronimo27 I run a saber only server, so to make all non-saber weaps show I commented out the weapons in the weapon define block of ther perl script that I didn't want. Pretty easy. So, I am at work, and don;t have the script on me, but if you look in the perl script where you can change the names from MOD_SABER to Lightsaber, for example, put a # character in front of every weapon line that you don't want. I was wondering if there is a way to add in the choice of which stat to rank the main stats by? What I mean is this - the main stats are currently ranked by the number of kills. This doesn't necessarily mean that the top people are good - it just means they play a lot, and if the stats are up for awhile, then it might mean they are a regular on the server. Because of this, I would like to rank the main stats by efficiency rating, so regardless of whether a player is a newb to the server or a regular, the top people listed in the stats are truly the top players. ] You bet. The next version will generate different stats screens that are sorted by Rank, Skill, Death, Suicides, etc. I would like to point out the reason why I am doing static .html vs. going the PHP, ASP route.. (Since I've been emailed numerous times about this). Not everyone uses servers that support PHP, or ASP. Going the static .html route is the easiest route to take, since it guarentee's (sp?) that the user can display the pages. Link to comment Share on other sites More sharing options...
geronimo27 Posted April 16, 2002 Share Posted April 16, 2002 Excellent - I'm really looking forward to that! I agree about the reasoning behind not using PHP or ASP. Thanks for all your hard work - it is really appreciated! Link to comment Share on other sites More sharing options...
HellfireSK Posted April 16, 2002 Share Posted April 16, 2002 I'm still having some flakey behavior with log rotations, tack that on to your list stoof. If possible I'd love to see an additive mode of some kind that could be used on a per-file basis. The mode would parse a single log file in its entirety adding those stats to it's recorded stats. No line count, no half-done games or anything. Just a parse from start to finish of a single file which would end at EOF or the last piece of good data (in the case of a server crash) I'd rather cron that with my log rotator script than mess with the incremental stuff, it just seems to miss too much data within my current scheme. -h Link to comment Share on other sites More sharing options...
Sysgod Posted April 18, 2002 Share Posted April 18, 2002 Why would it be doing this. I run logparse.pl -logfile jedi.log (as it sits in the same directory for now). And I get the following error message - Found the last line of the logfile It writes the .html file, with no stats, just updates the time the stats were run. Link to comment Share on other sites More sharing options...
crazy_elmo Posted April 18, 2002 Share Posted April 18, 2002 Originally posted by Sysgod Why would it be doing this. I run logparse.pl -logfile jedi.log (as it sits in the same directory for now). And I get the following error message - Found the last line of the logfile It writes the .html file, with no stats, just updates the time the stats were run. I had the same problem, but with me it turned out that I was using the wrong logfile. The server creates 2 files, the one I use is called game.log ( by default ). Doesn't hurt to check this out... Link to comment Share on other sites More sharing options...
Sysgod Posted April 18, 2002 Share Posted April 18, 2002 Originally posted by crazy_elmo I had the same problem, but with me it turned out that I was using the wrong logfile. The server creates 2 files, the one I use is called game.log ( by default ). Doesn't hurt to check this out... Cool, that's what it was. u rox! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.