How Do I Go On To Making A Working in game catalog with HTML

I want to make a in game catalog kinda like Roblox High school. I was looking all around and nothing pops up for how to do it. Its all get this model. My question is how would I be doing this and if you have found any tutorials for it that I couldn’t find. Thanks

2 Likes

This really depends on how much your catalog matters. You don’t necessarily have to use HTML, although you could try using a bot which looks at the HTML of the page.
My Catalog Is The Point Of My Game
In that case, you could use a for i loop to loop through the id’s in the catalog form 0 to 999999999, then try to upload it.
My Catalog is Cheap
Then just have the player type in the ID and try to upload it.

EDIT: It must be possible because of the “Design” games and EZ Insert Catalog plugins.

3 Likes

You need to use the Roblox catalog search api found here. However, you are unable to call GET requests on this link (or any Roblox link as far as I’m aware) via HTTPService. You would need to use a proxy, tutorial on creating a proxy using Heroku here (not the only method).

So, step by step:

  • Set up proxy
  • Set up a server script to handle client remote events to call GET requests on the aforementioned links using the parameters they require e.g. hats etc
  • To save on HTTP calls (limitations of HTTPService found here) you should cache these results so you can send it to other players when they request it (again)
  • Set up a local script to fire a remote event/function to get the data from the server script (as described above), then parse that JSON data to display this information as a UI (you can display the items through the ViewportFrame, or my preference, which is by using the asset id from the JSON data to get the image from RBLX)
  • That local script should then fire a remote event once more to request the server to change the outfit
  • Outfit changes on server-side can either be achieved via HumanoidDescription or through InsertService

Not sure how Robloxian Highschool does it, but if you want live access to the catalog then that’s the only way to do it currently. However, to save on data (useful for mobile games) and to not have to mess around with HTTP requests, you could either:

  1. Create a script to crawl through the Catalog API to get items you want and in what category, and save that JSON as a ModuleScript that the server script I mentioned above can access when needed

OR

  1. Load in any assets you want via whatever method you wish e.g. toolbox or inserting via InsertService, saving them to ReplicatedStorage, and then accessing them when you wish via the Server/Client
6 Likes