I̶ ̶n̶e̶e̶d̶ ̶t̶o̶ ̶g̶e̶t̶ ̶t̶h̶e̶ ̶a̶s̶s̶e̶t̶ ̶I̶d̶ ̶f̶r̶o̶m̶ ̶t̶h̶e̶ ̶s̶h̶i̶r̶t̶ ̶t̶e̶m̶p̶l̶a̶t̶e̶ ̶I̶d̶ ̶s̶o̶ ̶t̶h̶a̶t̶ ̶I̶ ̶c̶a̶n̶ ̶c̶r̶e̶a̶t̶e̶ ̶a̶n̶ ̶i̶m̶a̶g̶e̶ ̶o̶f̶ ̶t̶h̶e̶ ̶s̶h̶i̶r̶t̶ ̶t̶h̶a̶t̶ ̶a̶ ̶p̶l̶a̶y̶e̶r̶ ̶i̶s̶ ̶c̶u̶r̶r̶e̶n̶t̶l̶y̶ ̶w̶e̶a̶r̶i̶n̶g̶.̶ ̶A̶n̶y̶ ̶i̶d̶e̶a̶s̶ ̶o̶n̶ ̶h̶o̶w̶ ̶t̶o̶ ̶r̶e̶t̶r̶i̶e̶v̶e̶ ̶t̶h̶e̶ ̶a̶s̶s̶e̶t̶ ̶I̶d̶ ̶f̶r̶o̶m̶ ̶t̶h̶e̶ ̶s̶h̶i̶r̶t̶ ̶t̶e̶m̶p̶l̶a̶t̶e̶ ̶i̶d̶?̶

So I desire to do this an ext clear. Ns am spring to acquire the shirt id native a shirt object. However the shirt object only gives you the shirt design template id. I would favor to avoid using HumanoidDescription if possible however if the is no the case then I need to work through what i got. Hopefully this gets rid of things up!

Thanks,Anne


4 Likes
colbert2677 (colbert2677) might 14, 2019, 2:26am #2

Yes.

You are watching: How to find asset id roblox


*

image.png823×407 38.5 KB

https://developer.gimpppa.org.com/api-reference/function/MarketplaceService/GetProductInfo


XAXA (XAXA) may 14, 2019, 2:41am #4

OP is searching for a thumbnail, so that they deserve to use this endpoint come retrieve its image. (At least that’s what ns think lock doing)

e.g.https://www.gimpppa.org.com/asset-thumbnail/image?assetId=1127072005&width=420&height=420&format=png

Is the thumbnail for this shirt:
image.png714×286 82.7 KB

Since OP simply wants to display screen what the player character is wearing, they deserve to just retrieve the legacy id the the personality is wearing straight by analysis the used HumanoidDescription.

-- Assume that this is a manuscript that"s within the player"s character...local Humanoid = script.Parent.Humanoidlocal descriptionClone = Humanoid:GetAppliedDescription()print(descriptionClone.Shirt) -- this is the legacy id the the shirt the the player is wearing.
4 Likes
colbert2677 (colbert2677) might 14, 2019, 2:38am #5
i did not read.

*

image.png850×149 12.3 KB
3 Likes
XAXA (XAXA) might 14, 2019, 2:54am #7
*

image.png943×484 190 KB

Your technique won’t work on this.


1 choose
tbradm (tbradm) may 14, 2019, 3:23am #12

So the reverse, get a shirt ID from an image ID?


XAXA (XAXA) may 14, 2019, 3:32am #13

This is gaining confusing. OP only has this to work-related with (let’s call this the ShirtTemplateId)


*

image.png934×502 203 KB

The ShirtTemplateId is 1127071991

OP wants to acquire the AssetId, i beg your pardon is 1127072005

*
gimpppa.org
*

Official Guava Juice games Shirt

Customize her avatar v the main Guava Juice games Shirt and also millions of other items. Mix & enhance this shirt with various other items to create an avatar that is distinct to you!


How do you acquire from 1127071991 come 1127072005? it’s not feasible without brute-forcing it. Https://assetgame.gimpppa.org.com/asset/?id=1127071991 will obtain the image itself, not an xml.


1 prefer
tbradm (tbradm) may 14, 2019, 3:37am #14

I see. The still possible with a an easy web app, in truth I currently have one on GCP that does precisely this. It works somewhat like you room saying. That takes the together input a ShirtTemplateId. That increments it and uses Marketplace API (except the exterior version) and checks even if it is the heritage is a Shirt. If it is, it offers the technique I mentioned before to request the shirt’s equivalent ShirtTemplateId. If that matches, it returns the present incremented ID. If not, it proceeds incrementing.


XAXA (XAXA) may 14, 2019, 3:39am #15

… that’s brute-forcing it, i m sorry is precise the method I mentioned a couple of posts ago. Brute-forcing has actually some pitfalls that were pointed out in the function request ns mentioned, too. Friend don’t even need to usage an external company for this, simply use GetProductInfo.


tbradm (tbradm) might 14, 2019, 3:39am #16

You never defined how come brute force it, and also you additionally described it together “impossible”. It’s very possible.


XAXA (XAXA) might 14, 2019, 3:41am #17
*
XAXA:

One method is to save subtracting the shirt design template id by 1 till you gain to its heritage id… however this have the right to take a most requests and also the distance in between the layout to the asset id have the right to be huge (there room also much more issues through this, review the function request for an ext info).

Please don’t cherry-pick my wording…


1 like
tbradm (tbradm) may 14, 2019, 3:41am #18

“until you obtain its legacy id”

I assumption: v what was missing is the you never defined how you know when you’ve found the correct ID.


2 Likes
Maxx_J (Maxx_J) respectable 28, 2020, 10:24pm #19

Just thought I’d answer to this thread cause I discovered myself v a comparable problem and managed to uncover a solution. Posting this incase anyone in the future would be wonder the same thing.

local clothing_type = "Shirt" -- or "Pants"local clothing_parent -- define thislocal item_url = clothing_parent:FindFirstChildOfClass(clothing_type)local ItemID = string.match(item_url, "%d+")gimpppa.org (Clothing) asset URL’s come in two variants:

http://www.gimpppa.org.com/asset/?id=4979758466rbxassetid://4979758466the point they have actually in typical is that they both have numbers only at the end. Therefore this an approach would it is in valid.

You could change the string manipulation used to define the ItemID, maybe to check for numbers in a different order, in case you desire to apply this for various other asset types.

See more: How Do You Knock Somebody Out In A Street Fight, How To Knock Someone Out

Although, ns think in ~ that allude there would certainly be far better API accessible to suit your goal.


5 Likes
house Categories FAQ/Guidelines state of organization Privacy plan

Powered by Discourse, best viewed with JavaScript enabled