Jump to content
MassAsster

WebBased Detailed player stats

Recommended Posts

Version 1  (beta release)

Web Based Detailed Player Stats

 

Designed customizable inside the style.php  - color / logos ect.  Designed to fit your websites theme.

 

Demo/Example : http://es-gamers.com/stats   

 

Download :  http://es-gamers.com/stats.zip

 

 

Configure your database connection inside config.php

Configure your Sytle/look inside style.php

 

*This is a beta release - project is still in the works

Share this post


Link to post
Share on other sites

V1.1

(above download link updated)

Adds more customizable options for text areas to help easily conform to your color scheme

- updates some item images

- Updates Mysql close (it's good to close the connection after a query... )

 

http://es-gamers.com/stats/  <-- example

 

(Still beta, still a work in progress)

 

For anyone that's curious -  when looking at the inventory the numbers after the magazine indicate number of rounds remaining in the magazine,

when looking at the backpack the numbers indicate number of items (because the items are lumped together when stored in the database).

Share this post


Link to post
Share on other sites

Not connecting to my server's DB: http://blrcl.com/stats/

 

<?
 
//set up the names of the database and table
$db_name ="blahblah";
//connect to the server and select the database
$server = "hive.hfbservers.com";
$dbusername = "blahblah";
$dbpassword = "blahblah";
 
 
?>

Share this post


Link to post
Share on other sites

yeah, looking through my hiveext.ini for HFB servers

 

[Database]
;Currently, only MySQL is supported
Type = MySQL
;Hostname or IP of the server to connect to
Host = hive.hfbservers.com
;Port to connect to. The default is the default listening port of a server of the selected Type
;Instead of specifying Port, you can specify Socket and set Value to the socket name
Port = 3306

 

so it would indeed be hive.hfbservers.com:3306

Share this post


Link to post
Share on other sites

that's a neat idea...  I will look into something like that. at the moment this project simply pulls data out of the tables already in place and displays that data in a readable format. Things like distance / weapon kills are not placed into the database

Share this post


Link to post
Share on other sites

Can't get mine to work, get "No database selected"

 

<?

//set up the names of the database and table
$db_name ="removed";
//connect to the server and select the database
$server = "hive.hfbservers.com:3306";
$dbusername = "removed";
$dbpassword = "removed";


?>

Share this post


Link to post
Share on other sites

Oh, because of the bump I noticed this and this is exactly what I was looking for, I love it. 

Easy to customize and solved the problem about making the stats in-frame so to say!

Here is how I made it and changed it, thanks again.

I'll probably go on to add more stuff like zombie kills and vehicle numbers.

http://numenadayz.com/stats/index.php

 

As for goose89, I think you simply misspelt something, the code works for me.

Share this post


Link to post
Share on other sites

The sattelite internet is being all crappy again :/ so I cant check out cutomisation, is it also or will it be possible to change the names of the categories? Looks great anyway, and is a cool  addition for any severs website :)

Share this post


Link to post
Share on other sites

Oh, because of the bump I noticed this and this is exactly what I was looking for, I love it. 

Easy to customize and solved the problem about making the stats in-frame so to say!

Here is how I made it and changed it, thanks again.

I'll probably go on to add more stuff like zombie kills and vehicle numbers.

http://numenadayz.com/stats/index.php

 

As for goose89, I think you simply misspelt something, the code works for me.

 

Defenting -  love what you did, fits the theme well!

  and you don't have to credit me on the bottom ;)

Share this post


Link to post
Share on other sites

The sattelite internet is being all crappy again :/ so I cant check out cutomisation, is it also or will it be possible to change the names of the categories? Looks great anyway, and is a cool  addition for any severs website :)

Yea, you can change pretty much everything, just requires a tiny bit of coding experience in php, html and sql. 

 

 

Defenting -  love what you did, fits the theme well!

  and you don't have to credit me on the bottom ;)

Thank you!

Ah okey, but I felt as if I wanted to give some credit seeing as I only modified your script and didn't make one myself :)

Share this post


Link to post
Share on other sites

Hello!

 

This is something which is absolutley perfect for our servers & community, the examples posted are excellent.

 

The only trouble is, I'm somewhat clueless in regards to the mechanics behind this. I've uploaded/edited, but am getting the following error:

 

Access denied for user 'root'@'67.192.46.10' (using password: YES)

 

which can be seen here: http://www.gamingrepublic.co.uk/epochchernarus/

 

 

Could you/anyone offer any suggestions as to what the problem may be?

 

 

Thanks

Share this post


Link to post
Share on other sites

After digging through the code for over an hour trying to figure out why it wasn't connecting to the DB, turns out there is a bug in the config.php causing it....

 

At the top you have <? only, for my Apache server (Windows 7) it requires this...

<?php
 
After that change it is now working properly.

Share this post


Link to post
Share on other sites

If your using this - please post a link for me

 

Also please throw some suggestions out for me, things you would like to see, even layout changes. Any feedback appreciated

U've asked 4 a link? here's my stats

Share this post


Link to post
Share on other sites

Currently, I don't have a website to port the stats data to from my server, but I really like this idea. It gives players real time data on what they have accomplished in the game. Could I query my server's database and post these stats on a forum? It's not as good as real time, but still it gives the players some fairly current feedback on those stat categories.

 

BTW, are there any cheap web hosts out there now? I don't need an elaborate website. Just something simple with a few pages and possibly a forum.

 

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
  • Advertisement
  • Supporters
  • Advertisement
  • Discord

×