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

[ANY] Player Analytics


Post New Thread Reply   
 
Thread Tools Display Modes
braak0327
AlliedModders Donor
Join Date: Dec 2012
Location: NORT....SOUTH KOREA
Old 08-04-2014 , 03:29   Re: [ANY] Player Analytics
Reply With Quote #171

i already have name "users"(store plugins) table this is hosting server so I can't make another DB for me what should I do for this situation?
__________________
I'M KIMCHI

Last edited by braak0327; 08-04-2014 at 03:29.
braak0327 is offline
Send a message via Skype™ to braak0327
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 08-04-2014 , 05:37   Re: [ANY] Player Analytics
Reply With Quote #172

You should try typing that again in an understandable way this time. I would love to help, but I don't know what you asked.
__________________
My Steam TF2APP
My sig changes with each load! Refresh to see my other servers!
jpwanabe is offline
braak0327
AlliedModders Donor
Join Date: Dec 2012
Location: NORT....SOUTH KOREA
Old 08-04-2014 , 08:11   Re: [ANY] Player Analytics
Reply With Quote #173

Quote:
Originally Posted by jpwanabe View Post
You should try typing that again in an understandable way this time. I would love to help, but I don't know what you asked.
sorry for my poor english skill

I mean my DB already have name called "users" table

and this plugins web analytics page need import servers.sql, users.sql

in users.sql

CREATE TABLE IF NOT EXISTS `users` (
`username` varchar(30) NOT NULL,
`password` varchar(32) DEFAULT NULL,
`userid` varchar(32) DEFAULT NULL,
`userlevel` tinyint(1) unsigned NOT NULL,
`email` varchar(50) DEFAULT NULL,
`timestamp` int(11) unsigned NOT NULL,
`valid` tinyint(1) unsigned NOT NULL DEFAULT '0',
`name` varchar(50) DEFAULT NULL,
`hash` varchar(32) NOT NULL,
`hash_generated` int(11) NOT NULL,
PRIMARY KEY (`username`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

already have table name users so I can't import this sql file

now can you understand what is my problem?
__________________
I'M KIMCHI
braak0327 is offline
Send a message via Skype™ to braak0327
Pickles47
Member
Join Date: Jun 2013
Old 09-11-2014 , 18:36   Re: [ANY] Player Analytics
Reply With Quote #174

I have redone the web panel and it is available at https://github.com/Sinclair47/player_analytics

DEMO HERE


The demo has semi-random data.

This should be much faster, requires less setup, and should improve performance on large databases.

I have removed user login, if you want to limit access you can whitelist IPs or add your own authentication.

I have also removed quite a bit of clutter, things such as maps and individual server pages and server details have been removed in favor of a leaner experience and cleaner look. You can still compare activity by the day/hour by clicking on date on the graph. Clicking on a country on the map will bring up that regions connections.

Server Names can be added in the config, examples are given. SteamAPI key is required to pull user data from valve. Edit inc/config.php to add your database information, key, and server names.

Last edited by Pickles47; 09-11-2014 at 18:49.
Pickles47 is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-11-2014 , 20:37   Re: [ANY] Player Analytics
Reply With Quote #175

Quote:
Originally Posted by Pickles47 View Post
I have redone the web panel and it is available at https://github.com/Sinclair47/player_analytics

DEMO HERE


The demo has semi-random data.

This should be much faster, requires less setup, and should improve performance on large databases.

I have removed user login, if you want to limit access you can whitelist IPs or add your own authentication.

I have also removed quite a bit of clutter, things such as maps and individual server pages and server details have been removed in favor of a leaner experience and cleaner look. You can still compare activity by the day/hour by clicking on date on the graph. Clicking on a country on the map will bring up that regions connections.

Server Names can be added in the config, examples are given. SteamAPI key is required to pull user data from valve. Edit inc/config.php to add your database information, key, and server names.
Very nice!
__________________
Dr. McKay is offline
RocketFish
Junior Member
Join Date: Jul 2014
Old 09-25-2014 , 17:30   Re: [ANY] Player Analytics
Reply With Quote #176

Quote:
Originally Posted by Pickles47 View Post
I have redone the web panel and it is available at https://github.com/Sinclair47/player_analytics

DEMO HERE

Nice work. Thank you
RocketFish is offline
DrFallen
AlliedModders Donor
Join Date: Jul 2013
Location: ./root
Old 09-27-2014 , 10:07   Re: [ANY] Player Analytics
Reply With Quote #177

Looks nice but what are these two columns for?

http://cdn.kinevonetwork.com/public/...7140719177.png
DrFallen is offline
pcmaster
AlliedModders Donor
Join Date: Sep 2009
Old 09-27-2014 , 12:02   Re: [ANY] Player Analytics
Reply With Quote #178

Some indexes would be nice, even loading the session page causes by webserver to use 100% cpu and then die after 30 seconds.
Currently got ~2.2M connection records.
__________________
Stopped hosting servers as of November 2018, no longer active around here.
pcmaster is offline
Pickles47
Member
Join Date: Jun 2013
Old 09-27-2014 , 16:18   Re: [ANY] Player Analytics
Reply With Quote #179

Quote:
Originally Posted by DrFallen View Post
Looks nice but what are these two columns for?

http://cdn.kinevonetwork.com/public/...7140719177.png
Premium or F2P and HTML MOTD Enabled/Disabled. They can be changed in getconnections.php.

Quote:
Originally Posted by pcmaster View Post
Some indexes would be nice, even loading the session page causes by webserver to use 100% cpu and then die after 30 seconds.
Currently got ~2.2M connection records.
Its easy enough to make them, index on connect_time, connect_date, country_code, and auth would definitely help at the expense of hdd space, probably around 200-220mb for the indexes alone with 2.2m rows.
__________________
Pickles47 is offline
nomy
Senior Member
Join Date: Dec 2009
Location: United Kingdom
Old 09-27-2014 , 18:19   Re: [ANY] Player Analytics
Reply With Quote #180

Hello Pickles,

I have a suggestion. Please make it possible to search by IPs.
Thanks!
nomy 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 17:54.


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