Hi Rukspc, I think it is great to "stay friends" but normally that does not mean that you continue to spend time together etc. Staying friends to me means that you are not leaving with bad feelings toward each other. It is to difficult to continue to spend time together if you still want it to be romantic and he does not. You are setting yourself up.
Like the previous poster said and your friend tried to tell you...get on with your life, new friends, new hang outs, whatever. Do things to make yourself happy and forget about what you had with your ex.
If the ex has been telling you for a while you deserve better then take his word for it.
Go out and make yourself happy!!!
Thinking negative thoughts, thinking about what if and whys are some of the worst things to do to yourself. Just let it go and don't try to figure out what you could do or what could be!!!
Good luck