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

[ANY] Player Analytics


Post New Thread Reply   
 
Thread Tools Display Modes
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 06-18-2015 , 03:13   Re: [ANY] Player Analytics
Reply With Quote #231

Quote:
Originally Posted by Stylee32 View Post
Is there a SQL query to remove players who have one connection and 0:00:00 time played?
I too would be interested in this, only for players with 00:00:00 time.
__________________

Last edited by sneaK; 06-18-2015 at 03:13.
sneaK is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 06-29-2015 , 13:23   Re: [ANY] Player Analytics
Reply With Quote #232

Bad Load:
Code:
L 06/29/2015 - 19:16:02: SourceMod error session started
L 06/29/2015 - 19:16:02: Info (map "mvm_coaltown") (file "errors_20150629.log")
L 06/29/2015 - 19:16:02: [SM] Failed to load plugin "player_analytics.smx": [2003]: Can't connect to MySQL server on 'localhost' (10061).
And in my database.cfg
Code:
	"player_analytics"
{
    "driver"            "mysql"
    "host"              "localhost"
    "database"        "player-analytics"
    "user"              "root"
    "pass"              "toor"	
  //"port"              "3306"
}
  • Windows (yea yea i know..)
  • SM Version: 1.7.3 dev5213

Any thoughts? :s
Vastrix is offline
PolyQuad
Member
Join Date: Oct 2011
Old 06-29-2015 , 13:41   Re: [ANY] Player Analytics
Reply With Quote #233

Quote:
Originally Posted by Vastrix View Post
Bad Load:
Code:
L 06/29/2015 - 19:16:02: SourceMod error session started
L 06/29/2015 - 19:16:02: Info (map "mvm_coaltown") (file "errors_20150629.log")
L 06/29/2015 - 19:16:02: [SM] Failed to load plugin "player_analytics.smx": [2003]: Can't connect to MySQL server on 'localhost' (10061).
And in my database.cfg
Code:
	"player_analytics"
{
    "driver"            "mysql"
    "host"              "localhost"
    "database"        "player-analytics"
    "user"              "root"
    "pass"              "toor"	
  //"port"              "3306"
}
  • Windows (yea yea i know..)
  • SM Version: 1.7.3 dev5213

Any thoughts? :s
Have you connected to the localhost instance on the machine using something like MySQL workbench to verify that the connection works and that the database you are trying to access exists?
PolyQuad is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 06-29-2015 , 13:59   Re: [ANY] Player Analytics
Reply With Quote #234

Quote:
Originally Posted by PolyQuad View Post
Have you connected to the localhost instance on the machine using something like MySQL workbench to verify that the connection works and that the database you are trying to access exists?
Well, i know it doesn't exist, It's supposed to be created when ran for the first time, no?
Vastrix is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 06-29-2015 , 14:11   Re: [ANY] Player Analytics
Reply With Quote #235

Quote:
Originally Posted by Vastrix View Post
Well, i know it doesn't exist, It's supposed to be created when ran for the first time, no?
The tables will be created on their own but not the database

edit-
Also, in case that is actually your password, I would delete it from the post
__________________

Last edited by Phaiz; 06-29-2015 at 14:12.
Phaiz is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 06-29-2015 , 14:16   Re: [ANY] Player Analytics
Reply With Quote #236

Quote:
Originally Posted by Phaiz View Post
The tables will be created on their own but not the database

edit-
Also, in case that is actually your password, I would delete it from the post
Where do I place the mysql db then? :s
And is there a starter db that i missed somewhere?

dw, it's not ;)

Last edited by Vastrix; 06-29-2015 at 14:20.
Vastrix is offline
PolyQuad
Member
Join Date: Oct 2011
Old 06-29-2015 , 15:05   Re: [ANY] Player Analytics
Reply With Quote #237

Just create a blank database named player-analytics, when the plugin is run it will create the tables.
PolyQuad is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 06-29-2015 , 15:26   Re: [ANY] Player Analytics
Reply With Quote #238

Quote:
Originally Posted by PolyQuad View Post
Just create a blank database named player-analytics, when the plugin is run it will create the tables.
And where should i place it? :s

data/mysql/player-analytics.sql ?
Vastrix is offline
PolyQuad
Member
Join Date: Oct 2011
Old 06-29-2015 , 15:32   Re: [ANY] Player Analytics
Reply With Quote #239

Add PolyQuad on steam if you would like some help, you create the database with a tool like phpmyadmin or mysql workbench and connecting to the database, I don't think you can just create a db using a flat file, if so I have not done it that way before.
PolyQuad is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 06-29-2015 , 15:36   Re: [ANY] Player Analytics
Reply With Quote #240

Quote:
Originally Posted by PolyQuad View Post
Add PolyQuad on steam if you would like some help, you create the database with a tool like phpmyadmin or mysql workbench and connecting to the database, I don't think you can just create a db using a flat file, if so I have not done it that way before.
And under which path should i place the database?

Last edited by Vastrix; 06-29-2015 at 15:36.
Vastrix 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 18:32.


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