Global statistics

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6711
Joined: Thu Dec 18, 2003 7:03 pm

Re: Global statistics

Post by Tank Program »

epsy wrote:What has to be changed?
When called as version 0.2, armaauth needs to generate a session key and return it on a new line after the password_ok line. It also needs to support query=stats when the data is a http post in the following format:

Code: Select all

server key
config key
player name
player session key
values to add
player name
etc
It would then need to load that into a table in the database. Or shove it into the table that has the user logins. And I've just realized there's at least one bug. I forgot to have the server tell which category of stats it's sending. Oops. I think a simple &type=XXX in the request will do it though.
Image
Post Reply