The judge is not going to throw your adversary case out simply because your prior bankruptcy case was dismissed. You are correct, if the mortgage company foreclosed on your home after the bankruptcy case was filed, then it is a clear violation of the stay that must be pursued.
Your bankruptcy cases and your adversary cases are treated as separate cases and should be handled as such, although the adversary stems from activity that happend during the pendancy of your prior case. Your case is not "too" complex, but it will take time, patience and persistence to get you back on track.
I would suggest, reviewed the local bankruptcy rules in your area to see if there are any special procedures for the handling of adversary cases in your area that you need to follow. You should also check to see if the Judge assigned to your case has any special procedures for adversary cases, because failure to follow the Courts procedures could result in the dismissal of your adversary proceeding.
If you can't find an attorney to assist with your bankruptcy case filing, you may be able to find a bankruptcy or real estate attorney to assist with the adversary case against the mortgage company. Remember, the bankruptcy case and the adversary proceeding are treated separately and you can have an attorney represent you in one or both of the proceedings. Furthermore, a real estate attorney may allow you to retain his services on a contingency bases for the adversary proceeding. Just remember that the lawsuit and any amount you may recover needs to be properly claimed as exempt in your bankruptcy case.
I hope you found this informtion to be helpful.