Trans AI .:19.07.23 :.

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

xarick
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 26 Feb 2015 00:52

Re: Trans AI .:18.06.22 :.

Post by xarick » 06 Dec 2018 00:43

The index 'Info' does not exist
Attachments
Sem nome, 29 Mai 1969.png
(26.64 KiB) Not downloaded yet
Sem nome, 10 Nov 1969.sav
(150.74 KiB) Downloaded 54 times
Formerly known as Samu

User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: Trans AI .:19.04.02 :.

Post by fanioz » 02 Apr 2019 07:47

xarick wrote:The index 'Info' does not exist
Thanks for the bug report. :D

=================================================================================
Version 19.04.02 released on Bananas and also on first post.
Just fixes of the following bugs

Fixes: Not build rail depot if cant build the entry
Fixes: Prevent excessive CPU usage in valuator function - thanks to xarick
Fixes: index 'info' not found inside valuator - thanks to xarick
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image

xarick
Transport Coordinator
Transport Coordinator
Posts: 273
Joined: 26 Feb 2015 00:52

Re: Trans AI .:19.04.02 :.

Post by xarick » 05 May 2019 00:01

Return value of valuator is not valid (not integer/bool)
Attachments
Unnamed, 2137-05-23.png
(97.49 KiB) Not downloaded yet
Unnamed, 2138-03-28.sav
(1007.84 KiB) Downloaded 23 times
Formerly known as Samu

User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: Trans AI .:19.05.06 :.

Post by fanioz » 06 May 2019 04:34

xarick wrote:Return value of valuator is not valid (not integer/bool)
Thanks for the bug report. :D
=================================================================================
Version 19.05.06 released on Bananas and also on first post. :D

* 190506
Fixes: Return value of valuator is not valid (not integer/bool)
Feature: Add ability to use Town Actions and option to disable it
Change: Uses modified Fibonacci Heap from library for pathfinding.
Change: TransHeap class now become ListSorter.
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image

MatthijsH
Engineer
Engineer
Posts: 1
Joined: 01 Jun 2019 10:30

Re: Trans AI .:19.05.06 :.

Post by MatthijsH » 01 Jun 2019 10:34

Assertion failed (savegame not added due to filesize)
Attachments
Klein Spijksrade Transport, Feb 15th, 2205.png
(367.71 KiB) Not downloaded yet

User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: Trans AI .:19.05.06 :.

Post by fanioz » 25 Jun 2019 00:24

MatthijsH wrote:
01 Jun 2019 10:34
Assertion failed (savegame not added due to filesize)
Thanks for the bug report. :D
=================================================================================

Version 19.06.25 released on Bananas and also on first post. :D

* 190625
Change: Limit iteration for path finding
Change: Add vehicle more often
Fixes: Sell vehicle without bright future
Fix: Don't wait too long if road has vehicle in the way
Fix: Assertion failed due to invalid Industry (thanks to MatthijsH)
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image

User avatar
ssmit132
Engineer
Engineer
Posts: 55
Joined: 09 Jul 2005 07:31
Location: Queensland, Austraila.

Re: Trans AI .:19.06.25 :.

Post by ssmit132 » 27 Jun 2019 09:50

Hi,

Seeing that you just updated this AI, I thought I would give it a test in a game along with some other AIs :) . I've encountered two issues, though:

1) The first Trans AI tried to build a plane network, but it didn't take into account the range in PikkaBird's Av8 NewGRF and none of the planes could actually carry out their orders. Naturally they quickly became bankrupt. The next Trans AI company that took their place started to do the same thing.

Image

2) When I tried to reload the game later, Trans AI crashed immediately with an error about not being able to find "StationToClose".

Image

I'll attach the save game, but there are some NewGRF separators that aren't on Bananas in the NewGRF list so I'm not sure if you'll be able to open it.
Attachments
Typhlomence Transport, 1951-06-06.sav
Save game
(1.41 MiB) Downloaded 27 times
Image
Dan's Railroad Gif Roundhouse: http://www.trainweb.org/rrgifroundhouse/
Thanks to him for all the cars drawn above.

Really old stuff I did: British, Russian, Australian and Car Brand Town names: http://www.tt-forums.net/viewtopic.php?p=503237 Capital Cities of the World town names: http://www.tt-forums.net/viewtopic.php?p=350354

User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: Trans AI .:19.06.25 :.

Post by fanioz » 13 Jul 2019 00:17

ssmit132 wrote:
27 Jun 2019 09:50
Hi,

Seeing that you just updated this AI, I thought I would give it a test in a game along with some other AIs :) . I've encountered two issues, though:

1) The first Trans AI tried to build a plane network, but it didn't take into account the range in PikkaBird's Av8 NewGRF and none of the planes could actually carry out their orders. Naturally they quickly became bankrupt. The next Trans AI company that took their place started to do the same thing.
[+] Spoiler
Image
2) When I tried to reload the game later, Trans AI crashed immediately with an error about not being able to find "StationToClose".
[+] Spoiler
Image
I'll attach the save game, but there are some NewGRF separators that aren't on Bananas in the NewGRF list so I'm not sure if you'll be able to open it.
Thanks for test Trans AI :D ,

for the first issue, yes thanks for raise up this. It was fixed and will be available on Bananas after several days testing.

for the second, there was something weird. In debug window AI version was v200101, while the folder where Trans AI start is at 180411.
discrepancyversion.png
discrepancyversion.png (30.26 KiB) Viewed 835 times
So please delete "Trans-AI_*.tar" file in "..\content_download\ai" folder, and download the latest available on Bananas (v190625). Let me know if this not solve your issue.
Thanks
:D
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image

User avatar
ssmit132
Engineer
Engineer
Posts: 55
Joined: 09 Jul 2005 07:31
Location: Queensland, Austraila.

Re: Trans AI .:19.06.25 :.

Post by ssmit132 » 14 Jul 2019 10:16

Doing what you suggested appears to fix the issue I was having on load. Thank you for the advice; I look forward to playing against this AI in the future and seeing how it performs :)
Attachments
Typhlomence Transport, 1951-06-08 (2).png
(899.99 KiB) Not downloaded yet
Image
Dan's Railroad Gif Roundhouse: http://www.trainweb.org/rrgifroundhouse/
Thanks to him for all the cars drawn above.

Really old stuff I did: British, Russian, Australian and Car Brand Town names: http://www.tt-forums.net/viewtopic.php?p=503237 Capital Cities of the World town names: http://www.tt-forums.net/viewtopic.php?p=350354

User avatar
fanioz
Transport Coordinator
Transport Coordinator
Posts: 320
Joined: 19 Dec 2008 05:03
Location: Indonesia
Contact:

Re: Trans AI .:19.07.23 :.

Post by fanioz » 23 Jul 2019 00:04

ssmit132 wrote:
14 Jul 2019 10:16
Doing what you suggested appears to fix the issue I was having on load. Thank you for the advice; I look forward to playing against this AI in the future and seeing how it performs :)
I'm glad that solve the issue. :mrgreen:
=============================================================

And now bugfix release version 19.07.23 available both on Bananas and also on first post. :D

* 190723
* Fixes: Aircraft did not respect NewGRF maximum distance
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image

Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: Baidu [Spider] and 5 guests