Hi Miss Nobody,
I feel like we've been in a similar situation because I loved and longed for this guy named Dan for a year. Basically, Dan didn't care as much as I cared about him, so he kept using me and hurting me over and over again.
(The brief synopsis is this: we dated for 2 months, Dan broke up with me and he asked out another girl he had a crush on while dating me. Well, the other girl rejected him. Then 2 weeks later my ex, Dan, came back to me for comfort, and we had sex, and did friends-with-benefits for 9 months afterwards. And I was stuck in this limbo between friendship and a relationship, and the entire time I felt like I was being used. (Sometimes Dan was really sweet, but then he'd ignore me for a month). It was hard, because I still liked him a lot as a person and understood how his mind works and why he did everything he did to me. So I couldn't hate him, even though he was hurting me.)
First, my advice is to listen to this song: "Gravity" by Sara Bareilles. http://www.youtube.com/watch?v=lFP9Oesb5OI . This song really described how I felt: about trying to get over someone who's bad for me. Maybe it'll help you through too. :)
Secondly, to get over your guy-friend, my advice is No Talking, No Hanging-Out with him. I know it would be hard to cut him out. But being stuck in that limbo between friendship and a relationship because he doesn't love you enough SUCKS. It honestly screwed with my mind to be "friends" with someone who was indifferent to me. So, after 9 months of this, I finally told my ex-boyfriend a week-and-a-half ago that I'm not going to talk or see him again. So I know it's really hard. But I think that the only way to move on is to not talk to him or see him for a month. During that month, do whatever it takes to talk to other friends or keep busy doing things without him. But if you don't avoid the guy, you'll never get over your feelings, and he'll only hurt you whenever you're around him :(
Good luck and stay strong <3