Raised This Month: $32 Target: $400
 8% 

[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 07-07-2016 , 19:08   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2641

Cloman, Still having issues. I followed your advise and used the most recent download. I started over from scratch with no additional plugins other than TF2Stats. I did get a "TF2_Stats connected to MySQL Database!" that I didn't get before. When I run it locally everything works and I can check the rank in game and webpage (run locally). As soon as I try to can to my hosting account it fails, BUT the strange thing is the 'Maps' data pulls from the game.

This is what I get when I run the game.


PHP Code:
66.7 fps  6/24 on map  pl_hoodoo_final
Console initialized
.
Using Breakpad minidump systemVersion3514476 AppID232250
Loaded 7512 VPK file hashes from C
:\TF2Server\tf\tf2_textures.vpk for pure serve
r operation
.
Loaded 7512 VPK file hashes from C:\TF2Server\tf\tf2_textures.vpk for pure serve
r operation
.
Loaded 425 VPK file hashes from C:\TF2Server\tf\tf2_sound_vo_english.vpk for pur
e server operation
.
Loaded 425 VPK file hashes from C:\TF2Server\tf\tf2_sound_vo_english.vpk for pur
e server operation
.
Loaded 1028 VPK file hashes from C:\TF2Server\tf\tf2_sound_misc.vpk for pure ser
ver operation
.
Loaded 1028 VPK file hashes from C:\TF2Server\tf\tf2_sound_misc.vpk for pure ser
ver operation
.
Loaded 1699 VPK file hashes from C:\TF2Server\tf\tf2_misc.vpk for pure server op
eration
.
Loaded 1699 VPK file hashes from C:\TF2Server\tf\tf2_misc.vpk for pure server op
eration
.
Loaded 1217 VPK file hashes from C:\TF2Server\hl2\hl2_textures.vpk for pure serv
er operation
.
Loaded 574 VPK file hashes from C:\TF2Server\hl2\hl2_sound_vo_english.vpk for pu
re server operation
.
Loaded 383 VPK file hashes from C:\TF2Server\hl2\hl2_sound_misc.vpk for pure ser
ver operation
.
Loaded 446 VPK file hashes from C:\TF2Server\hl2\hl2_misc.vpk for pure server op
eration
.
Loaded 5 VPK file hashes from C:\TF2Server\platform\platform_misc.vpk for pure s
erver operation
.
server.dll loaded for "Team Fortress"
maxplayers set to 24
No 
'-replayserverdir' parameter found using default replay folder.
ReplayCreating thread pool...succeeded.
ReplayStarting thread pool with 4 threads...succeeded.
Cleaning files from temp dir"c:\tf2server\tf\replay\server\tmp\" ...no files r
emoved.
Unknown command "
r_decal_cullsize"
maxplayers set to 24
Network: IP 167.68.10.55, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Initializing Steam libraries for secure Internet server
No account token specified; logging into anonymous game server account.  (Use sv
_setsteamaccount to login to a persistent account.)
FillInMachineIDInfo took a total of 819 milliseconds

qhull precision error: Only 4 facets remain.  Can not merge another
pair.  The convexity constraints may be too strong.  Reduce the
magnitude of 'Cn' or increase the magnitude of 'An'.  For example,
try 'C-0.001' instead of 'C-0.1' or 'A-0.999' instead of 'A-0.9'.
SOLID_VPHYSICS static prop with no vphysics model! (models/props_forest/wood_pat
ch1.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_2fort/frog.mdl)

L 07/07/2016 - 18:42:41: -------- Mapchange to pl_hoodoo_final --------
L 07/07/2016 - 18:42:42: [GEOIP] GeoIP database info: GEO-106FREE 20120207 Build
 1 Copyright (c) 2011 MaxMind Inc All Rights Reserved
Executing dedicated server config file server.cfg
Using map cycle file 'cfg/mapcycle_default.txt'.  ('cfg/mapcycle.txt' was not fo
und.)
material models/weapons/c_items/c_ubersaw_xms has a normal map and 
$basealphaenv
mapmask.  Must use 
$normalmapalphaenvmapmask to get specular.

material models/weapons/c_items/c_frontierjustice_xmas has a normal map and 
$bas
ealphaenvmapmask.  Must use 
$normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/all_class_ring_setting has a normal map a
nd 
$basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/crafting/coin_invasion has a normal map and 
$baseal
phaenvmapmask.  Must use 
$normalmapalphaenvmapmask to get specular.

Set motd from file 'cfg/motd_default.txt'.  ('cfg/motd.txt' was not found.)
Set motd_text from file 'cfg/motd_text_default.txt'.  ('cfg/motd_text.txt' was n
ot found.)
Connection to game coordinator established.
tf_server_identity_account_id not set; not logging into registered account
'server.cfg' not present; not executing.
'pl_hoodoo_final.cfg' not present; not executing.
Connection to Steam servers successful.
Assigned anonymous gameserver Steam ID [A:1:4765238748:7092].
VAC secure mode is activated.
Received 3830765 bytes item schema version 231F0F18 direct data; update is queue
d.
L 07/07/2016 - 18:42:47: [TF2_Stats.smx] TF2_Stats connected to MySQL Database!
Client "
Bacon" connected (183.68.4.113:27005).
L 07/07/2016 - 18:43:14: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
L 07/07/2016 - 18:43:19: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
tf_bot_add 5
NextBot tickrate changed from 0 (0.000ms) to 7 (0.105ms)
L 07/07/2016 - 18:43:46: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
L 07/07/2016 - 18:43:46: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
L 07/07/2016 - 18:43:46: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
L 07/07/2016 - 18:43:47: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
L 07/07/2016 - 18:43:47: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
L 07/07/2016 - 18:43:48: [TF2_Stats.smx] SQL Error: Table 'emmcraft_tf2stats.Pla
yer' doesn't exist
L 07/07/2016 - 18:43:48: [TF2_Stats.smx] SQL Error: Table 'emmcraft_tf2stats.Pla
yer' doesn't exist 
SloppyJoe is offline
Cloman
Member
Join Date: Jul 2015
Old 07-10-2016 , 03:49   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2642

Quote:
Originally Posted by SloppyJoe View Post
Cloman, Still having issues. I followed your advise and used the most recent download. I started over from scratch with no additional plugins other than TF2Stats. I did get a "TF2_Stats connected to MySQL Database!" that I didn't get before. When I run it locally everything works and I can check the rank in game and webpage (run locally). As soon as I try to can to my hosting account it fails, BUT the strange thing is the 'Maps' data pulls from the game.

This is what I get when I run the game.


PHP Code:
66.7 fps  6/24 on map  pl_hoodoo_final
Console initialized
.
Using Breakpad minidump systemVersion3514476 AppID232250
Loaded 7512 VPK file hashes from C
:\TF2Server\tf\tf2_textures.vpk for pure serve
r operation
.
Loaded 7512 VPK file hashes from C:\TF2Server\tf\tf2_textures.vpk for pure serve
r operation
.
Loaded 425 VPK file hashes from C:\TF2Server\tf\tf2_sound_vo_english.vpk for pur
e server operation
.
Loaded 425 VPK file hashes from C:\TF2Server\tf\tf2_sound_vo_english.vpk for pur
e server operation
.
Loaded 1028 VPK file hashes from C:\TF2Server\tf\tf2_sound_misc.vpk for pure ser
ver operation
.
Loaded 1028 VPK file hashes from C:\TF2Server\tf\tf2_sound_misc.vpk for pure ser
ver operation
.
Loaded 1699 VPK file hashes from C:\TF2Server\tf\tf2_misc.vpk for pure server op
eration
.
Loaded 1699 VPK file hashes from C:\TF2Server\tf\tf2_misc.vpk for pure server op
eration
.
Loaded 1217 VPK file hashes from C:\TF2Server\hl2\hl2_textures.vpk for pure serv
er operation
.
Loaded 574 VPK file hashes from C:\TF2Server\hl2\hl2_sound_vo_english.vpk for pu
re server operation
.
Loaded 383 VPK file hashes from C:\TF2Server\hl2\hl2_sound_misc.vpk for pure ser
ver operation
.
Loaded 446 VPK file hashes from C:\TF2Server\hl2\hl2_misc.vpk for pure server op
eration
.
Loaded 5 VPK file hashes from C:\TF2Server\platform\platform_misc.vpk for pure s
erver operation
.
server.dll loaded for "Team Fortress"
maxplayers set to 24
No 
'-replayserverdir' parameter found using default replay folder.
ReplayCreating thread pool...succeeded.
ReplayStarting thread pool with 4 threads...succeeded.
Cleaning files from temp dir"c:\tf2server\tf\replay\server\tmp\" ...no files r
emoved.
Unknown command "
r_decal_cullsize"
maxplayers set to 24
Network: IP 167.68.10.55, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Initializing Steam libraries for secure Internet server
No account token specified; logging into anonymous game server account.  (Use sv
_setsteamaccount to login to a persistent account.)
FillInMachineIDInfo took a total of 819 milliseconds

qhull precision error: Only 4 facets remain.  Can not merge another
pair.  The convexity constraints may be too strong.  Reduce the
magnitude of 'Cn' or increase the magnitude of 'An'.  For example,
try 'C-0.001' instead of 'C-0.1' or 'A-0.999' instead of 'A-0.9'.
SOLID_VPHYSICS static prop with no vphysics model! (models/props_forest/wood_pat
ch1.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_2fort/frog.mdl)

L 07/07/2016 - 18:42:41: -------- Mapchange to pl_hoodoo_final --------
L 07/07/2016 - 18:42:42: [GEOIP] GeoIP database info: GEO-106FREE 20120207 Build
 1 Copyright (c) 2011 MaxMind Inc All Rights Reserved
Executing dedicated server config file server.cfg
Using map cycle file 'cfg/mapcycle_default.txt'.  ('cfg/mapcycle.txt' was not fo
und.)
material models/weapons/c_items/c_ubersaw_xms has a normal map and 
$basealphaenv
mapmask.  Must use 
$normalmapalphaenvmapmask to get specular.

material models/weapons/c_items/c_frontierjustice_xmas has a normal map and 
$bas
ealphaenvmapmask.  Must use 
$normalmapalphaenvmapmask to get specular.

material models/player/items/all_class/all_class_ring_setting has a normal map a
nd 
$basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.

material models/player/items/crafting/coin_invasion has a normal map and 
$baseal
phaenvmapmask.  Must use 
$normalmapalphaenvmapmask to get specular.

Set motd from file 'cfg/motd_default.txt'.  ('cfg/motd.txt' was not found.)
Set motd_text from file 'cfg/motd_text_default.txt'.  ('cfg/motd_text.txt' was n
ot found.)
Connection to game coordinator established.
tf_server_identity_account_id not set; not logging into registered account
'server.cfg' not present; not executing.
'pl_hoodoo_final.cfg' not present; not executing.
Connection to Steam servers successful.
Assigned anonymous gameserver Steam ID [A:1:4765238748:7092].
VAC secure mode is activated.
Received 3830765 bytes item schema version 231F0F18 direct data; update is queue
d.
L 07/07/2016 - 18:42:47: [TF2_Stats.smx] TF2_Stats connected to MySQL Database!
Client "
Bacon" connected (183.68.4.113:27005).
L 07/07/2016 - 18:43:14: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
L 07/07/2016 - 18:43:19: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
tf_bot_add 5
NextBot tickrate changed from 0 (0.000ms) to 7 (0.105ms)
L 07/07/2016 - 18:43:46: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
L 07/07/2016 - 18:43:46: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
L 07/07/2016 - 18:43:46: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
L 07/07/2016 - 18:43:47: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
L 07/07/2016 - 18:43:47: [TF2_Stats.smx] Query failed! Table 'emmcraft_tf2stats.
Player' doesn't exist
L 07/07/2016 - 18:43:48: [TF2_Stats.smx] SQL Error: Table 'emmcraft_tf2stats.Pla
yer' doesn't exist
L 07/07/2016 - 18:43:48: [TF2_Stats.smx] SQL Error: Table 'emmcraft_tf2stats.Pla
yer' doesn't exist 

what permissions in mysql have you given to the user account. (alter/select/index.. etc...)
__________________
My TF2 Server IP: FinalGame-Hosting.com
Check it out.
Cloman is offline
SloppyJoe
Junior Member
Join Date: Jun 2016
Old 07-12-2016 , 20:54   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2643

Tried like 5 more times and I'm getting the same error. The player table is there. The plugin won't populate it.

I have granted full permissions for the following privileges:

ALTER, ALTER, ROUTINE, CREATE, CREATE ROUTINE,CREATE TEMPORARY TABLES, CREATE VIEW, DELETE, DROP, EVENT, EXECUTE, INDEX, INSERT, LOCK TABLES, REFERENCES, SELECT, SHOW, VIEW, TRIGGER, UPDATE

It can't be a permissions issue because the Maps table works.

I would really appreciate it if you can think of anything else for me to try. I really like this plugin.
SloppyJoe is offline
Cloman
Member
Join Date: Jul 2015
Old 07-13-2016 , 11:38   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2644

Quote:
Originally Posted by SloppyJoe View Post
Tried like 5 more times and I'm getting the same error. The player table is there. The plugin won't populate it.

I have granted full permissions for the following privileges:

ALTER, ALTER, ROUTINE, CREATE, CREATE ROUTINE,CREATE TEMPORARY TABLES, CREATE VIEW, DELETE, DROP, EVENT, EXECUTE, INDEX, INSERT, LOCK TABLES, REFERENCES, SELECT, SHOW, VIEW, TRIGGER, UPDATE

It can't be a permissions issue because the Maps table works.

I would really appreciate it if you can think of anything else for me to try. I really like this plugin.
Dont worry we will find the cause.

I am using the same and have 0 errors.
So it should be a configuration issue.
We only should find what is causing this.

- What version of sourcemod do you use (command in the console to get the details: "sm version")?
- Do you dynamically load the plugin or do you shutdown the game server and start it from fresh ?
__________________
My TF2 Server IP: FinalGame-Hosting.com
Check it out.

Last edited by Cloman; 07-13-2016 at 12:13.
Cloman is offline
SloppyJoe
Junior Member
Join Date: Jun 2016
Old 07-15-2016 , 17:37   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2645

Thanks for your help:

- What version of sourcemod do you use (command in the console to get the details: "sm version")?

sm version
SourceMod Version Information:
SourceMod Version: 1.8.0.5912
SourcePawn Engine: SourcePawn 1.8, jit-x86 (build 1.8.0.5912)
SourcePawn API: v1 = 4, v2 = 11
Compiled on: Jun 10 2016 05:00:54
Built from: https://github.com/alliedmodders/sou...commit/4db8fa7
Build ID: 5912:4db8fa7
http://www.sourcemod.net/


- Do you dynamically load the plugin or do you shutdown the game server and start it from fresh ?
I shutdown and restart it fresh. I do that through a .bat file, but I've recently start using SteamCMD GUI.
SloppyJoe is offline
Cloman
Member
Join Date: Jul 2015
Old 07-16-2016 , 06:02   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2646

Quote:
Originally Posted by SloppyJoe View Post
Thanks for your help:

- What version of sourcemod do you use (command in the console to get the details: "sm version")?

sm version
SourceMod Version Information:
SourceMod Version: 1.8.0.5912
SourcePawn Engine: SourcePawn 1.8, jit-x86 (build 1.8.0.5912)
SourcePawn API: v1 = 4, v2 = 11
Compiled on: Jun 10 2016 05:00:54
Built from: https://github.com/alliedmodders/sou...commit/4db8fa7
Build ID: 5912:4db8fa7
http://www.sourcemod.net/


- Do you dynamically load the plugin or do you shutdown the game server and start it from fresh ?
I shutdown and restart it fresh. I do that through a .bat file, but I've recently start using SteamCMD GUI.
Ok i just updated to the same version you have and i have No problems.

- Can you try and login to your mysql database with the credentials of the tf2 stats?
- Once logged in execute this query and check your results "Select * From Player"
- if that gives you a error that means the account has no permission to the player database.
- if the select query works try this one "Insert into Player (STEAMID, NAME) VALUES ("BOT2", "InsertTest")"
- If that fails the user account has no permission to add records to the database so you will need to check the user account of the database and correct the permission.

I like you to check this even though you gave full permission to the database in mysql you can also arrange permissions table specific.

Let me know your results.
__________________
My TF2 Server IP: FinalGame-Hosting.com
Check it out.
Cloman is offline
SloppyJoe
Junior Member
Join Date: Jun 2016
Old 07-22-2016 , 15:48   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2647

Cloman,

OK an eventful several days and I don't want to bored you with the details, but I got it to work. I went through your steps and received errors.

So everything seems to center around the Player table. The issue wasn't with the permissions. The issue was with the Players table...or rather the name. The table was created with the name player with a lowercase "p", but the gameserver was looking for Player with a capital "P". Once I renamed the table with a capital "P" everything worked.

Thank you for all your help. I appreciate it.
SloppyJoe is offline
Cloman
Member
Join Date: Jul 2015
Old 07-22-2016 , 22:32   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2648

Quote:
Originally Posted by SloppyJoe View Post
Cloman,

OK an eventful several days and I don't want to bored you with the details, but I got it to work. I went through your steps and received errors.

So everything seems to center around the Player table. The issue wasn't with the permissions. The issue was with the Players table...or rather the name. The table was created with the name player with a lowercase "p", but the gameserver was looking for Player with a capital "P". Once I renamed the table with a capital "P" everything worked.

Thank you for all your help. I appreciate it.
Good to hear you found it and have it to work.
strange that that was the problem.
I have changed it in the plugin as you mentioned.

Can you share what mysql version you have etc ?
As i have mysql version 5.7 and player database is in lower case and this problem is not occuring with me.
Seems some option in mysql maybe makes things case sensitive.
__________________
My TF2 Server IP: FinalGame-Hosting.com
Check it out.
Cloman is offline
Cloman
Member
Join Date: Jul 2015
Old 07-23-2016 , 04:18   Re: [TF2 Stats] With Web Ranking and Item Logger [v9.1.0]
Reply With Quote #2649

Updated TF2Stats to 9.3.3

- Fix Player database for case sensitive database engines/ configuration.
Attached Files
File Type: sp Get Plugin or Get Source (TF2_Stats.sp - 410 views - 389.8 KB)
File Type: zip TF2_Ranking_and_Item_Logger_v9.3.3.zip (831.5 KB, 168 views)
File Type: cfg tf2-stats.cfg (19.7 KB, 160 views)
__________________
My TF2 Server IP: FinalGame-Hosting.com
Check it out.

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

Quote:
Originally Posted by DeathMaster View Post
Multiple times.
Even tried with sql and the database creates but I get the same error.
Hi DeathMaster,

Can you have a try this version and let us know if it works for you as you had similar problem.
https://forums.alliedmods.net/showpo...postcount=2649
__________________
My TF2 Server IP: FinalGame-Hosting.com
Check it out.
Cloman is offline
Reply


Thread Tools
Display Modes

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 21:03.


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