Forum

> > CS2D > General > Bots in ServerStats.html, and Server Log Parser?
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

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

7 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

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

RichNagel
User Off Offline

Zitieren
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")?

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

DannyDeth
User Off Offline

Zitieren
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.

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

RichNagel
User Off Offline

Zitieren
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?
1× editiert, zuletzt 12.12.12 18:38:51

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

SD
User Off Offline

Zitieren
user RichNagel hat geschrieben
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");
?>

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

RichNagel
User Off Offline

Zitieren
user SD hat geschrieben
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).
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht