Jump to content

[Feature Request] export stats to sqLite or TXT-File


seeh
 Share

Recommended Posts

i want read statistic, want interface to summary stats.

is that possible ? how? ty

 

i searched a bit here, don't jet found something useful for that:

 

~/Downloads/0ad-master/source$ find ./ -name "*sql*" -type f
./tools/autolog/SVNLog/sql/svnlog.sql

~/Downloads/0ad-master/source$ find ./ -name "*stats*" -type f
./lib/file/common/file_stats.cpp
./lib/file/common/file_stats.h

~/snap/0ad/234/.local/share/0ad$ find ./ -name "*stats*" -type f   
./mods/autociv/gui/session/objectives/autociv_statsOverlay.xml  
./mods/autociv/gui/session/objectives/autociv_statsOverlay.js

~/snap/0ad/234/.config/0ad$ find ./ -name "*" -type f   
./logs/oos_dump.dat  
~/snap/0ad/234/.config/0ad$

 

Maybe interesting:

 

Edited by seeh
Link to comment
Share on other sites

1 hour ago, nani said:

Look at the replays folder

there i find:

./0.0.25/replayCache.json
./0.0.25/2021-.../commands.txt
./0.0.25/2021-.../metadata.json

is that the only data?

in other words

is the Summary - statistics always calculated new by the use of this two files ( exept replayCache.json ) ?

i guess, probably the /metadata.json is most relevant

example found in one of my 1v1 games:

"populationCount":[10,15,17,17,17,21,23,25,27,29,29,31,31,37,41,45,47,53,57,61,64,65,57,61,65,69,73,75,81,81,64,69,71,77,85,88,94,94,98,103,109,117,128,134,148,160,163,172,177,131,131,145,145,118,112,111,64,32,25,5,5,4,4,4,5,4,0],

"populationCount":[9,15,15,17,21,24,28,32,36,39,42,46,50,50,54,55,61,69,76,83,90,92,94,101,104,107,115,120,125,125,123,129,135,141,146,149,156,162,165,168,172,178,184,190,199,205,214,226,236,252,260,260,260,265,257,258,253,249,258,266,266,279,280,280,280,280,289],

=> ahhh . now i understand. its just pure json, log . that great

and there is probably no other cache or stored summary of the pretty calculation

example prettify1:

https://jsonformatter.org/json-pretty-print/598141

example prettify 2:

https://www.wolframalpha.com/input/?i2d=true&i=9\(%2C)15\(%2C)15\(%2C)17\(%2C)21\(%2C)24\(%2C)28\(%2C)32\(%2C)36\(%2C)39\(%2C)42\(%2C)46\(%2C)50\(%2C)50\(%2C)54\(%2C)55\(%2C)61\(%2C)69\(%2C)76\(%2C)83\(%2C)90\(%2C)92\(%2C)94\(%2C)101\(%2C)104\(%2C)107\(%2C)115\(%2C)120\(%2C)125\(%2C)125\(%2C)123\(%2C)129\(%2C)135\(%2C)141\(%2C)146\(%2C)149\(%2C)156\(%2C)162\(%2C)165\(%2C)168\(%2C)172\(%2C)178\(%2C)184\(%2C)190\(%2C)199\(%2C)205

without:

Total score

but included for example:

buildingsConstructed": {
          "total

 

What are the timeSteps between each entry?

i counted about double of minutes.

=> so half a minute?

Edited by seeh
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...