Autojump sometimes gets freakers stuck on buildings, and does not unstick them
I looked it over trying to see if I could find a way to fix it, however that only left me with more questions. I suspect the problem is with GetNearestObstacleEnterAndExitPoint, and I noticed that the variables x and z in that function are used without defining them locally, and I couldn't find anywhere where they were declared globally either. I'm also not sure why Spring.TestBuildOrder is used instead of Spring.TestMoveOrder, although there may be a good reason for that.
One thing I do notice though it that it seems to unstick recoms pretty consistently, but not freakers for some reason, maybe because they're smaller. Other units don't tend to get stuck in buildings regardless.
I don't care about autojump. Is jump itself broken?
@GoogleFrog ,this is just a non-default widget jump too close to a build site, Is harmless, no bug in Jump when it happen (when stuck can jump out). I have witness it.
@mtroyka , Spring.TestMoveOrder did not exist in Spring 91, so wasn't used. Maybe can use now
Widget isn't smart enough to not jump too close to queued build site, (because it didnt exist yet)
The gadget does not care which widget gives the jump command. If the widget can cause stuckness then the default UI probably has a bug too.
No response. I have heard no other report of jump causing units to stick.