The Third thing and most important thing a caring father must do is, make sure that the "child knows beyond a shadow of a doubt you love them." And that by no means have you abandoned him or her.
This may be the hardest thing to do, with the obstacles you are facing. However, it can be done and must be done for the sake of your child! This will separate a daddy from a caring and loving father.
No, the courts aren't going to be your friend, however there are laws and you must fight for them to be enforced and equally applied. We know the alternative and its not good for your child, mentally, physically or emotionally. Be there for your child.