View Single Post
Pickles47
Member
Join Date: Jun 2013
Old 01-25-2014 , 12:25   Re: [ANY] Player Analytics
Reply With Quote #47

Quote:
Originally Posted by Pitbull3 View Post
So this will update whenever a new quickplay player joins? It will update every single quickplay_1-90, quickplay0,1,2... ect?


I was doing this manually....

Code:
update player_analytics set connect_method = replace(connect_method,'quickplay_1','quickplay')
Yes, every time the sessions.php is loaded/refreshed all connect_method rows that contain "quickplay" will be changed to just quickplay. You will have to refresh twice to see the change in webpanel, once to update table, again to see results.

It will not do it automatically when a player joins, the code only works when the webpanel page sessions.php is loaded, all instances of quickplay* and quickplay_* will be changed at that time.

Last edited by Pickles47; 01-25-2014 at 12:27.
Pickles47 is offline