- ๐ค Cyber security scientist at TNO.
- ๐ซ [email protected]
stfwn / savage-metaserver Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
{"clan_id": 0, "user_id": 0}
or something along those lines
/v1/clan/invite
/v1/clan/accept-invite
/v1/clan/invites
)/v1/user/clan-invites
)Also allow rgbwkycm
, e.g. ^c
Per IP
Tags should be 4 characters not including color specifiers
example reg post:
{
"host_name": "108.65.103.19",
"display_name": "Bigs Lab",
"description": "Test Server Please Ignore",
"game_type": "RTSS",
"max_player_count": 64
}
https://api.community-server.info/metaserver/v1/server/register
Need a mechanic so that a user can prove to a third party that they are registered with the meta server.
I'm thinking the following:
POST /v1/match/create
without any additional info. This creates a Match
row in the database with a globally unique id
and an autofilled property started
. The game server receives, in response: {'id': <some_int>, 'token': <some_secret_token>}
.POST /v1/match/update
with the id, secret token and the info about the match we want to track (TBD). These updates will be stored in a separate table MatchUpdate
, which Match
has a one-to-many relationship with. The final call to /v1/match/update
will include something like {'ended': True}
.
ended
event allows the Metaserver to process awards, and closes the Match
to further MatchUpdate
s. There will be a cronjob that periodically cleans up old matches that were never marked as closed.Match
and a MatchUpdate
allows a reconstruction of each match. The granularity of the reconstruction depends on the frequency of updates.GET /v1/match/by-id
returns the Match
object and all of its MatchUpdate
s (in chronological order).GET /v1/match/by-server-id
returns all Match
objects with their MatchUpdate
s in pages of 50 matches or so.Need an endpoint that validates that a user is in a given clan, without auth if possible
{
"user_id": x,
"clan_id": y
}
Of ~1 second.
I've noticed issue 19 about stats tracking, but it seems to focus on tracking match stats (which is super useful too!).
Will the metaserver support player stats ? Is it something you would accept PR's for, tweaking the database to support it on a per-user basis?
Should just go through the db.
to upload a new icon
Probably Alembic or Yoyo.
For users, for clans, etc.
/v1/clan/for-user/by-id
Poor Whtie Wolves :(
please!
To avoid confusion and accidental doxxing.
clan/update-rank used as "ownership transfer" doesn't work intuitively- it does not demote the person transferring ownership to admin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.