Quote:
Originally Posted by Pitbull3
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.