question

alexmerza avatar image
alexmerza asked

Get Character Data

Trying to figure out a way to get specific fields from character data for every character of every player.

Players have 1 character that they are able to customize, each customization option they use gets stored inside of their own Character Data.

Right now, we have a goal to achieve in which we want to see how they use those customization options, so how would we go about getting all the data fields for every character on every player in order to save that data in an excel sheet or something?

Character DataCharacters
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Andy avatar image
Andy answered

The typical way to do something like that is via telemetry. You'd fire an event when a player make a customization decision and then you'd be able to query for those selections in your telemetry later.

If you want to get the current state of your players without having plumbed in appropriate telemetry, you'll need to do it via the admin and server APIs. For instance, you could call GetPlayersInSegment for the All Players segment and then slowly iterate through them retrieving character data. For something like that, you could probably have a few requests out to the service at a time, but if you start getting throttled, you ay have to back off.

Obviously, a solution like that won't scale to millions of players on a regular basis, so I'd strongly encourage adding telemetry for the things you want to track.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.