Auto-Pilot goes the wrong way

Hello,

I've noticed that the auto-pilot takes anything but a straight line to the destination. I've seen this multiple times now with different ships. It usually happens with Diagonal routes. Instead of taking PageUp it takes Home (equivalent key presses) then goes Up once before the ship goes PageUp twice, thereby loosing you two moves and coming up short of the destination.

Really annoying if your dependant on a ship being in a certain place at a certain time :-(

Cheers,
Dominic

Cheers,

Dominic
123 views 2 replies
Reply #1 Top
I have seen it taking detours before, but never more than one or two spaces, which would seem to suggest that either their running into some hard to see anomoly (I have been able to observe this a few times...Under some conditions, wormhole anomolies [and a few others] can be almost impossible to notice) or that the code is falsely detecting a ship or some other obstruction, which, now that I think about it, can also be observed in a manner. Sometimes, if you watch, the game with show ships that don't actually exist on the display area under the graphs for the ships in the sector.
Reply #2 Top
If it was a longer path, there could have been an anomaly there when it first created the path, so it still went around it. I had thought that I noticed some odd behavior though, so I restored the hit detection code to its previous state. (I had made changes to the hit detection, which the pathfinding uses, because of the odd way it was choosing what enemy to hit first if you passed by an enemy star with ships in orbit when there was an alien ship directly ahead of you.)

We will be changing the pathfinding so that it only calculates the leg of its journey that it is going to take that turn, which will eliminate the problem of going around things that are no longer there.