|
Here I offer for download some of the content I made for Valve Source™ engine based games.
srclog_merge v1.2 (2008/12)
Source™ server logfile merging tool
Source™ gameservers generally start a new logfile on each mapchange, and therefore produce around
20-60 files a day. For quick and easy searching and analysis of this data I have created this tool.
It takes into account timestamps and file contents of the logs to determine if they are terminated and allowed to be processed.
It can be run in a live server logs directory (with the server running and writing logs), and will not interfere with the log
generation by ignoring recent files using a well defined set of rules.
|

Source™ server logfile merging tool
|
I run this tool scheduled once a day in the early morning, so that I can already access the complete previous day
(and all others within the current month) in one file. If the server has logflush enabled (write to file after every line), this won't be a problem,
as the program also checks the last line of the most recent file, to see if the log was closed. The program also takes care not to merge
files dated earlier than the most recent line of the merged log, if one already exists.
It can process large amounts of files, so say you collected a year of those tiny logfiles (thats around 20,000), it could merge them -
probably in less than a minute - into twelve handy monthly files.
The program can be downloaded here as a Windows® executable. The C source code is of course also available, including the
Perl-Compatible Regular Expressions library version 7.8 in static precompiled form.
srclog_merge.zip (Windows® executable under GPL)
srclog_merge_src.zip (Source code under GPL, includes MSVC6 project files)

UDP query Perl script for Source™ servers
|
src_qry v1.5 (2009/01)
UDP query Perl script for Source™ servers
This script queries a local or remote Source™ server, for example Counter-Strike: Source,
and prints out server name, map, player count, and a list of players with their frags and times connected in
a neat table. Features include intelligent caching, correct display of unicode player names (looks almost like in-game!)
and mapchange timeout bridging.
Formatting is done by stylesheet (included).
Example output can be seen on my main page.
src_qry.zip (Perl script under GPL)
|
This script is meant to be used by SSI (server side includes), but of course can be modified to work standalone, in frames,
or you can even depart from my original idea of calling it when someone views the page, and simply run it scheduled, printing
the output to a file - I'm just not a big fan of this. If you want to use the script the way I do, your webserver must support SSI.
You can include the script for example in an .shtml file using something like this line:
<!--#include virtual="cgi-bin/src_qry.plx" -->
If the script is useful to you in whatever way, I would much appreciate you dropping me a mail :-)
ka_soccer_badweather (2008/09)
Being a ka_soccer_2006 player on Counter-Strike: Source for more than a year or two,
I now made my own modification of the map, called ka_soccer_badweather. The name
probably says it all - this map is for advanced CSS soccer players looking for a new
challenge, playing on a rainy, fogged field, in rather bad lighting conditions.
The map also includes huge puddles and a ball (how fortunate!). The difference to all
of the other ka_soccer maps made to date is though, that the ball is no longer a - kind of buggy -
brush model based func_physbox, but an external model file implemented as a prop_physics.
|

Goal with floodlights next to it
|

The new ball
|
This makes it possible for the sphere to no longer be a standard one, but a so called
"geo-sphere", where all of the faces have the same size and shape, and thus the
(non-)smoothness of the ball is the same all around, delivering a better rolling-behavior.
The map can be played on my CS:S soccer server:
Forlix pure! #1
92.51.140.185:27015
If its not on, just use votemap, or rtv.
You can also download the map here:
ka_soccer_badweather.zip (3 MB, CS:S map)
|
|