let's try break it down.
Your issues:
1. Disappointment in marks leading to a loss in motivation
2. You haven't been able to make friends
3. Loss of interest in the course maybe? (please confirm)
yes?
.....
Issue 1
By no means are credits and distinctions bad. You should be totally happy...