I want to collect statistics from an RPG game. This data should be stored in one place, online, so I can analyse it later.
Example of events -
So the question is : what is the best way, with minimum effort, to implement this functionality ?
I understand that I will have anyway to implement message sending functionality on the game's side.
I know that this can be implemented using Amazon SQS, but this doesn't seem to be the easiest way.
Idealy - it should be like that : I just send data from game, in form of messages. After that - I can retrieve the data from cloud storage and parse/analyze it.
PS I don't want a server at home
根据您要编写游戏的平台,但我使用了Flurry Analitica,它适用于我的手机游戏,如Flurry Analitics
If you don't want to use an existing service, you can build a simple webapp & receive events by REST urls.
Example:
http://my.statistics.server/achieve?player=123&category=456&level=789
http://my.statistics.server/win?player=123&score=12345
You could also packet the events up & append a keyed hash, if you want to make falsification a bit more difficult.
Example:
http://my.statistics.server/record?packet=<base64 data..., plus HMAC>
See:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.