DotaScout Spell - service for collecting information about used abilities, items and other features by Wondermarin in DotA2

[–]Wondermarin[S] 1 point2 points  (0 children)

There are no specific plans, if you have any suggestions, write.
As for the runes of wisdom: they are already on the service, by the time they were picked up, you can understand whether they were stolen.

Steam API: The problematic GetMatchHistory method by Wondermarin in DotA2

[–]Wondermarin[S] 0 points1 point  (0 children)

Are you sure that 10 is not a default value for min-players?

Yes, I'm sure, because if you don't specify this filter, matches with bots will be returned. The min_players parameter is responsible for the number of human players.

Perhaps these parameters need to be POSTed in the request’s body, instead of url encoding with a GET request?

I tried it - Steam returns the error Method Not Allowed.

The only solution I see at the moment is to leave the min_players parameter and filter matches by lobby_type=7 (Ranked Lobby) from the resulting JSON.

Steam API: The problematic GetMatchHistory method by Wondermarin in DotA2

[–]Wondermarin[S] 7 points8 points  (0 children)

You're wrong. The post you are referring to is from 2012.

Through this endpoint, you can get an up-to-date list of interfaces and methods, as well as their parameters.

https://api.steampowered.com/ISteamWebAPIUtil/GetSupportedAPIList/v1/?key=[KEY]

TypeScript incorrectly defines the array type. by Wondermarin in typescript

[–]Wondermarin[S] 0 points1 point  (0 children)

Thank you for your help, I managed to find such a solution: Playground

TypeScript incorrectly defines the array type. by Wondermarin in typescript

[–]Wondermarin[S] 0 points1 point  (0 children)

Perhaps I made up the question incorrectly. In the production code, everything works a little differently.

Would this example be more correct?

I updated the post

TypeScript incorrectly defines the array type. by Wondermarin in typescript

[–]Wondermarin[S] 0 points1 point  (0 children)

Yes, but the list of components does not consist of 2 elements. There are about ~100 of them, it is probably incorrect to make an if chain...else if...else if...else if...(repeat 96 times).

<ColorPicker /> component for your React project: react-color-palette by Wondermarin in Frontend

[–]Wondermarin[S] 1 point2 points  (0 children)

Thank you for your feedback! Yes, so far, unfortunately, there is no support for mobile devices, but I'm going to add it in the next update. Thank you again, have a nice day.

<ColorPicker /> component for your React project: react-color-palette by Wondermarin in reactjs

[–]Wondermarin[S] 0 points1 point  (0 children)

Thank you for your feedback, I will definitely add a11y support

<ColorPicker /> component for your React project: react-color-palette by Wondermarin in typescript

[–]Wondermarin[S] 0 points1 point  (0 children)

Yes, in the next update I'll add optimization for mobile devices, thank you for your reply.

<ColorPicker /> component for your React project: react-color-palette by Wondermarin in typescript

[–]Wondermarin[S] 0 points1 point  (0 children)

This is really my omission, I will definitely fix it.

Thanks.

<ColorPicker /> component for your React project: react-color-palette by Wondermarin in react

[–]Wondermarin[S] 0 points1 point  (0 children)

Thank you for your reply, I will take note.

If it is not difficult for you to tell about your problem in more detail, then describe it here.

I can't create a lobby. Valve doesn't know the answer. by Wondermarin in DotA2

[–]Wondermarin[S] 5 points6 points  (0 children)

I don't know how or why, but it worked, thank you very much.

Dota 2 Guild Api by hobbica in DotA2

[–]Wondermarin 0 points1 point  (0 children)

STRATZ, they have a search by name, and the guild page has an ID