Typical booty call... All comments; bad, good please help me

Ive been in this type of friendship where it started off as just benefits. I had nothing wrong with that, neither did he. As time went on, hes been wanting me to stay longer, talk more. We did, it was like this for two years. I grew to care about him, everything changed in our friendship. I wanted more, but then he took back his ex, after two months of telling me and crying to me about how much he loved her, how much he cared.
I gave him advice how to get him back because all i wanted was for him to be happy amd i knew it wasnt with me. His eyes said it all. But now, he claims he isnt happy, yet he stays with her. And all I do is just console him. I want him for myself. But yet i dont. Im the worst for doing this with him, continously. I mean its every other day, or so. Today was different, I told him how i felt, and that they continue to grow. And if we kept at what we were doing seriously will go terribly wrong. And I'll be miserable the rest of my life. I hate myself so much yet, i keep doing this to myself. 
Pity party. Thanks for reading. Let the comments blow up. :/