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
SloppyJoe
Junior Member
Join Date: Jun 2016
Old 06-30-2016 , 21:17   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2631

Whats version of tf2stats do you use?
9.1.0 Downloaded it from the first page.

How was the player table created?

The player table was created by the plugin. I ran the scripts to create the first 6 tables. Only when I started the game where the other tables created.

Also the sql account you use for the website has it permission to the tables?
Yes, I gave the user full permissions.


MySQL Version 5.5.48-37.8
PHP Version 5.4.45
SloppyJoe is offline
Cloman
Member
Join Date: Jul 2015
Old 07-01-2016 , 02:31   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2632

Quote:
Originally Posted by SloppyJoe View Post
Whats version of tf2stats do you use?
9.1.0 Downloaded it from the first page.

How was the player table created?

The player table was created by the plugin. I ran the scripts to create the first 6 tables. Only when I started the game where the other tables created.

Also the sql account you use for the website has it permission to the tables?
Yes, I gave the user full permissions.


MySQL Version 5.5.48-37.8
PHP Version 5.4.45
Ok try following.
Remove every table from the database regarding the tf2 stats so you will have a empty database.
then try latest version of tf2_stats plugin thats created by everyone here in the forum "https://forums.alliedmods.net/showpost.php?p=2344608&postcount=2615" (version 9.3.1)
Step 1: create empty database
Step 2: start tf2 server so all tables will be auto created.
Step 3: add missing tables for the website.
Step 4: Edit permissions of the user accounts of the sql so it can query and stuff of the tables.(just to be sure as sometimes permission inheritance doesnt work.)
__________________
My TF2 Server IP: FinalGame-Hosting.com
Check it out.
Cloman is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 07-03-2016 , 14:25   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2633

This plugin spams my logs with the following:

L 07/03/2016 - 11:49:24: [TF2_Stats.smx] TF2_Stats connected to SQLite Database!
L 07/03/2016 - 11:49:29: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:49:29: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:49:29: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:49:29: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:497: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied

Any ideas? I though it was supposed to be plug and play with sqlite

Last edited by DeathMaster; 07-03-2016 at 14:26.
DeathMaster is offline
Cloman
Member
Join Date: Jul 2015
Old 07-04-2016 , 05:21   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2634

Quote:
Originally Posted by DeathMaster View Post
This plugin spams my logs with the following:

L 07/03/2016 - 11:49:24: [TF2_Stats.smx] TF2_Stats connected to SQLite Database!
L 07/03/2016 - 11:49:29: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:49:29: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:49:29: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:49:29: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:490: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied
L 07/03/2016 - 11:497: [TF2_Stats.smx] SQL Error: table Player has 261 columns but 230 values were supplied

Any ideas? I though it was supposed to be plug and play with sqlite
Found possible the problem will post shortly new version.
But can you post the version of the plugin you use?
After that i will post a update.
__________________
My TF2 Server IP: FinalGame-Hosting.com
Check it out.

Last edited by Cloman; 07-04-2016 at 06:05. Reason: extra question to help track down the error
Cloman is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 07-04-2016 , 16:53   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2635

Quote:
Originally Posted by Cloman View Post
Found possible the problem will post shortly new version.
But can you post the version of the plugin you use?
After that i will post a update.
I used the one from this post: https://forums.alliedmods.net/showpo...postcount=2615
DeathMaster is offline
Cloman
Member
Join Date: Jul 2015
Old 07-05-2016 , 04:30   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2636

Hi,
Created a updated version.

Version 9.3.2:
- Bug Fix Sqllite.
- Added missing Fields: tide_turner, K_jar, rtd_toxic, rtd_timebomb, rtd_instant_kills, back_scatter (was already in mysql or other databases but missing in sqllite)

To make this bug fix work you need to delete the sqllite version if you generated the database with newer then 9.1.0.
you can find it in "tf\addons\sourcemod\data\sqlite\" and delete file "tf2stats.sq3"

other databases are not affected so updating is no probs and will only bump the version number.
Attached Files
File Type: zip %255BTF2%255D%2520Ranking%2520and%2520Item%2520Logger%2520v9.3.2.zip (831.1 KB, 83 views)
File Type: cfg tf2-stats.cfg (19.7 KB, 89 views)
File Type: sp Get Plugin or Get Source (TF2_Stats.sp - 218 views - 389.1 KB)
__________________
My TF2 Server IP: FinalGame-Hosting.com
Check it out.

Last edited by Cloman; 07-05-2016 at 05:22.
Cloman is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 07-05-2016 , 18:24   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2637

I am still not having any luck with this:

L 07/05/2016 - 16:18:57: [TF2_Stats.smx] Query failed! Table 'tf2stats.Player' doesn't exist
L 07/05/2016 - 16:19:02: [TF2_Stats.smx] Query failed! Table 'tf2stats.Player' doesn't exist
L 07/05/2016 - 16:19:07: [TF2_Stats.smx] Query failed! Table 'tf2stats.Player' doesn't exist

I can see the database structure and that table was created and exists!

Last edited by DeathMaster; 07-05-2016 at 18:39.
DeathMaster is offline
Cloman
Member
Join Date: Jul 2015
Old 07-06-2016 , 02:52   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2638

Quote:
Originally Posted by DeathMaster View Post
I am still not having any luck with this:

L 07/05/2016 - 16:18:57: [TF2_Stats.smx] Query failed! Table 'tf2stats.Player' doesn't exist
L 07/05/2016 - 16:19:02: [TF2_Stats.smx] Query failed! Table 'tf2stats.Player' doesn't exist
L 07/05/2016 - 16:19:07: [TF2_Stats.smx] Query failed! Table 'tf2stats.Player' doesn't exist

I can see the database structure and that table was created and exists!

Have you tryed to restart the server ?
__________________
My TF2 Server IP: FinalGame-Hosting.com
Check it out.
Cloman is offline
DeathMaster
AlliedModders Donor
Join Date: Mar 2009
Old 07-06-2016 , 13:00   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2639

Quote:
Originally Posted by Cloman View Post
Have you tryed to restart the server ?
Multiple times.
Even tried with sql and the database creates but I get the same error.
DeathMaster is offline
Cloman
Member
Join Date: Jul 2015
Old 07-06-2016 , 15:48   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2640

Quote:
Originally Posted by DeathMaster View Post
Multiple times.
Even tried with sql and the database creates but I get the same error.
Ok lets see if we can rule out more.

- Your using the sqlite right ?
- What version of sourcemod do you use ?
- if you join your server is a record created for your stats in table player ?

Can you maybe attach the tf2stats.sq3 database and maybe the full log from startup to shutdown ?
__________________
My TF2 Server IP: FinalGame-Hosting.com
Check it out.
Cloman 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 14:43.


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