Add StatsServer.md and example stats files
This commit is contained in:
parent
0552019e8a
commit
150341056b
4 changed files with 99 additions and 0 deletions
35
content/StatsServer.md
Normal file
35
content/StatsServer.md
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
---
|
||||||
|
title: "Stats Server"
|
||||||
|
#description: ""
|
||||||
|
# layout: "definition"
|
||||||
|
page_status:
|
||||||
|
- 'stub'
|
||||||
|
---
|
||||||
|
|
||||||
|
## Details
|
||||||
|
|
||||||
|
### Sending
|
||||||
|
|
||||||
|
The game sends a HTTP POST request for:
|
||||||
|
```plain
|
||||||
|
/stats/stats.php?product=full&platform=android&version=1.3.8
|
||||||
|
```
|
||||||
|
|
||||||
|
- `product`: most likely used to indicate if the game is a `full` version or the
|
||||||
|
`free` one
|
||||||
|
- `platform`: platform that the game is on, for example android
|
||||||
|
- `version`: game version
|
||||||
|
|
||||||
|
with a xml document (gzip compressed) containing user's statistics, for example:
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<granny uid="2137069420" coins="115" level="7" adsrevision="1" adsfront="1" adsplus="0" adsshown="1" timesstarted="9" version="1.3.8" platform="android" model="POCO F1" laststats="0">
|
||||||
|
<level name="warming_up" score="11234" scorehard="0" apples="3" appleshard="0" playcount="1" clearcount="1" diecount="0" diepos="0 0" restartcount="0" restartpos="0 0" />
|
||||||
|
<level name="2" score="8442" scorehard="0" apples="3" appleshard="0" playcount="2" clearcount="1" diecount="0" diepos="0 0" restartcount="1" restartpos="219 -33" />
|
||||||
|
</granny>
|
||||||
|
```
|
||||||
|
|
||||||
|
if user just started playing, the document might look like this:
|
||||||
|
```xml
|
||||||
|
<granny uid="2137069420" timesstarted="1" version="1.3.8" platform="android" model="POCO F1" laststats="0" />
|
||||||
|
```
|
59
content/decompiled_src/stats-complete.txt
Normal file
59
content/decompiled_src/stats-complete.txt
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
<granny uid="1441896987" coins="16039" level="3-10" baseball="10" banana="0" helmet="0" unlockchar="15" character="granny" rated="1" hard="1" adsrevision="21" adsfront="1" adsplus="0" adsshown="1" timesstarted="165" version="1.3.8" platform="android" model="POCO F1" laststats="0">
|
||||||
|
<level name="warming_up" score="10513" scorehard="5778" apples="3" appleshard="3" playcount="23" clearcount="4" diecount="0" diepos="0 0" restartcount="14" restartpos="6 -68" />
|
||||||
|
<level name="2" score="7296" scorehard="6480" apples="3" appleshard="3" playcount="49" clearcount="4" diecount="1" diepos="342 -67" restartcount="37" restartpos="191 -33" />
|
||||||
|
<level name="3" score="7787" scorehard="6227" apples="3" appleshard="3" playcount="17" clearcount="2" diecount="3" diepos="352 -161" restartcount="11" restartpos="210 -122" />
|
||||||
|
<level name="4" score="9219" scorehard="5765" apples="3" appleshard="3" playcount="10" clearcount="3" diecount="0" diepos="0 0" restartcount="7" restartpos="46 -14" />
|
||||||
|
<level name="5" score="9381" scorehard="6719" apples="3" appleshard="3" playcount="16" clearcount="2" diecount="0" diepos="0 0" restartcount="12" restartpos="216 -39" />
|
||||||
|
<level name="6" score="8278" scorehard="4400" apples="3" appleshard="3" playcount="3" clearcount="2" diecount="0" diepos="0 0" restartcount="1" restartpos="14 -44" />
|
||||||
|
<level name="7" score="7333" scorehard="5546" apples="3" appleshard="3" playcount="13" clearcount="4" diecount="0" diepos="0 0" restartcount="8" restartpos="-10 -34" />
|
||||||
|
<level name="8" score="9866" scorehard="5522" apples="3" appleshard="3" playcount="4" clearcount="3" diecount="0" diepos="0 0" restartcount="1" restartpos="8 -3" />
|
||||||
|
<level name="9" score="7746" scorehard="5297" apples="3" appleshard="3" playcount="23" clearcount="4" diecount="2" diepos="35 -9" restartcount="18" restartpos="138 -74" />
|
||||||
|
<level name="10" score="5111" scorehard="5753" apples="3" appleshard="3" playcount="35" clearcount="2" diecount="0" diepos="0 0" restartcount="29" restartpos="92 -22" />
|
||||||
|
<level name="11" score="5205" scorehard="6690" apples="3" appleshard="3" playcount="46" clearcount="3" diecount="4" diepos="110 -89" restartcount="39" restartpos="6 -53" />
|
||||||
|
<level name="12" score="6470" scorehard="7801" apples="3" appleshard="3" playcount="18" clearcount="4" diecount="1" diepos="231 -112" restartcount="12" restartpos="191 -88" />
|
||||||
|
<level name="railroad" score="10783" scorehard="7126" apples="3" appleshard="3" playcount="12" clearcount="3" diecount="3" diepos="673 -93" restartcount="6" restartpos="500 -41" />
|
||||||
|
<level name="ranch" score="11325" scorehard="8992" apples="3" appleshard="3" playcount="5" clearcount="3" diecount="0" diepos="0 0" restartcount="1" restartpos="214 -51" />
|
||||||
|
<level name="volcano" score="10969" scorehard="5370" apples="3" appleshard="3" playcount="34" clearcount="2" diecount="5" diepos="-783 50" restartcount="27" restartpos="-705 22" />
|
||||||
|
<level name="2-1" score="5522" scorehard="5050" apples="3" appleshard="3" playcount="9" clearcount="5" diecount="3" diepos="116 -10" restartcount="2" restartpos="116 -13" />
|
||||||
|
<level name="2-2" score="6369" scorehard="5706" apples="3" appleshard="3" playcount="12" clearcount="4" diecount="0" diepos="0 0" restartcount="7" restartpos="250 -52" />
|
||||||
|
<level name="2-3" score="8002" scorehard="5220" apples="3" appleshard="3" playcount="27" clearcount="4" diecount="5" diepos="78 -17" restartcount="19" restartpos="-45 -1" />
|
||||||
|
<level name="2-4" score="11782" scorehard="6567" apples="3" appleshard="3" playcount="18" clearcount="4" diecount="4" diepos="188 -46" restartcount="10" restartpos="370 -93" />
|
||||||
|
<level name="2-5" score="5959" scorehard="5530" apples="3" appleshard="3" playcount="11" clearcount="3" diecount="5" diepos="215 -40" restartcount="3" restartpos="110 -27" />
|
||||||
|
<level name="2-6" score="8487" scorehard="3863" apples="3" appleshard="3" playcount="4" clearcount="2" diecount="2" diepos="134 -33" restartcount="0" restartpos="0 0" />
|
||||||
|
<level name="2-7" score="9305" scorehard="7368" apples="3" appleshard="3" playcount="43" clearcount="4" diecount="20" diepos="364 -190" restartcount="22" restartpos="240 -179" />
|
||||||
|
<level name="2-8" score="9001" scorehard="6926" apples="3" appleshard="3" playcount="15" clearcount="6" diecount="1" diepos="109 -33" restartcount="7" restartpos="109 -28" />
|
||||||
|
<level name="2-9" score="5771" scorehard="4902" apples="3" appleshard="3" playcount="9" clearcount="5" diecount="0" diepos="0 0" restartcount="4" restartpos="352 -51" />
|
||||||
|
<level name="2-10" score="8903" scorehard="8691" apples="3" appleshard="3" playcount="54" clearcount="6" diecount="5" diepos="120 -44" restartcount="45" restartpos="57 -10" />
|
||||||
|
<level name="2-11" score="6541" scorehard="6496" apples="3" appleshard="3" playcount="22" clearcount="8" diecount="2" diepos="-148 43" restartcount="11" restartpos="-159 60" />
|
||||||
|
<level name="2-12" score="7185" scorehard="5211" apples="3" appleshard="3" playcount="18" clearcount="3" diecount="2" diepos="96 -38" restartcount="9" restartpos="284 -114" />
|
||||||
|
<level name="carnival" score="11858" scorehard="7332" apples="3" appleshard="3" playcount="9" clearcount="2" diecount="4" diepos="596 -127" restartcount="3" restartpos="365 -25" />
|
||||||
|
<level name="supermarket" score="6797" scorehard="5373" apples="3" appleshard="3" playcount="12" clearcount="4" diecount="3" diepos="636 -66" restartcount="6" restartpos="139 -9" />
|
||||||
|
<level name="club" score="10023" scorehard="8778" apples="3" appleshard="3" playcount="14" clearcount="3" diecount="0" diepos="0 0" restartcount="7" restartpos="-31 -16" />
|
||||||
|
<level name="3-1" score="6094" scorehard="5375" apples="3" appleshard="3" playcount="3" clearcount="3" diecount="0" diepos="0 0" restartcount="0" restartpos="0 0" />
|
||||||
|
<level name="3-2" score="10866" scorehard="7197" apples="3" appleshard="3" playcount="12" clearcount="4" diecount="1" diepos="97 -128" restartcount="8" restartpos="76 -122" />
|
||||||
|
<level name="3-3" score="9346" scorehard="5194" apples="3" appleshard="3" playcount="15" clearcount="2" diecount="6" diepos="-38 -74" restartcount="9" restartpos="-62 -73" />
|
||||||
|
<level name="3-4" score="6614" scorehard="5539" apples="3" appleshard="3" playcount="7" clearcount="4" diecount="0" diepos="0 0" restartcount="2" restartpos="30 -102" />
|
||||||
|
<level name="3-5" score="7785" scorehard="5124" apples="3" appleshard="3" playcount="34" clearcount="2" diecount="11" diepos="34 -94" restartcount="27" restartpos="35 -95" />
|
||||||
|
<level name="3-6" score="8333" scorehard="7200" apples="3" appleshard="3" playcount="46" clearcount="3" diecount="0" diepos="0 0" restartcount="39" restartpos="-74 -119" />
|
||||||
|
<level name="3-7" score="9063" scorehard="5368" apples="3" appleshard="3" playcount="6" clearcount="3" diecount="1" diepos="191 -230" restartcount="2" restartpos="190 -210" />
|
||||||
|
<level name="3-8" score="5692" scorehard="3812" apples="3" appleshard="3" playcount="39" clearcount="2" diecount="6" diepos="255 -215" restartcount="29" restartpos="35 -117" />
|
||||||
|
<level name="3-9" score="4328" scorehard="5539" apples="3" appleshard="3" playcount="33" clearcount="4" diecount="11" diepos="415 -109" restartcount="26" restartpos="414 -111" />
|
||||||
|
<level name="3-10" score="10983" scorehard="8265" apples="3" appleshard="3" playcount="17" clearcount="3" diecount="3" diepos="292 -183" restartcount="11" restartpos="140 -168" />
|
||||||
|
<level name="3-11" score="6774" scorehard="7897" apples="3" appleshard="3" playcount="21" clearcount="5" diecount="0" diepos="0 0" restartcount="15" restartpos="-7 -183" />
|
||||||
|
<level name="3-12" score="11203" scorehard="6516" apples="3" appleshard="3" playcount="16" clearcount="2" diecount="4" diepos="138 -161" restartcount="8" restartpos="122 -128" />
|
||||||
|
<level name="steel_mill" score="7594" scorehard="5253" apples="3" appleshard="3" playcount="53" clearcount="8" diecount="11" diepos="451 -211" restartcount="33" restartpos="110 -177" />
|
||||||
|
<level name="robots" score="11698" scorehard="5020" apples="3" appleshard="3" playcount="331" clearcount="4" diecount="175" diepos="23 -147" restartcount="194" restartpos="-14 -111" />
|
||||||
|
<level name="conveyor_belts" score="4824" scorehard="6090" apples="3" appleshard="3" playcount="26" clearcount="6" diecount="7" diepos="-53 -35" restartcount="14" restartpos="-148 -32" />
|
||||||
|
<level name="spacestation" score="10706" scorehard="7867" apples="3" appleshard="3" playcount="43" clearcount="5" diecount="7" diepos="354 -198" restartcount="23" restartpos="127 -5490" />
|
||||||
|
<level name="moon" score="9694" scorehard="6417" apples="3" appleshard="3" playcount="7" clearcount="3" diecount="3" diepos="289 121" restartcount="1" restartpos="293 117" />
|
||||||
|
<level name="rings" score="4465" scorehard="4844" apples="3" appleshard="3" playcount="36" clearcount="3" diecount="6" diepos="85 114" restartcount="21" restartpos="52 151" />
|
||||||
|
<level name="mars" score="14086" scorehard="7507" apples="3" appleshard="3" playcount="15" clearcount="4" diecount="3" diepos="562 16" restartcount="7" restartpos="704 -77" />
|
||||||
|
<level name="phobos" score="9229" scorehard="6007" apples="3" appleshard="3" playcount="5" clearcount="2" diecount="2" diepos="637 -260" restartcount="0" restartpos="0 0" />
|
||||||
|
<level name="io" score="11069" scorehard="9352" apples="3" appleshard="3" playcount="6" clearcount="3" diecount="3" diepos="436 -82" restartcount="1" restartpos="742 -48" />
|
||||||
|
<level name="europa" score="7692" scorehard="5712" apples="3" appleshard="3" playcount="17" clearcount="2" diecount="3" diepos="266 -55" restartcount="13" restartpos="253 -113" />
|
||||||
|
<level name="jupiter" score="4876" scorehard="5285" apples="3" appleshard="3" playcount="7" clearcount="3" diecount="0" diepos="0 0" restartcount="4" restartpos="190 -86" />
|
||||||
|
<level name="saturn" score="8461" scorehard="15984" apples="3" appleshard="3" playcount="263" clearcount="5" diecount="54" diepos="234 -129" restartcount="225" restartpos="250 -128" />
|
||||||
|
<level name="enceladus" score="10024" scorehard="8432" apples="3" appleshard="3" playcount="8" clearcount="2" diecount="5" diepos="451 -109" restartcount="3" restartpos="382 -106" />
|
||||||
|
<level name="mimas" score="6406" scorehard="5941" apples="3" appleshard="3" playcount="21" clearcount="2" diecount="5" diepos="34 -7" restartcount="15" restartpos="18 -25" />
|
||||||
|
<level name="titan" score="7446" scorehard="6768" apples="3" appleshard="3" playcount="68" clearcount="4" diecount="35" diepos="488 -213" restartcount="37" restartpos="532 -268" />
|
||||||
|
</granny>
|
1
content/decompiled_src/stats-empty.txt
Normal file
1
content/decompiled_src/stats-empty.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<granny uid="747197980" timesstarted="1" version="1.3.8" platform="android" model="POCO F1" laststats="0" />
|
4
content/decompiled_src/stats-partial.txt
Normal file
4
content/decompiled_src/stats-partial.txt
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<granny uid="1275448544" coins="115" level="7" adsrevision="6" adsfront="1" adsplus="0" adsshown="1" timesstarted="9" version="1.3.8" platform="android" model="POCO F1" laststats="0">
|
||||||
|
<level name="warming_up" score="11234" scorehard="0" apples="3" appleshard="0" playcount="1" clearcount="1" diecount="0" diepos="0 0" restartcount="0" restartpos="0 0" />
|
||||||
|
<level name="2" score="8442" scorehard="0" apples="3" appleshard="0" playcount="2" clearcount="1" diecount="0" diepos="0 0" restartcount="1" restartpos="219 -33" />
|
||||||
|
</granny>
|
Loading…
Reference in a new issue