ekgame / osu-client-api-concept Goto Github PK
View Code? Open in Web Editor NEWA concept for osu! client API for third party desktop applications.
License: GNU General Public License v3.0
A concept for osu! client API for third party desktop applications.
License: GNU General Public License v3.0
I was thinking that its probably a good idea to have the tcp-socket listen on the localhost interface so other devices in the network cannot connect to it. But I can also think of reasons why some (me Kappa) might want other devices (like my server thats on the same network as my pc) to connect to it
osu! should store
md5("HHWnH0XpdWzej7Ir") = "0652e041caf727f4f1a6127fe012c3f0
" for later authentication.
In practice, we should probably hash it differently depending on the needs of the API
Add an argument to the Client->Server authentication request: "scope": "user"/"client"
which determines whether the program wishes to have access to the client for all users or just the current one. Then salt the application token with the username (if it's just for the current user) or with nothing for all users.
Protecting users that use shared computers. For example, I've seen users log into osu! at internet cafes. If someone has granted full permissions to that computer for their malware program, it has access to anyone that will log into that computer.
Atm the notification-request does not have a response.
IMO every request should result in a response so you know your request has been accepted.
Theoretically if you dont have a response you still could be waiting for that error-response
I just suddenly had a random idea: get realtime stats while playing (or speccing), like current score, combo, time in song, idk, maybe even amount of 300/100/50/misses so far, idk.
Problem i imediately see is it'll be probably quite spammy since its a constant stream of updates, maybe even like hundreds of messages per second idk... So im feeling its probably not a good idea to have this with the current json-messages thing.. idk
Use case i was thinking of: playing with score-interface stuff disabled, but still having the score-related stuff showing on stream in stream-overlay.
Picking port numbers can be arbitrary. As long as it's not in the Windows reserved range (0-1024), then we could really choose whatever we pleased. So I have come up with a list of suggestions.
Take the ASCII values for a bunch of words and prepend a 1 to it:
According to this list, none of them are currently being used by any games. And according to this list, none of them are currently "reserved" by any programs.
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.