Hi...have you ever sought any counseling? It sounds like you have been through the wringer emotionally and all over the place with this relationship, that doesn't sound as if it was ever healthy for one day.
Setting the outcome of that aside...I would work on getting really psychologically healthy, for your sake, and that of your child. Then you can determine what you want to do about this "relationship."
I'm sorry, but my opinion is that this man is nothing but a manipulator who drunk texts you or shows up when his latest woman gets sick of him. He should not be back into your life until he is serious about doing something with his. For your daughter's sake at the very least. Otherwise you will stay on the merry-go-round...or end up with someone else like him.
Since drinking is an issue, maybe you could consider going to Al Anon meetings. They are full of supportive people, and you begin to grow into an emotionally healthy person thru that program.