The best way to avoid hints is to make it very clear that you tried already to solve the problem, and where you got stuck.
I leave hints when I feel that the question is "I just don't get it, and I have no idea where to start" (admittedly, leaving hints was more fashionable in the past, I don't do that as much anymore). In those cases, I feel that a hint might be the gentle push needed for the OP to get their footing and start rolling the ball. Or maybe not the OP, maybe the OP seems lazy, but future readers which are not lazy and have a footing problem.
When the question is genuinely "I got stuck here, because X", it's easier to write a full solution and explain how to proceed through X, or why X is the wrong strategy, or why the question is ill-phrased and admits no solution.
If you do all that, and you still get hints, you have two options:
Ask the answerer to elaborate on their hint. This might piss off some answerers, but if you show genuine effort to process the hint, it doesn't come off as "do my homework for me".
Ignore the hint entirely. Trust me on that, when I feel that the OP is ungrateful for my effort, I don't make them. If people insist on writing hints, and the first option failed repeatedly, then there's going to be little hope for more.
It's fine. Some people just don't interact very well, and just learn to avoid one another.
Good luck. And remember, many problems on an undergraduate level can be solved by writing down the problem completely. Namely, restate it in "simpler terms", and repeat that restatement, until you essentially found the solution. Most difficulties occur when you don't see how people move from one definition to another, and restating the problem in "simpler" terms is often a way to see that. Work slow, work carefully.
(Here "simpler terms" could be more complicated. For example $\lim_{x\to 5}f(x)=3$ should be restated as the $\varepsilon$-$\delta$ definition, which is much more complicated than the above, but is given in simpler terms.)