Jump to content

Uchiki

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Uchiki

  1. OK. I tested it as unbekannt1984 said. Line416: local Distance = range + station.radius - ship.radius Line417: local target = station.translationf Line422: ShipAI(ship):setFly(target, range) It worked fine. Even at the station where the problem occurred because it was too long.
  2. Although it worked better than before, if the station is very long, it stopped short of approaching the station. So I tested the formula as follows. local Distance = range - ship.radius In this case, as far as I tested a little, the problems such as stopping and colliding on the way did not occur.
  3. The ship is small with 6 slots. Upload the sector I tested. Thanks for the effort. Since the file was large, I could not upload it here, so I will put a link destination uploaded to a different location. Please tell me when downloading because I will erase the link.
  4. I fixed station.name and tested it with a 2.5 km transporter. The ship was ported to Uenhzauz and stacked after selling the goods. The ship has not moved from Uenhzauz. It is the error code at that time. : BuyGoods Data: 214 Steel size 1 requested. Updated to 214 and 0 in the cargobay, room for 526 more. Decided to buy 214 more. : Sold 214 Steel : Finished trade from Yi'now to Uenhzauz : haulGoodsGetRoute (Stage 1) finished. Starting to transport 11900 Oxygen from Moyouwua to Nouwrie : ERROR: Can't dock to Moyouwua using Transporters. Calculated Distance is -2257.4322414398 meters. : ERROR: Can't dock to Moyouwua using Transporters. Calculated Distance is -2257.4322414398 meters. : ERROR: Can't dock to Moyouwua using Transporters. Calculated Distance is -2257.4322414398 meters. I am looking forward to 0.10.0alpha4.
  5. Thanks for the mod. I tested 0.10.0-alpha2. And in the case without Transporters it did a nice operation. Improved dispatchers are great. However, it seems that the ship with Transporters is stuck when leaving the station. The part considered to be the log at that time is below. Execution Context (inner to outer): #0: updateServer data/scripts/entity/ai/haulgoods.lua could not execute function 'updateServer' in '"data/scripts/entity/ai/haulgoods.lua"': data/scripts/entity/ai/haulgoods.lua:425: attempt to concatenate local 'station' (a userdata value) stack traceback: data/scripts/entity/ai/haulgoods.lua:425: in function 'haulGoodsMoveToStation' data/scripts/entity/ai/haulgoods.lua:576: in function <data/scripts/entity/ai/haulgoods.lua:548>
×
×
  • Create New...