Lastly, are there any "log parser" utilities available for the server log files (maybe something like "AEStats")?
Forum
CS2D General Bots in ServerStats.html, and Server Log Parser?Bots in ServerStats.html, and Server Log Parser?
7 replies 1
Lastly, are there any "log parser" utilities available for the server log files (maybe something like "AEStats")?
Why would you need a "log parser"? They are already in readable form, and a quick bit of code will be able to get you a more machine-friendly version.
Anyhow, can you provide any tips ot pointers for doing this using Lua scripts (I'm assuming that it would entail editing one of the existing ones)?
(Edit) A few other questions, refering to the generated ServerStats.html file:
Is there a way to make the game automatically upload the HTML to a web site or FTP site? Also, can the game be configured to include non-USGN players to be ranked in the HTML?
edited 1×, last 12.12.12 06:38:51 pm
RichNagel has written
Is there a way to make the game automatically upload the HTML to a web site or FTP site?
If your game server is located on the same server as your web stuff, you can include that HTML with PHP, for example.
1
2
3
2
3
<?php include("/cs2d/serverstats.html"); ?>
SD has written
If your game server is located on the same server as your web stuff, you can include that HTML with PHP, for example.
1
2
3
2
3
<?php include("/cs2d/serverstats.html"); ?>
Thanks for the info, but my server is simply running on my PC (and my web and FTP space is elsewhere on the Internet).
ohaz has written
you could install a sync service (like dropbox) on both your PC and your server and put the file in there automatically.
Hey, that's a good idea. Thanks for the heads-up
1