I sympathise with the difficulties you have. As a general rule and if you are thinking very long term do this. Find a property that will still be there in 10 years (legalised) and with the same environment that appeals. Then make offers of 40% below the asking price and don’t budge. If there is no agreement walk away.
Be prepared for rising community costs, crime and taxes.