
If one uses AITileList_IndustryAccepting to get the tiles where one can build a station, it also returns the beforementioned wrong tiles. The bay in the screenshot is built by my AI with the following code (parts are cut out, it checks if it can build there, but stays within the accTiles list):
Code: Select all
local accTiles = AITileList_IndustryAccepting(pair.AcceptingIndustry, AIStation.GetCoverageRadius(AIStation.STATION_TRUCK_STOP));
local accTile = accTiles.Begin();
AIRoad.BuildRoadStation(accTile, accTile + 1, AIRoad.ROADVEHTYPE_TRUCK, AIStation.STATION_NEW)
Of course I use the latest nightly (r16189). My operating system is Windows 7 (build 7000), but that is rather irrelavant, I think...