AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2 Stats] With Web Ranking and Item Logger [v9.1.0] (https://forums.alliedmods.net/showthread.php?t=109006)

DarthNinja 11-23-2009 20:19

Re: TF2 Stats With Web Ranking and Item Logger
 
Quote:

Originally Posted by The JCS (Post 997457)
I just want the translation support on the PLUGIN...

Gotcha, added to the todo list

DarthNinja 11-25-2009 19:56

Re: TF2 Stats With Web Ranking and Item Logger
 
Rewrote some php to calculate Steam Community IDs without requiring php extensions.

Translation:
Steam community links will work anywhere the web interface does.
Should have a new version tonight.

cybersquare420 11-25-2009 20:44

Re: TF2 Stats With Web Ranking and Item Logger
 
u r a god among men!!

DarthNinja 11-25-2009 22:20

Re: TF2 Stats With Web Ranking and Item Logger
 
Got all the stuff I wanted working:


http://content.screencast.com/users/...11-25_2209.png


Not sure I like the button styles though, going to see about changing them possibly.
Also I'm going to add some configuration settings for the Custom Achievements button to enable/disable it, and set the file path.

Custom achievements plugin if you weren't aware of it:
http://forums.alliedmods.net/showthread.php?t=109397

Gonna take a break, then finish this up and post it :o

~edit:
If you want to see the page, take a look at the demo link on the first page :up:

DarthNinja 11-26-2009 05:07

Re: TF2 Stats With Web Ranking and Item Logger
 
Bumpity, updated to include steam links etc. :up:

A preview of the new buttons is viewable on the first page (I changed the style from the ones above).
I included the red and black buttons too if anyone wants to use them. :wink:

Ghost Killer 11-26-2009 19:21

Re: TF2 Stats With Web Ranking and Item Logger
 
What about best of each class, like this concept: http://forums.alliedmods.net/showthread.php?t=71196

Also, he has a nice and sexy concept of design to the webpage...

It seens he abandoned the project... =(

MjrNuT 11-29-2009 19:30

Re: TF2 Stats With Web Ranking and Item Logger
 
Hey DarthNinja,

I'm giving your stats plugin a go in lieu of HLStatsX. :D

Question, I run w/ S-TV on. A chance this might make things wonkey?

Maybe ignore bots in stats, but still list it on the Player List for Online Players?

Thanks


Edit: I keep getting on the Main Page: DB query failed.

I have triple checked everything, but I'll just lay it out just in case.

Gameserver is @ IP1:27015

1. databases.cfg

Quote:

"flashstats"
{
"driver" "mysql"
"host" "IP2"
"database" "_flashstats"
"user" "_stats"
"pass" "pass"
//"timeout" "0"
"port" "3306"
}
2. Confirmed with GSP no restrictions on incoming IPs to the gameserver.


TF2 stats host is @ IP2

1. I've created the db, user, password, provided full access to the db.

2. The Gamerserver IP1 has been allowed and my host checked that connection the db was successful.


3. Settings.php

Quote:

$mysql_server = "localhost";
$mysql_user = "_stats";
$mysql_password = "pass";
$mysql_database = "_flashstats";
No error_log files are being generated.

MjrNuT 11-29-2009 20:50

Re: TF2 Stats With Web Ranking and Item Logger
 
Quote:

Originally Posted by DarthNinja (Post 987696)
Database.cfg:
Quote:

"tf2stats"
{
"driver" "mysql"
"host" "127.0.0.1"
"database" "tf2_stats"
"user" "tf2st_usr"
"pass" "dbpassword"
//"timeout" "0"
"port" "3306"
}

Ok, I didn't realise that what I have underlined above was explicit. Thought this could be changed.

Thanks!

No issues whatsoever at all.

SCE_Ghost 12-01-2009 01:31

Re: TF2 Stats With Web Ranking and Item Logger
 
So I want to host the webstats on my website server, I setup an db for the stats. Im still getting an sql error. I notice in tf2-stats.cfg there is a place for webinterface settings, do I add the correct settings? if so which file do I direct it to?

SOrry for the noob questions just trying to clarify.

DarthNinja 12-01-2009 04:11

Re: TF2 Stats With Web Ranking and Item Logger
 
Quote:

Originally Posted by MjrNuT (Post 1002641)
Ok, I didn't realise that what I have underlined above was explicit. Thought this could be changed.

Thanks!

No issues whatsoever at all.

Yea, the "tf2stats" is what the plugin uses to find its settings.

Quote:

Originally Posted by SCE_Ghost (Post 1003732)
So I want to host the webstats on my website server, I setup an db for the stats. Im still getting an sql error. I notice in tf2-stats.cfg there is a place for webinterface settings, do I add the correct settings? if so which file do I direct it to?

SOrry for the noob questions just trying to clarify.

I'm not sure what you're asking exactly.

What you need to do is:
  • Create a database on your webserver
  • Create a user/password for that database and give it full access. (make sure to allow access from your gameserver's IP)
  • Edit your sourcemod databases cfg file with the IP, database name, username and password for the database.
  • Restart your gameserver and load the ranking plugin.
Once thats done correctly, the plugin will populate the database with the correct tables/fields.
If the web interface can't connect to the database, it could be because the db settings are incorrect in the settings.php include, or because the correct tables don't exist in the database (make sure the plugin is working).


All times are GMT -4. The time now is 11:05.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.