Data icon indicating copy to clipboard operation
Data copied to clipboard

Chroma color names?

Open 5z3f opened this issue 7 years ago • 3 comments

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?

5z3f avatar Jan 08 '19 04:01 5z3f

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
    }
  ]
}```

stelar7 avatar Jan 09 '19 13:01 stelar7

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

5z3f avatar Jan 09 '19 23:01 5z3f

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

J-EnJay avatar Oct 19 '22 03:10 J-EnJay