AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Player Analytics (https://forums.alliedmods.net/showthread.php?t=230832)

Pythong 12-06-2013 10:43

Re: [ANY] Player Analytics
 
FYI I got some errors from the dev. web panel.

For starts, i'm running PH 5.3.10

The config.php had to be edited to include quotes or i received errors
<?php
define('PA_DATABASE_SERVER', 'localhost');
define('PA_DATABASE_USER', 'user');
define('PA_DATABASE_PASSWORD', 'password');
define('PA_DATABASE_NAME', 'player_analytics');
?>

And on the main page i'm getting:
Quote:

Notice: Undefined property: UserSessions::$mTimeAvg in /path/to/data/users.php on line 44


EDIT: I had to add at line 25:
Quote:

private $mTimeAvg;
That fixed the error above.

Dr. McKay 12-07-2013 02:55

Re: [ANY] Player Analytics
 
Updated to v1.1.0. The method by which it detects players' operating systems has been updated. It now requires a gamedata file, which is in the .zip file.

nineteeneleven 12-07-2013 08:24

Re: [ANY] Player Analytics
 
If a player connects twice, does it write 2 logs or overwrite the first?.


edit: it just keeps making logs. Mabye you can provide a cvar for that in the future?

Edi2:actually that's probably not the best idea

nineteeneleven 12-07-2013 10:04

Re: [ANY] Player Analytics
 
Added support for this in Donations Control

https://github.com/nineteeneleven/Donations-Control/

StayOx 12-07-2013 16:09

Re: [ANY] Player Analytics
 
this plugin is very useful ^^, the plugin creates a table with charset utf8, however the charset of querys was not set to utf8

[IMG]http://s29.************/536ght8sn/non_utf8.png[/IMG]

TnTSCS 12-07-2013 18:48

Re: [ANY] Player Analytics
 
Isn't the connect_date not needed since the connect_time has it already?

1386450476 translates to:
Sat, 07 Dec 2013 21:07:56 GMT

Unless it's there to help with front end displaying of data?

Dr. McKay 12-07-2013 19:41

Re: [ANY] Player Analytics
 
Quote:

Originally Posted by TnTSCS (Post 2069793)
Unless it's there to help with front end displaying of data?

That's what it's there for.

Impact123 12-08-2013 13:00

Re: [ANY] Player Analytics
 
PHP Code:

SELECT DATE_FORMAT(FROM_UNIXTIME(connect_time), "%Y-%m-%m"

Same result as connect_date, let the database do the work.

tigerox 12-09-2013 10:53

Re: [ANY] Player Analytics
 
Great plugin, thanks!

Seeing this on our CSGO servers:

Code:

L 12/09/2013 - 01:17:49: SourceMod error session started
L 12/09/2013 - 01:17:49: Info (map "ar_arena_box") (file "errors_20131209.log")
L 12/09/2013 - 01:17:49: [SM] Native "CloseHandle" reported: Handle 25050489 is invalid (error 1)
L 12/09/2013 - 01:17:49: [SM] Displaying call stack trace for plugin "player_analytics.smx":
L 12/09/2013 - 01:17:49: [SM]  [0]  Line 168, D:\Libraries\Documents\Repos\Public Plugins\scripting\player_analytics.sp::OnMOTDQueried()
L 12/09/2013 - 01:17:49: [SM] Native "CloseHandle" reported: Handle 2506048d is invalid (error 3)
L 12/09/2013 - 01:17:49: [SM] Displaying call stack trace for plugin "player_analytics.smx":
L 12/09/2013 - 01:17:49: [SM]  [0]  Line 202, D:\Libraries\Documents\Repos\Public Plugins\scripting\player_analytics.sp::OnOSQueried()
L 12/09/2013 - 01:26:56: Error log file session closed.


Pickles47 12-13-2013 22:58

Re: [ANY] Player Analytics
 
Seeing some errors in my database, sometimes the server IP is not added correctly, filling a server_ip as 0.0.0.0:27015.

Also seeing problems with flags, a few times flags are not added properly. For example, my flags are 'azop' on a few occasions the flags are only 'az'. There are no errors in my sourcemod log file when these occur.


All times are GMT -4. The time now is 18:14.

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