OpenTTD

Tasklist

FS#6500 - unlimited distance for the destination dock

Attached to Project: OpenTTD
Opened by Ricardo (Samu) - Thursday, 25 August 2016, 17:43 GMT
Last edited by Alberth (Alberth) - Monday, 14 August 2017, 19:27 GMT
Type Patch
Category Vehicles → YAPF
Status Closed
Assigned To No-one
Operating System All
Severity Very Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This makes YAPF for ships to allow any distance between orders, not just NPF. YAPF is more accurate than NPF and generates less lost ships than NPF.

This change also seem to improve some AIs. There were AIs with single orders in their ships when using YAPF. But with NPF, the AIs were prone to have lost ships. And lost ships have a much higher impact on cpu usage. It's a risky trade-off. I know it will be using more cpu resources under certain circumstances though, but since YAPF is much more accurate, I guess it's worth trying.
This task depends upon

Closed by  Alberth (Alberth)
Monday, 14 August 2017, 19:27 GMT
Reason for closing:  Won't implement
Comment by Alberth (Alberth) - Monday, 14 August 2017, 19:29 GMT
Patch will totally kill performance if something goes wrong in ship orders

Loading...