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

[ANY] Player Analytics


Post New Thread Reply   
 
Thread Tools Display Modes
llamasking
Junior Member
Join Date: Jul 2020
Old 09-01-2020 , 23:00   Re: [ANY] Player Analytics
Reply With Quote #371

Quote:
Originally Posted by sneaK View Post
As of 4/9/19 I've obtained cvar lists from Windows, Linux, and Mac on CS:GO, and have updated detect_os.games.txt, which I've linked below. Mac & Windows specific cvars broke some time ago, Linux has been fine. Bitbucket's mercurial has proven to be the bane of my existence and absolutely will not allow me to PR into Dr McKay's repo unfortunately. I'll do my best to keep it up to date (for at least CS:GO) in case of future issues on my github: https://github.com/sneak-it/PlayerAn...t_os.games.txt

If anyone's interested, my forked Player Analytics repo has been updated with the following:
  • SourcePawn Transitional Syntax
  • Updated CS:GO gamedata to detect operating system
  • CS:GO Prime Status Logging (if game is detected to be CS:GO)
  • Removed leftover SteamTools code, replaced with SteamWorks (now optional!)
  • Updated default charset to utf8mb4
  • Increased name column maximum size to account for emojis being stored (only upon initial db creation)
I made my own update to your fork. Added a prime check for TF2 and replaced the dependency on GeoIPCity with GeoIP2.
Attached Files
File Type: sp Get Plugin or Get Source (player_analytics.sp - 206 views - 11.3 KB)
__________________

Last edited by llamasking; 09-15-2020 at 11:51. Reason: I think this post is outdated. Update.
llamasking is offline
Pala4
Senior Member
Join Date: Dec 2007
Old 02-05-2021 , 08:22   Re: [ANY] Player Analytics
Reply With Quote #372

Quote:
Originally Posted by llamasking View Post
I made my own update to your fork. Added a prime check for TF2 and replaced the dependency on GeoIPCity with GeoIP2.

The csgo server and tf2 crash if the plugin is restarted.
Pala4 is offline
Slash The Mighty
Member
Join Date: May 2006
Location: Vault 13
Old 05-09-2021 , 10:28   Re: [ANY] Player Analytics
Reply With Quote #373

I've just recently reinstalled some stuff, and now my locations section doesn't work.
https://fyn.io/analytics/#/stats/locations

It also spits out a lot of errors if I select a long enough timeframe;
Quote:
Warning: Illegal string offset 'AE' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'AF' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'AM' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'AR' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'AT' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'AU' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'AZ' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'BA' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'BD' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'BE' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'BG' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'BO' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'BR' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'BY' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'CA' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'CH' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'CL' in /var/www/html/analytics/inc/getlocationrange.php on line 25

Warning: Illegal string offset 'CN' in /var/www/html/analytics/inc/getlocationrange.php on line 25
Help?

edit:
found the solution,
gotta install geoipcity.ext.so along with a geoipcity.dat (thanks to darkdevil @ discord for remining me)

edit:
nevermind,
i let it run for a few months hoping the geoipcity extension would fix it, but no dice.
i'm using php v7.2 on centos 8, if anyone can tell me how to fix it that'd be amazing.

edit:
found the fix thanks to google,
https://stackoverflow.com/questions/...et-warning-php
open /inc/getlocationrange.php and go to line 21,
then comment out $maps = ''; so it becomes //$maps = '';
now it works flawlessly. 😊
__________________
---

Last edited by Slash The Mighty; 07-03-2021 at 21:17.
Slash The Mighty is offline
Send a message via AIM to Slash The Mighty Send a message via MSN to Slash The Mighty Send a message via Skype™ to Slash The Mighty
ted2020
Junior Member
Join Date: Feb 2021
Old 01-13-2022 , 12:47   Re: [ANY] Player Analytics
Reply With Quote #374

I'm getting this:

Quote:
[php7:error] [pid 52973] [client 10.20.0.11622] PHP Fatal error: Uncaught Error: Call to a member function prepare() on null in /srv/apache/public_html/playeranalytics/inc/database.class.php9\nStack trace:\n#0 /srv/apache/public_html/playeranalytics/index.php(16): Database->query()\n#1 {main}\n thrown in /srv/apache/public_html/playeranalytics/inc/database.class.php on line 39
Anyone know how to fix it?

Thanks
ted2020 is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 01-13-2022 , 13:15   Re: [ANY] Player Analytics
Reply With Quote #375

Quote:
Originally Posted by ted2020 View Post
I'm getting this: [...]Anyone know how to fix it?...
It seams that you cannot prepare your queries, probably because you did not configure your db connection vars (or did something wrong) in "\inc\config.php".

Should look something like this.
__________________
CAOSK-ESPORTS.COM

Last edited by Schpraaankiii; 01-13-2022 at 13:17.
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
Fate9707
Junior Member
Join Date: Jan 2023
Old 01-01-2024 , 02:55   Re: [ANY] Player Analytics
Reply With Quote #376

I'm getting a json error on some pages, says "DataTables warning: table id=players - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1"
Fate9707 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 03:30.


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