Terron AI

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

s0r00t
Engineer
Engineer
Posts: 9
Joined: 23 Feb 2013 14:09

Re: Terron AI

Post by s0r00t » 23 Feb 2013 14:14

Hi,

Sorry to up this topic, but Terron has crashed :

In my save, Terron was the BEST ia ! UniTrans (his company) was President ! But, suddently, THIS error happened :

Image (im French and i use zBase for the graphics)

So i need to say it goodbye....

svetovoi
Engineer
Engineer
Posts: 87
Joined: 12 Oct 2007 14:07

Re: Terron AI

Post by svetovoi » 23 Feb 2013 15:17

Thanks, s0r00t.
Fixed version available.

s0r00t
Engineer
Engineer
Posts: 9
Joined: 23 Feb 2013 14:09

Re: Terron AI

Post by s0r00t » 23 Feb 2013 15:56

Thanks for the fast reply !

Just a dev question : Im working on a little IA for testing, but i don't all understand your "AIBuildCompanyHQAction" that i take for example. Can you explain me very fast how its works?

Thanks again !

svetovoi
Engineer
Engineer
Posts: 87
Joined: 12 Oct 2007 14:07

Re: Terron AI

Post by svetovoi » 23 Feb 2013 16:45

Sure, better in PM i think.

Phrossi_TTD
Engineer
Engineer
Posts: 79
Joined: 12 Feb 2013 17:29

Re: Terron AI

Post by Phrossi_TTD » 13 Jun 2013 19:48

BIG bug happened here at near-end of NoCarGoal game
see screen
2nd screen has info before the error
sorry for bump :oops:
Attachments
CarGo Trans, 22 Abr 1956.png
(34.63 KiB) Downloaded 1 time
CarGo Trans, 22 Abr 1956#1.png
(35.06 KiB) Downloaded 1 time
Activity-absent for now.
PLEASE DO NOT REPLY TO MY MESSAGES ANYMORE!

svetovoi
Engineer
Engineer
Posts: 87
Joined: 12 Oct 2007 14:07

Re: Terron AI

Post by svetovoi » 14 Jun 2013 06:02

Thanks, i got the problem and probably can reproduce it.
May take some time though.

Ok, and there is changelog

Code: Select all

***v209***
- Change: Road section
  + fixed AI wrongly constructed separate depots for buses and mail trucks
    servicing same station
- Change: Air section
  + airports maintenance accounting
  + removed an option which allowed AI to spam airports -  it doesn't make
    sense anymore thanks to new high maintenance factor
- Fixed: crash due to town's service industry close down(e.g. water tower,
  thx Phrossi_TTD)
- Change: now always try to keep some money on balance to prevent absurd
  bankruptcy trigger

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

Re: Terron AI

Post by xarick » 08 Apr 2016 12:18

One Terron Docks is blocking the other Terron Docks.
Attachments
autosave11.sav
(183.8 KiB) Downloaded 38 times
Advanced Capital Ventures, 2012-05-21.png
Advanced Capital Ventures, 2012-05-21.png (210.63 KiB) Viewed 1800 times
openttdCore4.cfg
(10.75 KiB) Downloaded 43 times
Formerly known as Samu

svetovoi
Engineer
Engineer
Posts: 87
Joined: 12 Oct 2007 14:07

Re: Terron AI

Post by svetovoi » 12 Apr 2016 14:04

Well, can't really predict everything. Eventually AI with blocked dock should stop using one though.

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

Re: Terron AI

Post by xarick » 25 Jul 2019 17:23

Your script made an error: empty array

OpenTTD version is custom, but it's based on the build from 22st July 2019.

I'm unsure if something about multi docks feature is causing this crash. It may be unrelated. Just me wondering.

EDIT: Forgive me, this save is useless for you. It requires this build viewtopic.php?f=33&t=85608 to load.
Attachments
terron crash multidocks maybe.sav
(3.42 MiB) Downloaded 54 times
terron crash.png
(228.23 KiB) Not downloaded yet
Formerly known as Samu

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

Re: Terron AI

Post by xarick » 18 Aug 2019 08:42

I tried to force terron to build only buses, but still ends building mail trucks.

Use buses : Town-to-Town transportation
Use trucks: No
Formerly known as Samu

User avatar
Redirect Left
Tycoon
Tycoon
Posts: 6580
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: Terron AI

Post by Redirect Left » 18 Aug 2019 14:20

xarick wrote:
18 Aug 2019 08:42
I tried to force terron to build only buses, but still ends building mail trucks.

Use buses : Town-to-Town transportation
Use trucks: No
Quick heads up, Given the original creator of this hasn't been online for over 1 + half years and outside of you posting, this thread has been dead since 2016, you may be waiting a while for any fixes. You may find it quicker to look at the files and try to patch it yourself.
Image
Worst Behaved IRC Member of 2008, 2009 & 2010 - Go Me!

Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 0 guests