-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dissect clothes and colours from figurestring #36
Comments
Regarding the Structure of the figurestrings: Some figurestrings look like this: They end with a "-" char. Do you think habbo is truncating it while using the API or is that just how some figureStrings end? Looks like there is something missing... the second number like with the other parts of the string. |
What the |
From top to botHead Face Chest Waist Legs Shoes |
The last number would indeed indicate color. The meaning of the shortcodes is as Davy mentions, Habbo then calls these categories as follows: {
"ca": "Jewelry",
"cc": "Jackets",
"ch": "Shirts",
"cp": "Prints",
"ea": "Goggles",
"fa": "Masks",
"ha": "Hats",
"hd": "Face & Body",
"he": "Accessories",
"hr": "Hair",
"lg": "Trousers",
"sh": "Shoes",
"wa": "Belts"
} In another project of mine I have created this feature request partly. It's not fully feature-rich and it doesn't deal with colours at all (although I guess it could): https://github.com/gerbenjacobs/habbowidgets-language/tree/master/clothes |
Thanks for you input, I think thats actually very helpful and I guess that item does indeed not have a color. https://www.habbo.com/habbo-imaging/avatarimage?size=l&figure=ch-3342-75-75.lg-3526-80.sh-3524-64-1408.ca-1813&direction=2&head_direction=2 @gerbenjacobs Since the data, which item has which number, is not available through the Habbo API, do you mind sharing how you retrieve that data for HabboWidgets? |
Yep it's in the script: https://github.com/gerbenjacobs/habbowidgets-language/blob/master/clothes/extracter.php |
It would be nice if we could make a static resource of the clothing items and their colours from the figurestring 'codes'.
sh-905-1408
means shoes of type '905' with colour '1408'. If this could become:One of the ideas is that you can then start searching for people who are wearing a special kind of shirt.
The text was updated successfully, but these errors were encountered: