Forum Multiplayer PlayerInsight Usage at server Side.

Discussion and help relating to the PlayerIO Multiplayer API.

PlayerInsight Usage at server Side.

Postby aseemgarg321 » May 18th, 2016, 1:19 am

Hi,

As I understand we can use PlayerInsight class to add Custom events for our tracking purpose(both from Client and Server).
I can see "TrackEvent"Function in PlayerInsight class, which I am assuming to be used to track custom events.

Now my problem is , after a user joins the room when i try to access PlayerInsight class of users. It has NULL values. Shouldn't this be pre populated class. If not, how shall we use it.

I have used PreloadPayVaults and PreloadPlayerObjects as TRUE, and they are working perfectly fine..
Am I missing something there? is there a way to make PlayerInsight Prepopulate?
Attaching screenshot to show what happened... - http://imgur.com/uEgSwLj

Note - Using playerinsight for first time. So kindly ignore the fact that it might be a noob question.. :)

Thanks,
Aseem
Attachments
PlayerInsightError.png
PlayerInsightError.png (21.7 KiB) Viewed 45705 times
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: PlayerInsight Usage at server Side.

Postby aseemgarg321 » June 2nd, 2016, 7:25 pm

If anyone has works on playerInsight before and can guide us how to use it, his help would be really appreciated.. :)

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: PlayerInsight Usage at server Side.

Postby ChristianD » June 2nd, 2016, 10:39 pm

Hi Aseem,

The way you are using it seems correct to me.

Just to double-check, this is multiplayer code in the development server, right? And the player object isn't null, but player.PlayerInsight is? And you're using the latest development server, downloaded after we took over the service?
Christian
ChristianD
.IO
 
Posts: 63
Joined: May 13th, 2016, 4:44 am

Re: PlayerInsight Usage at server Side.

Postby aseemgarg321 » June 3rd, 2016, 5:49 am

Hi Christan,

1) this is multiplayer code in the development server, right? - Yes,
2) And the player object isn't null, - Yes,
3) - but player.PlayerInsight is? - Yes,
4) and you're using the latest development server, downloaded after we took over the service? - No, I guess I have code from March SDK..

Shall I try once with latest SDK?

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: PlayerInsight Usage at server Side.

Postby aseemgarg321 » June 4th, 2016, 9:39 am

Tried with Latest SDK.. Issue is still there..
PlayerInsight is still Null..
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: PlayerInsight Usage at server Side.

Postby ChristianD » June 5th, 2016, 8:31 pm

Hi Aseem,

We just released an updated SDK that fixes this issue. Please download that and try it out.
Christian
ChristianD
.IO
 
Posts: 63
Joined: May 13th, 2016, 4:44 am

Re: PlayerInsight Usage at server Side.

Postby aseemgarg321 » June 6th, 2016, 6:39 am

Thanks, Will try and Let you know..

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: PlayerInsight Usage at server Side.

Postby aseemgarg321 » June 6th, 2016, 7:29 am

Hey Christian..

It Worked.. Great, thanks..

But Big question - Once I have added a Custom Event in Player Insight. Where can we see the custom Events data/Graph event wise in Website.
My understanding is that Player Insight will be used for Analytic purpose. Hence I am assuming there must a way to look at data.
I am checking Player Insight website tool, and not able to locate any customs events.
May be I am looking at wrong place, Or may be I am looking too early as I just added a Custom event for 1 of my player..

Kindly let me know how to look at custom event data..

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: PlayerInsight Usage at server Side.

Postby aseemgarg321 » June 6th, 2016, 12:26 pm

Hi,

Also, I wanted to know - will it be possible to use PlayerInsignt of a player who isn't Connected via client?

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: PlayerInsight Usage at server Side.

Postby ChristianD » June 9th, 2016, 4:13 am

Huh. I've never used custom events in any of my games, so I never noticed this before, but there's no place that they are visualized on the website. That's one hell of an oversight we're going to have to fix.

In the meantime, how were you planning to use custom events? What did you want to track in your game with them?
Christian
ChristianD
.IO
 
Posts: 63
Joined: May 13th, 2016, 4:44 am

Re: PlayerInsight Usage at server Side.

Postby aseemgarg321 » June 9th, 2016, 12:16 pm

HI,

I wanted to use them as analytics from server side. And would love to see data like PlayerInsight does - Showing graphs with numeric Details, Day on day..

Tracking Major/Minor events - Just to give an example -

we already know that PlayerInsight tracks - DAU..
I will like to break this Event as DAU-ON-SilverLeagueTable / DAU-ON-GOLDLeagueTable..
For this Case when so ever a customer will join any league, i will raise a custom event for PLAYER-JOIN-SILVER-TABLE or PLAYER-JOIN-GOLD-TABLE..

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: PlayerInsight Usage at server Side.

Postby milalhjovich » June 30th, 2016, 11:30 am

If anyone has works on playerInsight before and can guide us how to use it, his help would be really appreciated.. :)

Thanks,
Last edited by milalhjovich on July 1st, 2016, 11:29 am, edited 1 time in total.
milalhjovich
 
Posts: 3
Joined: June 30th, 2016, 10:26 am

Re: PlayerInsight Usage at server Side.

Postby aseemgarg321 » June 30th, 2016, 6:20 pm

Hi,

Hope this example will help you..

http://imgur.com/Q1NLLVb

Just to mention - As discussed above - u can add custom events but there is no place as of now to see analytics data out of it.

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am


Return to Multiplayer



cron