I'm sorry you feel you were mislead!
In the future, it is ALWAYS important to do your own "Due Diligence". Laws vary in different parts of the country, but many times, there are things that sellers MUST disclose, and there are things that they don't. The things that they don't need to disclose are the things that you should look to find in a good home inspection (By a good home inspector). There are also things that the seller and agent may not KNOW about. Sellers don't get home inspections before selling their property. They just want to move it in whatever condition is acceptable to a buyer.
CAVEAT EMPTOR! Buyer beware!