Open timiimit opened 1 year ago
URLs for resources are this same
I fixed the links
I will try to implement this feature, you can assign it to me.
@belmirp I think you must have made a PR before i can assign you. i'll remember you're working on it. and others will see in the comments hopefully.
Useful links:
RankedDuelSkillRating
, RankedCTFSkillRating
, RankedShowdownSkillRating
and RankedFlagRunSkillRating
leagueName - I saw this in my logs for account/{id}/league/{leagueName}
yesterday
Description
Statistics need to be saved in the database. These include among other things, number of kills per each weapon, number of deaths per each weapon, hits with certain weapon damage type, etc.
How stats work
endpoint
/ut/api/stats/accountId/{id}/bulk/window/{statsType}
is used to retrieve all stats. andstats.json
in cloudstorage contains score of last 5 played games.All statistics are collected via analytics. that is on domain
datarouter.ol.epicgames.com
and endpoint/datarouter/api/v1/public/data
+ query that looks in my case like this:There is no way to reroute this domain through Engine.ini, so without client modification you need to use hosts file.
Helpful official source code
UT4 Source code comes in handy here because we can figure out all possible types of events that get sent out by studying file
UnrealTournament/Source/UnrealTournament/Private/UTAnalytics.cpp
.reading
Documents\UnrealTournament\Saved\Stats\stats.html
is also useful as it contains all names and meanings of retrieved stat keys. This file is created after you look at stats inside the game.Desired functionality
statsType
in stats retrieval endpoint is eitheralltime
,monthly
,weekly
,daily
. There should probably be buckets for each of these. So all analitycs should at first be saved in adaily
bucket, then after 24h all these should be moved toweekly
bucket and so on. then at retrieval of saymontly
we would combine and return stats fromdaily
,weekly
andmonthly
.Resources
I am also providing 2 fiddler classic session archives which contain all requests and responses to and from official epicgames servers. 1) stats and gameplay 2) just gameplay