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

7 replies
Goto Page
To the start Previous 1 Next To the start
Up
RichNagel
User
Offline Off
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")?
11.12.12 01:38:33 pm
Up
DannyDeth
User
Offline Off
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.
11.12.12 01:41:26 pm
Up
Infinite Rain
Reviewer
Offline Off
You can do that with Lua, but still, why would you need to add bots in server stats?
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV
11.12.12 04:56:49 pm
Up
RichNagel
User
Offline Off
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
12.12.12 07:32:46 pm
Up
SD
User
Offline Off
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.
Code:
1
2
3
<?php
include("/cs2d/serverstats.html");
?>
13.12.12 07:14:41 am
Up
RichNagel
User
Offline Off
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.
Code:
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).
13.12.12 08:04:24 am
Up
ohaz
User
Offline Off
you could install a sync service (like dropbox) on both your PC and your server and put the file in there automatically.
https://ohaz.engineer - Software Engineering
13.12.12 10:03:59 am
Up
RichNagel
User
Offline Off
user 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
To the start Previous 1 Next To the start