As Len said in a comment, these cryptograms look like what's called a book cipher. From Wikipedia:
A book cipher is a cipher in which the key is some aspect of a book or other piece of text. It is typically essential that both correspondents not only have the same book, but the same edition.
Traditionally book ciphers work by replacing words in the plaintext of a message with the location of words from the book being used. In this mode, book ciphers are more properly called codes.
In your example, each string of four numbers will probably give you a word, or perhaps a letter. Let's ignore "7.9.1" for now as it only has 3 numbers rather than 4 and may be some sort of mistake.
The first number in each string can get as high as 386, so it's unlikely to be the volume number of a multi-volume work and more likely to be the page number.
The second number is always either 1 or 2, so it's probably the number of the relevant column on the given page.
The third number can go as high as 46, so it's unlikely to be the paragraph number and more likely to be the line number.
The final number tells us the word (possibly the letter, if the message is very short) to look for in the given line.
So for instance "22.214.171.124" denotes the 11th word in the 2nd line of the 1st column on the 4th page of some book. It's impossible to say more than this without knowing what book your friend is referring to (some fantasy novel perhaps?). But you, the OP, know which book it is. So this answer should be enough for you to solve your problem, while also being more generally useful to people trying to solve a similar puzzle.