Deck is an api/score server, designed for every osu! client (2007-2024).
Please view this repository for setup instructions!
Everything has been pretty much completed. You can view the leftover todo's for the project here.
Client API server for osu! stable clients
License: MIT License
Deck is an api/score server, designed for every osu! client (2007-2024).
Please view this repository for setup instructions!
Everything has been pretty much completed. You can view the leftover todo's for the project here.
Currently, beatmap highlight messages get sent, even when the score is not on the leaderboards. However, this should be a simple fix.
I decided to make a common folder for sharing python code between bancho and the score server. You can view that repository here.
This common folder is currently only present in the new bancho rewrite, and I am planning to migrate this folder to the score server when the rewrite is finished.
@Digitalfear117 has made a name for himself in the discord due to his modded osu! client, which includes a feature from b20121003shine.test - The Benchmark. His idea was to create a separate leaderboard using the data from the results screen.
After some more investigation of the code, I found out that the filesize_novideo attribute is always sent by the server no matter what. That also explains why the difficulties are messed up on the client side.
Should be nothing more than parsing the compressed replay, and checking its frame length
Older clients have an issue where avatars are not downscaled correctly. This should be pretty easy to implement, since I have added a way to resize avatars through width and height parameters.
For osu!direct to work properly, I need to make some changes to the database so that beatmaps include attributes like:
The query string will be important for searching, which is maybe not the best practice, but it works.
Replays never get deleted… this may not be a problem at the moment, but I should consider fixing that in the future.
Some maps seem to give people accuracies higher than 100%, which is not what we want.
I recently tried to play osu! on my 11 year-old laptop with wine, and it was not a great experience. In the middle of submitting my score, I got banned. Why?
It turns out that if the audio timing calculation fails in any way, the client will detect it as a speed hack and submits this flag to the next score submission.
The code of that looks something like this:
if (Math.Abs((float)(AudioEngine.Time - this.audioCheckTime) * (1f / num3) - (float)(GameBase.Time - this.audioCheckTimeComp)) > 60f)
{
int num4 = this.audioCheckCount + 1;
this.audioCheckCount = num4;
if (num4 > 5)
{
NotificationManager.ShowMessage("There was an error during timing calculations. If you continue to get this error, please update your AUDIO/SOUND CARD drivers! Your score will not be submitted for this play.");
Player.currentScore.AllowSubmission = false;
GameBase.Scheduler.Add(delegate
{
Player.flag |= BadFlags.SpeedHackDetected;
}, 200, false);
this.audioCheckCount = -500;
}
}
else
{
this.audioCheckCount = 0;
}
If this error occurs to any of my playtesters, I will try to fix it.
According to one of our playtesters:
"I have one silver SS but the server reports 0 (instead I have one more normal SS than intended)"
...
"?"
"I have 5 Gold SS and 2 Silver SS"
"Now it says I have 6 gold SS and 0 Silver SS"
"The new Silver SS I set without overwriting got vanished"
"The old gold SS I overwrote to silver.. Simply didn't convert to silver."
Add a user group, that skips the score submission validation checks
If a server error/exception occurs, the client will get a response with "Server error. Please try again.". This shouldn't happen too often, but it is definitely annoying when it does happen.
My plan instead is to retry the query for x amount of times, before a server error is returned.
The score submission currently does not include an anti-cheat. I have played around with circleguard in the past, but I removed it because it often lead to false-positives. However I have plans to fix that and want to implement it again sometime.
The current score submission code is a huge mess and I want to refactor it...
Achievements missing:
I personally don't like the way that circleguard reports are implemented right now. My idea is to add a separate table for it, instead of crushing it inside the logs table. The same goes for the !report
command.
Some newer clients, such as b2013815, require the bancho_connect.php endpoint to connect to bancho. Well... they do not really require it, but the login can take a while, if the endpoint is not there.
After some investigation of the code, I found out that the endpoint just returns a normal ipv4 address, that the client will parse and connect to. The response can also be just empty, so that the client can use the normal hardcoded ip to connect.
Currently, the /osu-screenshot.php
and /osu-ss.php
endpoints accept any kind of file that is being uploaded to them. This can result to images that are too large, or invalid file/image formats.
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.