View previous topic :: View next topic |
Author |
Message |
Hosway[CJP] Registered User
Joined: 18 Aug 2002 Location: Deltona, FL Posts: 483
|
Posted: Fri Sep 05, 2003 2:45 pm Post subject: HL Query with MySQL (no ActivePerl) |
|
|
Ok, before i was looking for a stats script with no MySQL as database, which i believe rob told me to get psychostats (required activeperl). Worked well n' all but now i'm looking for a script that is only backened by MySQL and nothing else. So if anyone knows where I can get such script, please let me know. If not, its k00. _________________
---
Hosway[CJP] is now Doppelgangster.
Come, let's talk with swords! |
|
Back to top |
|
|
OpTlk Registered User
Joined: 27 Apr 2002 Location: San Diego, CA Guild:=US-V= Posts: 2176
|
Posted: Fri Sep 05, 2003 2:53 pm Post subject: |
|
|
I may be reading your post incorrectly...but doesnt HLStats save into a MySQL db? why not use that? --> hlstats.org _________________
http://www.myspace.com/pvallone |
|
Back to top |
|
|
Robert E. Lee Registered User
Joined: 18 Jul 2001
Posts: 2904
|
Posted: Fri Sep 05, 2003 3:00 pm Post subject: |
|
|
Hlstats uses Mysql to store the stats and Perl to collect them. _________________
|
|
Back to top |
|
|
Warhammer Server Admin
Joined: 12 Aug 2001 Location: Atlantuh, Jawjuh Posts: 1226
|
Posted: Fri Sep 05, 2003 5:41 pm Post subject: |
|
|
MySQL is a database server - all it will do is store the data that HLStats sends it. You'll need something else to make web pages out of it, like Perl, ASP, or PHP. Most of the packaged HL stats systems will be based around Perl or PHP. _________________ Support wildlife. Throw a party! |
|
Back to top |
|
|
Hosway[CJP] Registered User
Joined: 18 Aug 2002 Location: Deltona, FL Posts: 483
|
Posted: Tue Sep 09, 2003 2:09 pm Post subject: |
|
|
Warhammer wrote: | MySQL is a database server - all it will do is store the data that HLStats sends it. You'll need something else to make web pages out of it, like Perl, ASP, or PHP. Most of the packaged HL stats systems will be based around Perl or PHP. |
Does MySQL store hlstats automatically?? Don't i need like an adminmod script in order to do that??
Ok, so I need some sort of PHP Script that will gather the stats and display them as a (Probably HTML template) web page. How/Where do I get that?
Sorry for the confusion
PS: I tried the hlstats.org but tthe page wouldn't display ( ) but will keep trying _________________
---
Hosway[CJP] is now Doppelgangster.
Come, let's talk with swords! |
|
Back to top |
|
|
Robert E. Lee Registered User
Joined: 18 Jul 2001
Posts: 2904
|
Posted: Tue Sep 09, 2003 9:30 pm Post subject: |
|
|
Here's what happens.. In the servers autoexec.cfg you add a line called logaddress, you point that IP address and port to your webserver to collect the stats.. like this..
Code: |
logaddress 192.168.1.20 27500
|
Then you run hlstats.pl which is a perl script to collect the incoming server data and it put it in the database for storage. All of the appropriate scripts and instructions are in the hlstats zip file thats located here.
http://sourceforge.net/project/showfiles.php?group_id=20371 _________________
|
|
Back to top |
|
|
|