Raised This Month: $51 Target: $400
 12% 

[TF2 Stats] With Web Ranking and Item Logger [v9.1.0]


Post New Thread Reply   
 
Thread Tools Display Modes
eraserhead
Veteran Member
Join Date: Nov 2009
Old 07-11-2011 , 14:45   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.1.4/v7.1.5]
Reply With Quote #1631

Thanks a lot! Looking forward to the update.
__________________
eraserhead is offline
Send a message via Skype™ to eraserhead
eraserhead
Veteran Member
Join Date: Nov 2009
Old 07-11-2011 , 20:19   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.1.4/v7.1.5]
Reply With Quote #1632

We decided to punish bodyshotters so we set sniper rifle and bazaar bargain to 0 points but headshots at 2 points. But the 0 points seem to override the headshot points.
__________________
eraserhead is offline
Send a message via Skype™ to eraserhead
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 07-11-2011 , 20:39   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.1.4/v7.1.5]
Reply With Quote #1633

Quote:
Originally Posted by eraserhead View Post
We decided to punish bodyshotters so we set sniper rifle and bazaar bargain to 0 points but headshots at 2 points. But the 0 points seem to override the headshot points.
You get the points, the message just doesn't get printed.
__________________
DarthNinja is offline
Ohlala
New Member
Join Date: Jul 2011
Old 07-12-2011 , 15:57   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.1.4/v7.1.5]
Reply With Quote #1634

hi

i got a problem with webui

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\tf2stats\index.php on line 20

i import the sql files within the sqlscripts directory and username , password , bdname is correct , help me fix it.

I see in the line 20,it request data form "player" table but in database of mysql dont have it :-s
Ohlala is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 07-12-2011 , 17:01   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.1.4/v7.1.5]
Reply With Quote #1635

Quote:
Originally Posted by Ohlala View Post
hi

i got a problem with webui

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\tf2stats\index.php on line 20

i import the sql files within the sqlscripts directory and username , password , bdname is correct , help me fix it.

I see in the line 20,it request data form "player" table but in database of mysql dont have it :-s
Read and follow the Install Instructions from the OP.
The plugin creates the Players table.
__________________
DarthNinja is offline
eraserhead
Veteran Member
Join Date: Nov 2009
Old 07-12-2011 , 20:47   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.1.4/v7.1.5]
Reply With Quote #1636

Quote:
Originally Posted by DarthNinja View Post
You get the points, the message just doesn't get printed.

Quote:
Originally Posted by DarthNinja View Post
I tested it myself and you do. On default settings a sniper rifle kill grants 1 point and a sniper headshot grants 3.
The incorrect point count being printed is fixed in the latest version.
^Because of this post i assumed it would be printed now.
__________________
eraserhead is offline
Send a message via Skype™ to eraserhead
Ohlala
New Member
Join Date: Jul 2011
Old 07-12-2011 , 23:24   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.1.4/v7.1.5]
Reply With Quote #1637

Thank for help but i think i have a mistake in database.cfg , below is my database.cfg . My sqlstats is using SQLlite , it don't use mysql , help me.
Quote:
"Databases"
{
"driver_default" "mysql"

"default"
{
"driver" "default"
"host" "localhost"
"database" "tf2stats"
"user" "root"
"pass" "xxxx"
//"timeout" "0"
"port" "3306"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}
"tf2stats"
{
"driver" "mysql"
"host" "127.0.0.1"
"database" "tf2stats"
"user" "xxxxx"
"pass" "xxxx"
//"timeout" "0"
"port" "3306"
}

Last edited by Ohlala; 07-12-2011 at 23:39.
Ohlala is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 07-13-2011 , 01:21   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.1.4/v7.1.5]
Reply With Quote #1638

Quote:
Originally Posted by eraserhead View Post
^Because of this post i assumed it would be printed now.
Yeah, I fixed the incorrect number being printed, however if the points are 0, it skips the message at another point which I didn't notice at that time.

Ohlala:
I'm not really clear on whether you want to be running SQLite or not.
If you want to use SQLite, just remove the entry for the plugin (you don't need it). If you want MySQL then add the entry with the info for your MySQL server.

Also it looks like you goofed up your "default" entry there.
__________________

Last edited by DarthNinja; 07-13-2011 at 01:42.
DarthNinja is offline
eraserhead
Veteran Member
Join Date: Nov 2009
Old 07-13-2011 , 10:40   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.1.4/v7.1.5]
Reply With Quote #1639

So do you plan to change that printed headshots points message in the next version DN?
__________________
eraserhead is offline
Send a message via Skype™ to eraserhead
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 07-13-2011 , 17:45   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.1.4/v7.1.5]
Reply With Quote #1640

Quote:
Originally Posted by eraserhead View Post
So do you plan to change that printed headshots points message in the next version DN?
Yeah, it will print correctly.
I'll post the update tomorrow.
__________________
DarthNinja is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:18.


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