Want to click an item in your game and see its full stats, drops and where to buy it? With this you add a small RateMyRagnarok.com link to the bottom of every item description in your Renewal client. Click it and the item page opens in your browser.
The step by step page is here: https://ratemyragnarok.com/tools/renewal/

This is what it looks like in-game when you are done:

And this is what the link opens, the item page with the Renewal stats already selected:

What you need
1. Make a backup
Go to your client's System folder and copy itemInfo_true.lub somewhere safe first. If anything goes wrong, you just put it back.
2. Open the item info file
Open [RO folder]\System\itemInfo_true.lub in Notepad++. The file can use CP949 (Korean) encoding, so keep the encoding set to ANSI when you save it, otherwise the item names can break.
3. Set the mode at the top
Add this at the very top of the file:
-- RateMyRagnarok.com Server Config
ServerMode = "renewal"
This makes every link open the Renewal database.
4. Add the link to every item description
Scroll down to function main(). Inside it there is a loop for ItemID, DESC in pairs(tbl) do. Right at the start of that loop, add these lines:
DESC.unidentifiedDescriptionName[#DESC.unidentifiedDescriptionName + 1] = "________________________"
DESC.unidentifiedDescriptionName[#DESC.unidentifiedDescriptionName + 1] = "^006600Compare on^000000"
DESC.unidentifiedDescriptionName[#DESC.unidentifiedDescriptionName + 1] = "<URL>RateMyRagnarok.com<INFO>https://ratemyragnarok.com/database/items/" .. ItemID .. "?mode=" .. ServerMode .. "</INFO></URL>"
DESC.identifiedDescriptionName[#DESC.identifiedDescriptionName + 1] = "________________________"
DESC.identifiedDescriptionName[#DESC.identifiedDescriptionName + 1] = "^006600Compare on^000000"
DESC.identifiedDescriptionName[#DESC.identifiedDescriptionName + 1] = "<URL>RateMyRagnarok.com<INFO>https://ratemyragnarok.com/database/items/" .. ItemID .. "?mode=" .. ServerMode .. "</INFO></URL>"
That adds a line, a green "Compare on" and the clickable link, to both the unidentified and the identified description, so players see it either way.
Want the item ID in every description as well? Handy when you work on a server. Add these two lines above the others:
DESC.unidentifiedDescriptionName[#DESC.unidentifiedDescriptionName + 1] = "ItemID: " .. ItemID
DESC.identifiedDescriptionName[#DESC.identifiedDescriptionName + 1] = "ItemID: " .. ItemID
Not sure where exactly it goes? The page has a Full Working Example with the complete main() function you can copy. The main_server() function at the bottom of the file stays the same.
5. Save and test
Save the file (ANSI), start your client, and right-click any item to open its description. You should see Compare on RateMyRagnarok.com at the bottom. The link color is always blue; the RO client decides that, not the file.
Custom items from your server
Private servers often have their own custom items. If an item ID isn't in our database, the link still opens a page and tells you clearly that the item isn't known, so nobody lands on an error.
Stuck, or does your client use a different file? Post it below with the name of your client and the file you edited, and we'll help you out.