ГРУПА STEAM
S.T Community s.tools
ГРУПА STEAM
S.T Community s.tools
530
У ГРІ
2,839
У МЕРЕЖІ
Заснована
16 серпня 2015 р.
Steps forward from Mosaticon outage.
If steam really has permanently blocked your servers, release the source code so others can host it or just use it personally. This would be much better than just letting it rot after dying.
< >
Показані коментарі 110 із 10
Honestly, mosaticon is probably the easiest one to fix given that the majority of the code is on the frontend, and it's fairly opensource as it is since I don't minify the code, but you can also see it here:

https://github.com/SteamTools/steamtools.github.io/tree/master/mosaticon

All the backend does there is fetch your inventory. I think I can come up with a hacky solution here, which requires you to load your own inventory and paste it into a textbox. This will solve most issues with very large inventories too hopefully.

I made the change, can you test it and let me know how well it works?

https://steam.tools/mosaticon/

(may need to do a few full cacheless refresh to get the latest version)
Цитата допису P:
Honestly, mosaticon is probably the easiest one to fix given that the majority of the code is on the frontend, and it's fairly opensource as it is since I don't minify the code, but you can also see it here:

https://github.com/SteamTools/steamtools.github.io/tree/master/mosaticon

All the backend does there is fetch your inventory. I think I can come up with a hacky solution here, which requires you to load your own inventory and paste it into a textbox. This will solve most issues with very large inventories too hopefully.

I made the change, can you test it and let me know how well it works?

https://steam.tools/mosaticon/

(may need to do a few full cacheless refresh to get the latest version)

Ahaha I like the way you think, you might wanna specify pasting the 'raw data' though. When you paste the link to the API in the browser it displays the JSON content first, might confuse some people when it doesn't work because they did ctrl+a on the JSON data and not the list output from the raw data tab. Works well though.

Edit: I was thinking too, is there any way you can get the user to make the request themselves on behalf of the website (not manually, part of the fetch emoticons function), that way the traffic won't be coming from your domain, but from the user's IP? Might be a workaround to the blocking of domains if it's possible at all; also saves the user like 10 seconds of extra effort pasting a url into a new tab and pasting the content back into the site.
Автор останньої редакції: cofy lovr; 21 листоп. 2022 о 22:59
> ctrl+a on the JSON data and not the list output from the raw data tab

I think you have "Json Formatter" extension installed :P I do too, but that's not default. By default chrome shows the raw output.

> is there any way you can get the user to make the request themselves on behalf of the website

No, browsers intentionally don't allow that because it would be a huge privacy and security risk. Well, it is doable if the given website (steam) allows it, but they don't. If you're interested to learn more about it, read up on:
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

Technically, one way around automating it would be through a chrome extension, things like SteamDB use it. But it's a bit heavy handed and not sure how many people would install an extension to use steamtools
Extension for steam.tools to get it finally working before Winter comes? Please give if there isn't a realistic alternative of running the whole code on client side.
> Type my SteamID
> "Click link and paste contents"
> Crtl - a -> ctrl - c -> ctrl - v
> Processing..
> 6 emoticons loaded....

Those 6 emoticons that load are the basic ones Steam gives out I believe.

My profile is set all public
And I have 3.5k+ Emoticons
Автор останньої редакції: ᲼⁧⁧Smokey; 24 листоп. 2022 о 12:17
whats the link the website gives you?
I see, you have more than 5000 items, which is the limit per page, so you need to keep doing this for every 5000 items. I implement support for multiple pages, but I also added a feature that will store the loaded emotes in the browser so next time you load the page you don't have to redo it (unless you have new emotes, which then you have to reload your profile manually.

It's not great but at least it works
Цитата допису P:
It's not great but at least it works

:u: Tried out the fix and am can now successfully use Mosaticon. Very glad I can use this tool again :u:
Цитата допису P:
It's not great but at least it works
If you have no other solutions then do the same to Steam Item Value Sorter. At least it works.
< >
Показані коментарі 110 із 10
На сторінку: 1530 50