Forum

> > CS2D > General > Bots in ServerStats.html, and Server Log Parser?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Bots in ServerStats.html, and Server Log Parser?

7 replies
To the start Previous 1 Next To the start

old Bots in ServerStats.html, and Server Log Parser?

RichNagel
User Off Offline

Quote
Is there a CVar/server setting that will ALSO include the bots in ServerStats.html stats file that the game generates?

Lastly, are there any "log parser" utilities available for the server log files (maybe something like "AEStats")?

old Re: Bots in ServerStats.html, and Server Log Parser?

DannyDeth
User Off Offline

Quote
You might want to check cs2d.com's help section. It's doubtable that there will be anything like adding bots into your serverstats there. Why would you want to include bots in your stats files anyway?

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.

old Re: Bots in ServerStats.html, and Server Log Parser?

RichNagel
User Off Offline

Quote
It would be just for my own local server playing against a few friends... and would be interesting to see how the bots performed compared to the humans.

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

old Re: Bots in ServerStats.html, and Server Log Parser?

SD
User Off Offline

Quote
user 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
<?php
include("/cs2d/serverstats.html");
?>

old Re: Bots in ServerStats.html, and Server Log Parser?

RichNagel
User Off Offline

Quote
user 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
<?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).
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview