SRCDS Steam group


Player rate tracking system using Linux's firewall (iptables)
#31
Yes. The configuration is inside the program file itself, so it requires restart on changes.

Have you got the rates.html somewhere?
Reply
#32
error:


Code:
Can't locate Date/Format.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /srcds/ratetables/ratetables3.pl line 168.
BEGIN failed--compilation aborted at /srcds/ratetables/ratetables3.pl line 168.
Reply
#33
OK. This is because you don't have perl's Date::Format module installed.

You can install RPM package perl-TimeDate to install it. If you're on debian it's called libtimedate-perl.

See either of these:
RPM: http://dag.wieers.com/rpm/packages/perl-TimeDate/ (rpm -Uvh perl-TimeDate-1.16-1.2.el5.rf.noarch.rpm)
DEB: http://packages.debian.org/lenny/libtimedate-perl (apt-get install libtimedate-perl)

If you're hard core Linux user then you obviously use CPAN:

1. perl -MCPAN -e shell
2. install Date::Format
Reply
#34
Ok now it is running

will get back with a link when i finds it hehe

hardcore nah... Smile

cant find rates.html
Reply
#35
Does it say something about HTML::Template when you start the script now?

You also need HTML::Template perl modele ( http://dag.wieers.com/rpm/packages/perl-HTML-Template/ )

The configuration variable is "htmlfile"
Code:
htmlfile => "/home/user/public_html/rates.html"
Reply
#36
it starts fine now


have installed the template for html but it is not created any file anywhere
Reply
#37
Doesn't it say any error? Have you verified the "htmlfile" configuration setting is something sensible?
Reply
#38
Was drunk during the installation. Will look at it now again. But htmlfile config? explain more

htmlfile => "/home/user/public_html/rates.html",


^ is unchanged... perhaps change the bold ^ to root or what?

but i have my ratetracking installed into. Dont uses my home dir for my servers at all

/srcds/ratetables
Reply
#39
Now i have created the dir´s for the rates.html and chmodded it
Reply
#40
It works but it is not accesible from the outside

/public_html/ <-- chmodded to 755
rates.html <-- chmodded to 744
Reply
#41
Correct. Do you have any files accessible from the outside? Usually on default install the public web files are at /var/www/. So if you set htmlfile => /var/www/rates.html, then you should see it at http://yourdomain.com/rates.html.
Reply
#42
No files accessible from the outside. Now i have my rates.html in /var/www

rates.html is chmodded to 744
/www/ is chmodded to 755

The file rates.html is created by the system and if i open it it shows my rate. But it is not accesable from the outside. How does i fix that?
Reply
#43
You have to have apache installed (or other web server, but apache is what everybody uses). In Ubuntu it installs with "apt-get install apache2".
Reply
#44
worked fine. Will give you the url after i have modded the output some... tomorrow
Reply
#45
I would like to use this but the OP download link is broken/dead. Can someone upload the file(s) in question please?. Thank you!.
Reply


Forum Jump:


Users browsing this thread: 12 Guest(s)