Ik probeer nu al de heldag om csserverstat aan de gang te krijgen, maar het wil niet baten.
na alles netjes gedaan te hebben, in de verschillende files. En na het installen van qstat. Probeer ik dus met csserverstat.pl een website op mijn scherm te toveren. Alleen dit werkt niet.
Hier zijn alles wat ik ingevuld heb:
csserverstat.conf
cslog.pl
csserverstat.pl
Iemand zit zo wat ik fout doe? want ik kom er echt neit meer uit.
Site van csserverstat: http://server.counter-strike.net/csserverstat/
Site van qstat: http://www.qstat.org/
na alles netjes gedaan te hebben, in de verschillende files. En na het installen van qstat. Probeer ik dus met csserverstat.pl een website op mijn scherm te toveren. Alleen dit werkt niet.
Hier zijn alles wat ik ingevuld heb:
csserverstat.conf
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
| # This is the full path to your template file. Make sure you use forward slashes, even if you are running Windows (i.e. c:/ww
template = /var/www/html/csserverstat.template
# This is the default number of seconds the web browser should automatically reload this script. The lower the number, the hi
defrefresh = 30
# This is the minimum number of seconds in which the web browser can automatically reload this script. The lower the number,
minrefresh = 30
# This is the default number of events to show (kills, chats, wins, etc.). The higher the number, the higher the load on your
defevents = 10
# This is the maximum number of events to show (kills, chats, wins, etc.). The higher the number, the higher the load on your
maxevents = 100
# This is the maximum number of characters in a players name that will be shown in the player list. For example, if set to 15
maxplayername = 20
# This needs to be set to the IP address of your game server.
serverip = 192.168.0.2
# This needs to be set to the port number of your game server.
serverport = 27015
# This is the directory where qstat or qstat.exe is located. Make sure you use forward slashes, even if you are running Windo
qstatpath = /root/games/qstat24e
# This is the directory where cslog.pl stores your log files. Make sure you use forward slashes, even if you are running Wind
logdir = /root/games/hlds_l/cstrike/logs
# This is the full directory path to where your map and icon images are stored. Make sure you use forward slashes, even if yo
imagepath = /var/www/html/images
# This is the URL to where your images are stored (i.e. http://www.yourdomain.com/images). Relative URLs are fine too (i.e. /
imageurl = /images
# Set to "1" if you want events to display with the newest on top. The default is to display new events on bottom.
reverse_order = 0
# Set to "1" if you want to show team messages. The default is to not display team messages.
team_messages = 0
# If you use HLMaps, you may optionally put the URL to hlmaps.pl here to link the map images to HLMaps (i.e. http://www.yourd
hlmaps =
# If you use Log_Anal, you may optionally put the URL to your Log_Anal stats directory here (i.e. http://www.yourdomain.com/l
log_anal_url =
# If you are using Log_Anal and have set log_anal_url, you also need to put the full path to your Log_Anal stats directory he
log_anal_path =
# Log_Anal allows you to change the default extention of its output files from .html to something else. If you have changed L
log_anal_extension = html
# If you want the player list to mark your admin's names, list them here, seperated by commas (i.e. Admin1, Admin2, Admin3, e
admins = [HEET]Saipha, [HEET]Pacthon
# List any words you don't want displayed in chat messages here, seperated by commas (i.e. bob, dog, clan, etc.).
banwords =
# Set to "1" if you want to display additional debugging information on the web page. WARNING - this should generally be left
debug = 0 |
cslog.pl
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| #!/usr/bin/perl
use IO::Socket;
################################################################################
# cslog.pl - A Half-Life remote logging tool that works in conjunction with #
# Half-Life server "logaddress" command. #
################################################################################
# http://server.counter-strike.net/csserverstat #
# modified by Marco Grimm http://www.multimadness.de #
# modified by Niklas Aldergren for FreeBSD compatibility #
# Version 1.05 #
################################################################################
# Put the Half-Life game server's IP address below. Do not put the port number, just the IP address.
$remote_address = "192.168.0.2";
# Put the UDP port you want cslog.pl to listen on below. Typically the default port of 2000 should work fine.
$listen_port = "2000";
# Set to 1 if you want to display the log entries on your screen, otherwise set to 0.
$log_echo = "1";
# Set to 1 if you want to delete the old log file when a new one is created.
$log_rotate = "1";
# Put the directory you want the log file written to below. Remember to use forward slashes like /, even if you are using Win
$log_path = "/root/games/hlds_l/cstrike/logs"; |
csserverstat.pl
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| #!/usr/bin/perl
use POSIX qw(strftime);
use Net::hostent;
use Socket;
################################################################################M
# csserverstat.pl - A server info and log parser for Half-Life Counter-Strike #
# servers. #
################################################################################M
# http://server.counter-strike.net/csserverstat #
# Version 1.06
# Modified 3/24/01 for new CS1.1 Logging format by Neo #
################################################################################M
# Set the path to your configuration file here. Make sure you use forward slashes, even if you are running Windows (i.e. c:/w
$settings{configfile} = "/var/www/html/csserverstat.conf"; |
Iemand zit zo wat ik fout doe? want ik kom er echt neit meer uit.
Site van csserverstat: http://server.counter-strike.net/csserverstat/
Site van qstat: http://www.qstat.org/
Let us make sure history never forgets the name ... Enterprise.