hey james.
I understand that the mistakes you have made is partially because of your lack of self-confidence ( you probably think that the people you meet are gonna reject you ) but i dont think so. If you do your best to be someone's friend and basically just be yourself (just raise you self-confidence a little ) then stuff will start looking better.

just remember that everyone has setbacks once in a while, and that there's stuff that's gonna be bad once in a while. But after all the suffering, everyone deserves a slice of the cake. (NOOOOO the cake is not a lie. )
so just remember, you have to go out there and meet mroe new people again.. because there's a potential that some of them can melt your cold barrier.. and trust me.. there's people that hot out there.

i'm confident of it.
Dont lose hope, and dont have doubts in yourself.. i know its tough, but we'll always be there to pick you right back up. have faith!