Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 07-03-2011 , 19:52   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.0.1/v7.1.5]
Reply With Quote #1581

My player.php just shows nothing except the error: HTTP 500 Internal Server Error.

I don't know how to determine the problem.

Last edited by Thraka; 07-03-2011 at 20:47.
Thraka is offline
Obsidian
Senior Member
Join Date: Jun 2011
Old 07-03-2011 , 22:20   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.0.1/v7.1.5]
Reply With Quote #1582

Quote:
Originally Posted by Thraka View Post
My player.php just shows nothing except the error: HTTP 500 Internal Server Error.

I don't know how to determine the problem.
If you have access to the server error logs, please load the page in a browser then immediately check them. They'll contain the errors encountered right near the end.
Obsidian is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 07-03-2011 , 22:54   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.0.1/v7.1.5]
Reply With Quote #1583

Strange. It just started working for no reason. It wasn't working for an hour (since setup). However, on player.php I get this error:

Query failed: Table 'neophytes_stats.weapons' doesn't exist

I checked the database and it doesn't exist. Since the plugin auto generated the tables, how can I get the table created correctly?
Thraka is offline
Obsidian
Senior Member
Join Date: Jun 2011
Old 07-03-2011 , 23:11   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.0.1/v7.1.5]
Reply With Quote #1584

Quote:
Originally Posted by Thraka View Post
Strange. It just started working for no reason. It wasn't working for an hour (since setup). However, on player.php I get this error:

Query failed: Table 'neophytes_stats.weapons' doesn't exist

I checked the database and it doesn't exist. Since the plugin auto generated the tables, how can I get the table created correctly?
Wait a minute; is this a linux server? Also, can you list the tables that are present?

I noticed something on my own box earlier; table names were case sensitive. If that's the case for you, the solution may just be to fix capitalization in the web UI code.

Also, I believe there's some prepared SQL dumps in...sqlscripts/
You'd want weapons.sql to create the table, I think.
Obsidian is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 07-03-2011 , 23:49   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.0.1/v7.1.5]
Reply With Quote #1585

I dont know if it's linux. But I'm guessing it is because I went to http://server/STats and it didn't find the site but /stats it does.

Tables:
Code:
 Table   Records
 data          1 
 founditems  75
 killlog         0 
 Map           6 
 Player        23
Using the sql script created the table correctly.

Any idea why killog is empty?

Last edited by Thraka; 07-03-2011 at 23:53.
Thraka is offline
Obsidian
Senior Member
Join Date: Jun 2011
Old 07-03-2011 , 23:53   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.0.1/v7.1.5]
Reply With Quote #1586

...galadril, it's usually a bad idea to include your API keys in scripts that you distribute.

player.php, your API key for "api.ipinfodb.com" is present in plaintext.
Obsidian is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 07-04-2011 , 02:33   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.0.1/v7.1.5]
Reply With Quote #1587

Quote:
Originally Posted by Thraka View Post
Any idea why killog is empty?
That feature isn't working and I haven't seen a real point to fixing it since it doesn't really do anything (except create huge databases).

Quote:
Originally Posted by seeARMS View Post
Just a few questions / feature requests.
When killing someone with a sniper in TF2, with a headshot, the plugin acknowledges it was a headshot but doesn't grant the headshot bonus.
Here's the text I get when killing someone with a headshot: [RANK] you got 3 points for killing Falcon with a Headshot
(3 points is the value I set for the sniper rifle - the headshot bonus doesn't get added on).

Also, does healing in general (as a medic / engineer's dispenser), as well as the sniper's Jarate, grant no points? (When covering enemies with the Jarate as well as putting out teammates on fire).

Lastly, a feature such as, "rank tony" to view the rank of the player, Tony, would be good. Not sure if you'd like to implement it, but think it'd be great.

Keep up the good work,
thanks.
  • Do you receive the extra point for the headshot? Check your rank before and after.
  • Healing is for statistics only, if points were assigned it could easily be exploited.
  • Extinguishing a player will give the healer the points set by the "rank_extingushingpoints" cvar.
  • I like the idea of being able to search players by name, I'll add it to my bug/feature tracker!



__________________
DarthNinja is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 07-04-2011 , 05:05   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.1.2/v7.1.5]
Reply With Quote #1588

~ Update Released ~
Adds the new weapons, requested cvars, and a fix or two.

Details:

Quote:
  • V8.1.2 - Adds 104 lines
    • Added the Summer Update weapons:
      • The Postal Pummeler
      • Nessie's Nine Iron
    • Cvar rank_show has been renamed to rank_show_on_connect to more accurately reflect what it does.
    • Fixed an extra case where messages were still shown on connect.
    • You can now set rank_connectcountry to 0 to disable the printing of players' countries
    • New cvar rank_show_player_count_notice added to enable/disable printing of "Ranking enabled/disabled" player-count messages.
    • Bots will now show their country as "Localhost" rather then "Unknown".
__________________
DarthNinja is offline
Obsidian
Senior Member
Join Date: Jun 2011
Old 07-04-2011 , 15:07   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.1.2/v7.1.5]
Reply With Quote #1589

It seems that tele exit construction's not being tracked correctly. I'm looking at the database, the column for tracking tele exit builds is 0 on every row. Either that or BOTeleporterExit is a red herring. :\

Thanks for the update by the way, greatly appreciate the vars being added.
Obsidian is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 07-04-2011 , 19:07   Re: [TF2 Stats] With Web Ranking and Item Logger [v8.1.2/v7.1.5]
Reply With Quote #1590

That happened when valve made tele exits and entrances one entity.
I forgot about it and never figured out how to detect that correctly.
__________________
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 01:31.


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