评论
通关记录: Stunt Cycle
New South Wales, Australiadiggity3 years ago

Are the scores in the wrong order? On the board.

主题: The Site
New South Wales, Australiadiggity3 years ago

Hi all,

I've been writing typescript definitions for speedrun.com's API (https://github.com/speedruncomorg/api) for a few weeks now to make it easier to work with.

Here it is: https://github.com/mitchell-merry/src-ts And here's a project I've written with the types: https://github.com/mitchell-merry/srcom-data-generator (scrapes data & loads it into a google sheets document with certain formatting).

I'd ideally like to contribute this to the DefinitelyTyped types repository (@types, https://github.com/DefinitelyTyped/DefinitelyTyped).

Please, if you're familiar with TypeScript, take a look at the definitions. I'd love to hear any constructive feedback you might have (first time doing this sort of thing), and feel free to contribute to the repo yourself. I'd especially like to hear if I've done anything in a particularly obtuse way / if there are cleaner ways to do certain things, or if I've not followed certain best practices.

Thanks!

Edit: I should note that there is no support for bulk access and requests other than GET for now.

RaggedDan, Oxknifer 2 其他 喜欢这个
通关记录: Will You Snail?
New South Wales, Australiadiggity3 years ago

GG!!

Kiiro_ 喜欢这个
通关记录: Will You Snail?
New South Wales, Australiadiggity3 years ago

DAMN STRAIGHT THATS MY GUY LFGGGGG

enmysune 喜欢这个
主题: Speedrunning
New South Wales, Australiadiggity3 years ago

Will You Snail is constant platforming and 20 minutes is the average run. 14-15 at the top end

主题: Supporter
New South Wales, Australiadiggity3 years ago

Seems to be fixed, thanks.

主题: Supporter
New South Wales, Australiadiggity3 years ago

Shoot, I hate to spam, but I like how in the way it's setup, the featured run gets replaced if I beat the time. Saves me having to update that manually.

Lyren 喜欢这个
主题: Supporter
New South Wales, Australiadiggity3 years ago

Add https://www.speedrun.com/avp2#Predator to the list of games with more than one boost

Ecgtheow Lyren 喜欢这个
主题: Supporter
New South Wales, Australiadiggity3 years ago

I guess the note above "Other suggestions: A thing that connects your social media, so like you get a "supporter" role in the SRC discord" reminded me; will this be something visible in the API? Including who boosts a board - could make a bot give roles to people who boost the board of a community, similar to the Server Booster role for discord.

SuperGamer64 喜欢这个
主题: Supporter
New South Wales, Australiadiggity3 years ago

I agree^ I think the table way has its flaws for multiple runs of the same level/category with different subcategories, in that you can't tell which trophy corresponded to which, and that it only showed one time. That can't stay imo. Not sure how you'd recitfy that.

I think the level runs should at least (if this new layout is chosen) stay in order of the levels, rather than chronologically, because this is a tad confusing: https://i.imgur.com/Me7BFTi.png

So it'd look like this instead: https://i.imgur.com/NKxEsTV.png (Side note, i have no idea why Normal is repeated in Level 2, that might be an internal issue in the game though)

Maybe you could have the runs broken up by level, and then have all subsequent categories underneath (also ordered as they appear in the category list), so instead you'd have something like this: https://i.imgur.com/0YKpwAl.png (Looks bad because I'm just re-using existing classes and such to demonstrate)

Edit: Additionally this blue text I would prefer linking to the category rather than the run: https://i.imgur.com/Yz4JpZZ.png

主题: Supporter
New South Wales, Australiadiggity3 years ago

I see, I see, the number thing is probably good then (as an addition, i'd still use both).

Here's what I was imagining: https://i.imgur.com/m2MyUul.png (text says "Custom", "1"/"2"/"3","4","5", and "Unordered (Chrono/Alpha)" in order)

You could set the default ordering of games as chronological/alpha (bottom section), and then you could pick out games individually and set their number in the top of the custom section? Or you could just have some setting that places them in custom, from which you could drag + drop... idk. In this scenario the custom ordered games would always come before the unordered ones (maybe this is a negative).

I imagine in the scenario I've proposed, when you run a new game, it automatically gets sorted into the unordered section depending on what your setting is (same as if you have chronological selected & you run an old game, it'd get pushed to the top of chronological, but not above custom ordered games).

Main idea is splitting it into two sections of custom/default ordering. That way I don't feel overwhelmed ordering 30 games, I can just place the top 5-10 that I like near the top (probably what i would do anyways). I also really like the collecting games into groups suggestion you mentioned somewhere else.

dha, VyPr 3 其他 喜欢这个
主题: Supporter
New South Wales, Australiadiggity3 years ago

I doubt that it'd be brought here in the first place if it was meant to be secret, especially since beta features would probably be visible on the site to people, like in our user profiles.

