1
intel352
Module Preview: HLStats Xoops'ed
  • 2004/7/7 17:17

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


Anyone that is a gamer and plays the popular game Counter-strike or other Half-Life based mods, is most likely aware of HLStats (currently in active development at UA).

HLStats is a web-based statistics tracking program for Half-life, Counter-strike, Day of Defeat, and other Half-life based games. It ranks players based on skill, calculated from their number of kills, goals achieved, etc. All stats are *REAL* time, meaning that if you killed someone in-game, within the next minute or so, that kill should be reflected on the stats page. This is different from the popular Psychostats, which parses saved server logs.

HLStats uses php, perl, and mysql. It requires the perl scripts to be set up on cron, and the scripts will require a port on your webserver to receive the stream of log-data from the supported gameservers.

I have been a long-time user of HLStats, a big fan of it's stats tracking system and especially the real-time results and use of mysql+php. I have ported this excellent program to XOOPS CMS. This is a port of the 1.30 CVS Beta version being developed by the HLStats dev team, available through Sourceforge project cvs.

The xHLStats port project is hosted at dev.xoops.org, but the current cvs storage at dev.xoops.org hasn't been updated to the latest changes yet.

Here are a few preview screenshots of xHLStats in action.

HLStats module Main Page

HLStats Counter-Strike game Main Page

HLStats Counter-Strike player stats

HLStats Counter-Strike detailed player stats

HLStats module admin index

HLStats module admin game index


There are of course more pages that I didn't take screenshots of, but everything works flawlessly so far (I haven't even discovered any bugs inherent from the original code, yet), and everything is nicely integrated.

This port will also be a fork from HLStats main, with the purpose of integrating some of Psychostats' nice features into HLStats for a more complete package. Even further down the line is possible integration with AMXBans app, to allow HLStats use some of AMXBans features (such as searching a database from in-game), and AMXBans to use HLStats features (such as having a banned player's full stats information, such as used ips, used ids, etc).

A beta of this package will soon be release at http://dev.xoops.org, so keep checking there for updates!

2
intel352
Re: Module Preview: HLStats Xoops'ed
  • 2004/7/7 18:16

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


Currently supported games:

Counter-Strike
DeathMatch Classic
Day Of Defeat
Natural Selection
Team Fortress
The Specialists
Half-Life Deathmatch

3
intel352
xHLStats module status UPDATE
  • 2004/7/20 15:59

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


xHLStats Project is here

Some info: the xHLStats module is a port of the popular live statistics project, which supports many Half-Life based gaming mods. The port is based on HLStats 1.30 Beta, and is an attempt to fully integrate the HLStats project into the XOOPS module format, while adding new (needed) features and maintaining/enhancing ease-of-use.


Completed thus far:
- xHLStats system perl scripts appear to be fully functioning with table prefix support.
- Both user and admin sides of the project are fully integrated to work within xoops.
- Dynamic navigation menu has been created, using example found in some of the WF modules.
- All known bugs have been squashed, including a bug found in original code, regarding the live Server Status screen.
- [Partial]Ability to assign a user to a clan has been added & functions properly, but will be overwritten by the perl scripts. Further enhancement is needed.

To Do:
- Complete(finish) ability to assign a user to a specific clan.
- Associate multiple 'detected' clans with a single tag (i.e.- for a single clan that uses tag variations)
- Create XOOPS Smarty templates, if possible.
- Ensure that while user stats are pruned, individual user information remains. (not sure if this already occurs, need to test)
- Add support for more HL mods, as well as other games (future)
- Create block to display simple server status.
- Add ability for XOOPS user to be 'linked' to their gaming identity, using unique SteamID.
- Rewrite code to remove usage of Temporary tables, for webhosts that do not have Temporary table benefits in MySQL, and possibly improve performance. (performance comparison will be needed to find which method is better)

We hope to put out a release sometime in the next week, but in the meantime, the project files are available via CVS.

Feel free to post further ToDos, requests, etc

4
falcon911
Re: xHLStats module status UPDATE
  • 2004/7/22 22:39

  • falcon911

  • Just popping in

  • Posts: 12

  • Since: 2004/7/20


I am fully behind this idea. I have a XOOPS site right now setup ready and waiting http://www.miamivehicles.com.. But only problem is that I would like to see Tribes 2 as a hosted game.. I noticed "future games" was on the to do list... What exactly in lamens terms (becuase I'm not really a coder) you need to be able to get it going?

Don't know if this helps out or not.. but I found these which is easily downloadable from my ftp site.

http://www.miamivehicles.com/tribes/tclp-0.80.tar.tar
http://www.miamivehicles.com/tribes/tlogsmall08b.zip
http://www.miamivehicles.com/tribes/t2serverstat-0.52.zip
http://www.miamivehicles.com/tribes/wmqstat-0.0.3.tar.gz

Most if not all are in perl. But I think it needs alittle tweaking from a coders point of view.

5
intel352
Re: xHLStats module status UPDATE
  • 2004/7/22 23:20

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


well, i would need a perl coder, for one thing. i'm a php programmer, i don't touch perl (don't know the language yet), so while those files are probably useful, i can't put them to use

find me a perl coder?

Login

Who's Online

301 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 301


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits