> until I just made a policy to not engage
That sounds sad. You remind me of a friend (probably on the spectrum), that is too open/polite and just doesn’t know how to filter out abusive people.
Unfortunately, the good people that are really really worth talking to, can often read that you are closing yourself off, so they politely won’t interact with you. The “bad” people will ignore your social cues. Perhaps there is a certain amount of channeling.
Most women (and plenty of men too) have been on the receiving end of excessive unwanted attention at some point in their lives, and they learn how to read genuine worthwhile friendly approaches, versus predatory unwanted approaches. Spot your friends with that skill, and then try to learn from them?
The friends I know that have the skill end up meeting worthwhile people in most any situation they are in; even in predatory environments.
Location makes some difference, of course. I have travelled a lot, and some countries or towns everybody is trying to grift, while other places everyone is genuinely open and friendly. Or pubs where everyone is welcoming without pressure, versus other pubs where everyone is trying to use or scam you. Your own context makes a difference: if you are with dogs or kids, more people will default to thinking you are okay (modulo other cues) etcetera.
Disclaimer: I’m not great at the above, but I try to learn to improve. The friends I know who are great at the above get awesome opportunities - they also tend to be good people themselves. It is like a secret split in society where kind people recognise each other via unobvious protocols. If you don’t know the protocols, then you end up grouped with users and grifters, which is self-reinforcing and hard to change.