Spaceships near a star