CommunityDragon / Data

A place for keeping and discussing additional data we plan to provide through CDragon.
43 stars 12 forks source link

Chroma color names? #16

Open 5z3f opened 5 years ago

5z3f commented 5 years ago

Hello, I don't know if im asking in right repo but lets try I'm trying to get chroma color names which are not available in the store, e.g. 121015 For available ones I using this endpoint

POST /lol-purchase-widget/v1/validateItems
{"items":[{"itemKey":{"itemId":CHROMA_ID,"inventoryType":"CHAMPION_SKIN"},"quantity":1}]}

I've unpacked Global.{locale}.wad.client as well but I couldn't find strings related to chroma colors. Do you have any idea how I can get this data on the client side?

stelar7 commented 5 years ago

The info about the skins can be found in the game wads; but i dont remember seeing anything about the names.. (ill check more in a few hours)


  "id": 121015,
  "name": "Championship Kha'Zix",
  "chromaPath": "/lol-game-data/assets/v1/champion-chroma-images/121/121015.png",
  "colors": [
    "#DF9117",
    "#27211C"
  ],
  "descriptions": [
    {
      "region": "riot",
      "description": "This chroma was released for sale during 2018 to support Fnatic during Worlds."
    }
  ],
  "rarities": [
    {
      "region": "riot",
      "rarity": 1
    }
  ]
}```
5z3f commented 5 years ago

Thank you for your response! Yes I know that, still trying to figure out where chroma color names are located I have reversed whole client including ssl/cef/curl calls tracking but I really couldn't find anything related to chroma colors except these two endpoints...

POST /lol-purchase-widget/v1/validateItems
{"items":[{"itemKey":{"itemId":CHROMA_ID,"inventoryType":"CHAMPION_SKIN"},"quantity":1}]}

GET /lol-store/v1/skins/CHROMA_ID/

Do I have missed something or is it server side located?

And the name ruling is weird, for example all available in-store "Citrine" skins for the latest 9.1 branch:

Skins ``` Brolaf (Citrine) #DF9117 Birdio (Citrine) #DF9117 Cosmic Defender Xin Zhao (Citrine) #DF9117 Praetorian Fiddlesticks (Citrine) #DF9117 Moo Cow Alistar (Citrine) #DF9117 Omega Squad Tristana (Citrine) #DF9117 Arcade Miss Fortune (Citrine) #BC7E11 #2298CA Surprise Party Amumu (Citrine) #DF9117 Pool Party Gangplank (Citrine) #DF9117 Arcade Corki (Citrine) #DF9117 Battle Boss Blitzcrank (Citrine) #DF9117 #E99117 Mecha Malphite (Citrine) #DF9117 Meowkai (Citrine) #DF9117 Pug'Maw (Citrine) #DF9117 Popstar Ahri (Citrine) #DF9117 Pool Party Graves (Citrine) #E99117 Praetorian Graves (Citrine) #DF9117 Mecha Rengar (Citrine) #DF9117 Pool Party Fiora (Citrine) #DF9117 Pool Party Lulu (Citrine) #DF9117 Dunkmaster Darius (Citrine) #DF9117 Mafia Braum (Citrine) #DF9117 Firecracker Jinx (Citrine) #DF9117 Sandstorm Ekko (Citrine) #DF9117 ```
J-EnJay commented 1 year ago

https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/skins.json