主题: Supporter
New South Wales, Australiadiggity3 years ago

That's a really good idea. I'd group all the indie horrors I've run, and all the platformers into separate sections. Definitely would use a feature like that.

主题: Supporter
New South Wales, Australiadiggity3 years ago

Yeah, when you have a beta feature enabled this change is also enabled

I didn't notice the level leaderboard also changed to look like this - i definitely think that this way looks worse, the table format makes more sense imo

whore Adamo 喜欢这个
主题: Supporter
New South Wales, Australiadiggity3 years ago

"Frankly, Pac sat on this silly system of using the description/comment field for additional parts for far too long, and I'm sort of surprised this still hasn't been touched upon." 100% agree, causes issues when dealing with the API as well as it tries to automatically detect extra video links in the description, even if they aren't apart of the run.

On boosting, I'd rather be able to boost specific people rather than random people on a board.

SuperGamer64, Ivory 2 其他 喜欢这个
主题: Supporter
New South Wales, Australiadiggity3 years ago

If you're going to revamp the system, imo just use the intuitive option for drag/drop. It would be very appreciated in the long run for sure.

YUMmy_Bacon5 喜欢这个
主题: Supporter
New South Wales, Australiadiggity3 years ago

Yeah, before I use this I'll need drag & drop since I've got >30 games on my profile probably.

I'd like the ability to hide games from your profile entirely, especially if they cause performance issues (or maybe you're just not proud of the runs you submitted for a game, e.g. I've got about 300 runs in Seterra and I don't want them sitting on the profile & being loaded).

The word "run" is always pluralised even if you have only 1 run in the game.

And if the game titles on this page could have links to their leaderboard, I think it'd be a nice addition.

Meta 喜欢这个
主题: Supporter
New South Wales, Australiadiggity3 years ago

Actually, since this seems to be the place to talk about the way the runs look on the profile now: https://i.imgur.com/mAhuR93.png Runs without subcategories/variables look empty, especially if you only have on run on the game and when they are consecutive. It also gives the illusion that the left and right text is misaligned, since the game name and right stats are on different levels. I don't know, that just looks weird to me.

zir0nic, Ivory 3 其他 喜欢这个
主题: Supporter
New South Wales, Australiadiggity3 years ago

My first impressions of this are pretty positive!

SuperGamer64 喜欢这个
diggity的介绍
加入时间
7 years ago
在线
1 day ago
记录
1127
已玩过的游戏
Seterra (Old Version)
Seterra (Old Version)
最近一次游戏记录 4 years ago
345
记录
Cuphead
Cuphead
最近一次游戏记录 4 years ago
88
记录
Mr. Bree - Returning Home
Mr. Bree - Returning Home
最近一次游戏记录 4 years ago
79
记录
I Am Your Beast
I Am Your Beast
最近一次游戏记录 2 days ago
64
记录
Aliens versus Predator 2
Aliens versus Predator 2
最近一次游戏记录 2 years ago
51
记录
Hot Wheels: World's Best Driver
Hot Wheels: World's Best Driver
最近一次游戏记录 2 years ago
46
记录
Will You Snail?
Will You Snail?
最近一次游戏记录 3 years ago
43
记录
Poly Bridge 2
Poly Bridge 2
最近一次游戏记录 4 years ago
34
记录
关注的游戏
Dismantled
Dismantled
最近一次访问时间 4 months ago
5
次访问
Snap the Sentinel (Demo)
Snap the Sentinel (Demo)
最近一次访问时间 2 months ago
7
次访问
Luna Abyss (Demo)
Luna Abyss (Demo)
最近一次访问时间 1 year ago
8
次访问
The Last Faith
The Last Faith
最近一次访问时间 2 months ago
16
次访问
Tasty Ramen
Tasty Ramen
最近一次访问时间 1 year ago
87
次访问
Getting Ready For Bed
Getting Ready For Bed
最近一次访问时间 1 year ago
209
次访问
Aliens versus Predator 2
Aliens versus Predator 2
最近一次访问时间 2 months ago
953
次访问
Scars Above
Scars Above
最近一次访问时间 2 months ago
76
次访问
负责管理的游戏
Aliens versus Predator 2
Aliens versus Predator 2
最近一次操作 2 months ago
85
操作
In Sound Mind
In Sound Mind
最近一次操作 8 months ago
51
操作
Hot Wheels: World's Best Driver
Hot Wheels: World's Best Driver
最近一次操作 2 years ago
42
操作
MEATGRINDER
MEATGRINDER
最近一次操作 8 months ago
7
操作
BL0W-UP Demo
BL0W-UP Demo
最近一次操作 1 year ago
7
操作
ROBOBEAT
ROBOBEAT
最近一次操作 4 months ago
6
操作
Snap the Sentinel (Demo)
Snap the Sentinel (Demo)
最近一次操作 1 year ago
4
操作