osuBancho
osuBancho copied to clipboard
Started implementing score functionality
I am starting to implement the score functions (GetScores, Submit Scores etc) If you plan on merging these builds please give credit, it would help alot <3<3<3
It looks good, but as I commented at the source, in my point of view, this is not advisable because it would increase the number of requests received by Bancho, but as it does not seem to be a very big problem, and scores in bancho seems a good idea for when the person does not have an apache, I will merge, but I prefer to wait a little more to merge, as it still does nothing.
I can understand, just felt like already putting this here for the future. If you want me to do anything (if you're too lazy or don't understand it) go ahead and tell me about it
I'm too lazy to make a list of friends, if you do it would help :v
This problem that you mentioned in commit can be because you isn't setting the id in the response, and I had not noticed before, but you can get the parameters just using context.Request.QueryString, no need to split at all.
Oh wow I'm an idiot. Also which ID do you mean?
beatmapId, but you it put then took so I guess it's not that..
This is an old code that i used to test (in php)
2|false|648339|<?php echo $mapid; ?>|0
0
[bold:0,size:20]Artista|Titulo
9.19141
149646854|<?php echo $username; ?>|9883498|528|192|4|524|0|2|84|1|24|<?php echo $userid; ?>|1|1440523252|1
149646854|<?php echo $username; ?>|9883498|528|192|4|524|0|2|84|1|24|<?php echo $userid; ?>|1|1440523252|1
As you see, it is necessary to have 2 score or one white line and an score
http://i.imgur.com/KGC1Wrf.jpg Ahahaha, wow. The dual score sending worked now. ´That took long xD. Thanks!
do you perhaps have the code to decrypt AES that actually works? mine doesnt work and i cant figure out why
No, but it is not difficult to make with the help of google .. I can try to help if you provide the code used
If you do not have a score on the map, the first score line should be empty.
yeah i got that. sending /n is good for that i am not working on this anymore, cant get aes to work and im too lazy to figure it out.
It should be something like this: http://pastebin.com/D19G5sWC
most likely with rj.BlockSize = 256;
Update: Submitting Scores and Getting them works flawlessly now. (time is a little messed up, but meh fair enough) (also if being forked pls give me credits)
Nice, I'll get a better look in the commits later.