Add chat_link field to /v2/items#95
Conversation
|
Oh, pregenerated chatcodes for the lazy - isn't that a bit over the top? :D |
|
Chat codes are weird, and the less bit-fiddling people need to understand to get access to them the better. Barking up the wrong tree for changes to game support though, sorry. |
There are 10 kinds of people: those who understand binary and those who don't! (€: syntax error) (Anyway, fair enough, doesn't hurt |
|
Also some other things appear to have acquired chat links.
|
|
Does a separate endpoint for chat links sound like a good idea?
Examples
Considering that people still need to fiddle with bits to get any sort of customization for their chat links. |
|
@StevenLiekens This is more of a remote procedure call (RPC): you're giving the server item parameters and it does the calculating for you. There's no way this can be pre-calculated like chatlinks in the item definition; there's too many (4 billion in the coins example alone). There's no need to have the server do that for us. If you need detailed chatlinks like this, use or write a client-side library for that purpose. |
|
A reference on chatlink/itemstack en-/decoding would be welcome. Implementing on the other hand isn't that hard... bit-fiddling though. |
|
Yep, an official reference implementation of chatlinks parsing/creating like the actual game does would be great. |
Would also like to add to
/v2/continents,/v2/skills,/v2/recipes, and/v2/traitsbut those don't have example files yet.