Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

Autojump sometimes gets freakers stuck on buildings, and does not unstick them

Open aeonios opened this issue 11 years ago • 5 comments

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.

aeonios avatar May 02 '15 03:05 aeonios

I don't care about autojump. Is jump itself broken?

GoogleFrog avatar May 02 '15 07:05 GoogleFrog

@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.

xponen avatar May 02 '15 23:05 xponen

@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)

xponen avatar May 02 '15 23:05 xponen

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.

GoogleFrog avatar May 03 '15 12:05 GoogleFrog

No response. I have heard no other report of jump causing units to stick.

GoogleFrog avatar Jun 08 '15 12:06 GoogleFrog