Re: Harvesters and Ore Trucks have broken
The Code should of not equated to:
IF Next Local Cell has Value Lower than X, THEN Scan for Next Closest Available Cell of Value Higher than X. Setting Scan Range to 256 (MAX Range).
This means that the Harvester actively ignore Cells that have a low Value, meaning if you want to build anywhere, that you have to babysit your Harvester every Cell of the way.
The Algorithm should have been something like:
IF Current Cell has been Harvested, THEN Scan Local Immediate Cells (N/NE/E/SE/S/SW/W/NW) for Highest Value Cell, IF all are equal value, calculate Harvester Facing Angle to Logical Cell.
This would mean a Harvester would move to the Cell Closest to the Harvester that had the Highest Value. Assuming that all of the Local Immediate Cells have equal value, and the Harvester is Facing South, then the Harvester would Move South. If all of the Local Immediate Cells were empty, then it could reset Scanning Range to the next Tier of Local Cells. None of this going 64 Cells away or more, even though there is Valuable Cells right next to the Harvester.
IF Next Local Cell has Value Lower than X, THEN Scan for Next Closest Available Cell of Value Higher than X. Setting Scan Range to 256 (MAX Range).
This means that the Harvester actively ignore Cells that have a low Value, meaning if you want to build anywhere, that you have to babysit your Harvester every Cell of the way.
The Algorithm should have been something like:
IF Current Cell has been Harvested, THEN Scan Local Immediate Cells (N/NE/E/SE/S/SW/W/NW) for Highest Value Cell, IF all are equal value, calculate Harvester Facing Angle to Logical Cell.
This would mean a Harvester would move to the Cell Closest to the Harvester that had the Highest Value. Assuming that all of the Local Immediate Cells have equal value, and the Harvester is Facing South, then the Harvester would Move South. If all of the Local Immediate Cells were empty, then it could reset Scanning Range to the next Tier of Local Cells. None of this going 64 Cells away or more, even though there is Valuable Cells right next to the Harvester.