lostdecade / onslaught_arena

Fight off hordes of classic medieval monsters in this fast paced arcade shooter!
http://arcade.lostdecadegames.com/onslaught_arena/
195 stars 65 forks source link

Record more stats #176

Closed richtaur closed 13 years ago

richtaur commented 14 years ago

We can easily send more data along with the high scores. Something like this should do:

meta_data = db.StringProperty(multiline = False) # Stores a JSON string

Here are some ideas for interesting data to track:

geoffb commented 13 years ago

72537534784b73f87b0b6190b9b9ec3cb8b33f9d

The game sends more meta data to the server along with the high score.

The data is stored in the "m" parameter and is XOR encrypted just like the score itself.

The unencrypted result is a JSON string containing:

Kicking over to Matt for the server side work.

richtaur commented 13 years ago

sorry about the changes but this closed by 0384d47268de95be6db404c11c93fb619a32694f

richtaur commented 13 years ago

We could probably stand to send less data, as there's a TON of shit sent along that we don't need or want like spawnFrameBla, moveChangeElapsed, deathFrameBla, etc. We can address it later if the DB or bandwidth becomes an issue.