I've uploaded all the encoding/compression code, see the thread on lotro.com:
https://www.lotro.com/forums/showthr...sing-IDs/page2
Do note that I have not tested the stripped code (codec.lua) and may have made mistakes. That's all I can do right now without spending time in game (time that I don't have right now). Hopefully someone will find it useful.
Sorry again for the English.
Edit/PS: I have been sniffing all chats on my server for relatively long times while I was working on the next version of LIP, both for legendary and regular items, and I'm actually very confident it's impossible(*) to extract stats directly from item links. I have only ever seen (two handed) LIs with stats attached to them in links, and that's only in the form of IDs (as in ' 60 strength' and ' 63 strength' have different IDs). On all other items, stats of any sort seem to be inferred from the generic item ID. I believe the only reason stats are found in 2h LIs is because those stats vary randomly from one LI to another.
(*) 'Impossible' : An engineer's lie to management meaning "extremely difficult but you'll just say: 'do it' if I say that". Ultimately, one could extract data from the game files.