If you want to use hamachi, i think you don't have to change anything...
Just edit the ip in clientinfo xml-file for your friends (ragnarokgamefolder/data) from 127.0.0.1 to something like 192.168.1.11 or so (open cmd->ipconfig to find out you lan-ip, or check in hamachi).
iirc, this should work then...