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 want to make this more clear. I am looking to gain the shirt id from a shirt object. However before the shirt object just gives you the shirt theme id. I would certainly choose to protect against utilizing HumanoidDescription if feasible yet if that is not the instance then I have to occupational through what I obtained. Hopefully this clears things up!

Thanks,Anne


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

Yes.

You are watching: How to find asset id roblox


*

picture.png823×407 38.5 KB

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


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

OP is in search of a thumbnail, so that they deserve to use this endsuggest to retrieve its image. (At leastern that’s what I think they’re doing)

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

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

Since OP simply desires to display screen what the player character is wearing, they have the right to simply retrieve the ascollection id that the character is wearing directly by reading the used HumanoidDescription.

-- Assume that this is a script that"s inside the player"s character...neighborhood Humanoid = script.Parent.Humanoidregional descriptionClone = Humanoid:GetAppliedDescription()print(descriptionClone.Shirt) -- this is the ascollection id of the shirt that the player is wearing.
4 Likes
colbert2677 (colbert2677) May 14, 2019, 2:38am #5
I did not read.

*

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

image.png943×484 190 KB

Your strategy won’t job-related on this.


1 Like
tbradm (tbradm) May 14, 2019, 3:23am #12

So the reverse, gain a Shirt ID from an Image ID?


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

This is getting confutilizing. OP only has actually this to work via (let’s contact this the ShirtTemplateId)


*

photo.png934×502 203 KB

The ShirtTemplateId is 1127071991

OP wants to acquire the AssetId, which is 1127072005

*
tennis2007.org
*

Official Guava Juice Gamings Shirt

Customize your avatar with the Official Guava Juice Games Shirt and also countless other items. Mix & complement this shirt via various other items to develop an avatar that is distinct to you!


How carry out you gain from 1127071991 to 1127072005? It’s not possible without brute-forcing it. https://assetgame.tennis2007.org.com/asset/?id=1127071991 will gain the picture itself, not an xml.


1 Like
tbradm (tbradm) May 14, 2019, 3:37am #14

I check out. It’s still feasible through a simple web application, in fact I already have one on GCP that does exactly this. It works somewhat prefer you are saying. It takes the as input a ShirtTemplateId. It increments it and supplies Marketarea API (other than the external version) and also checks whether the ascollection is a Shirt. If it is, it supplies the approach I discussed prior to to request that shirt’s matching ShirtTemplateId. If it matches, it retransforms the current incremented ID. If not, it continues incrementing.


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

… That’s brute-forcing it, which is literally the technique I discussed a couple of short articles ago. Brute-forcing has some pitfalls that were discussed in the function repursuit I pointed out, as well. You don’t also must use an outside business for this, just use GetProductInfo.


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

You never described how to brute pressure it, and you also described it as “impossible”. It’s very feasible.


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

One method is to keep subtracting the shirt template id by 1 until you obtain to its asset id… But this can take many researches and the distance between the theme to the asset id can be big (there are likewise even more worries with this, read the attribute repursuit for even more info).

Please don’t cherry-pick my wording…


1 Like
tbradm (tbradm) May 14, 2019, 3:41am #18

“till you obtain its ascollection id”

I guess what was missing is that you never defined how you understand as soon as you’ve found the correct ID.


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

Just believed I’d reply to this thread cause I uncovered myself via a similar trouble and regulated to find a solution. Posting this ininstance anyone later would certainly be wondering the same thing.

regional clothing_kind = "Shirt" -- or "Pants"neighborhood clothing_parent -- define thislocal item_url = clothing_parent:FindFirstChildOfClass(clothing_type)local ItemID = string.match(item_url, "%d+")tennis2007.org (Clothing) Ascollection URL’s come in 2 variants:

http://www.tennis2007.org.com/asset/?id=4979758466rbxassetid://4979758466the thing they have actually in common is that they both have numbers only at the end. So this method would be valid.

You can adjust the string manipulation provided to define the ItemID, perhaps to examine for numbers in a different order, in situation you desire to apply this for various other asset forms.

See more: How Long Can Bees Live Without Food, How Long Do Bees Live Without A Hive

Although, I think at that allude tright here would be much better API obtainable to suit your goal.


5 Likes
Home Categories FAQ/Guidelines Terms of Service Privacy Policy

Powered by Discourse, finest viewed via JavaScript enabled