[AI] AAAHogEx

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

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

Re: [AI] AAAHogEx

Post by Redirect Left »

Whilst doing AI testing for the thread in my signature, AAAHogEx v88 crashed with the following message, and the save is included.

This test was done using non-standard (to my testing) procedure, on a sub-tropical map, and using a new to my tests AI (CoronaAI Fix). This was one of my new 'long-term' tests way beyond the normal years of previous tests, which I ended at 2150, starting at 2000 for a flat 150 years. This was an endless test to see how long an AI would last before failure, up to a maximum of 1000 years, as i have realistically no idea how long people play a save game for in in-game years. It doesn't appear to be recorded by the survey data, the current year of a save at exit/survey taken time.

I will leave it up to you whether either of these new variables in my testing were responsible for the crash, as i don't understand AI enough to debug it myself. If you need further info, let me know. Hopefully its one you can figure out! So maybe its an issue that could pop up after a few years of player, and i got lucky for slightly over 500 years, or if it is indeed a long-term play issue.
Attachments
2024-06-23 03_13_06-OpenTTD 14.1.png
2024-06-23 03_13_06-OpenTTD 14.1.png (67.99 KiB) Viewed 3398 times
AITEST62.sav
(2.79 MiB) Downloaded 134 times
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
AAAHogEx
Traffic Manager
Traffic Manager
Posts: 131
Joined: 30 Jan 2022 15:37
Location: Japan

Re: [AI] AAAHogEx

Post by AAAHogEx »

Redirect Left wrote: 23 Jun 2024 02:23 Whilst doing AI testing for the thread in my signature, AAAHogEx v88 crashed with the following message, and the save is included.
Thank you for your report. It seemed to be crashing under rather rare conditions. I believe it will be fixed in the newly released v89.
creeperspider96
Engineer
Engineer
Posts: 2
Joined: 23 Jun 2024 02:58

Re: [AI] AAAHogEx

Post by creeperspider96 »

Hello AAAHogEx! I love using the AAAHogEx Ai playing with it as a competitor or just watching the Ai work like ants. but as a guy loves running freight trains with cabooses or Brakevans is it possible to make the AI run Freight Trains with Cabooses like the AI CivilAI? and there could be a cutoff year be around the late or early 1980s Since cabooses were rid off around that time :)
AAAHogEx
Traffic Manager
Traffic Manager
Posts: 131
Joined: 30 Jan 2022 15:37
Location: Japan

Re: [AI] AAAHogEx

Post by AAAHogEx »

creeperspider96 wrote: 25 Jun 2024 06:07 Hello AAAHogEx! I love using the AAAHogEx Ai playing with it as a competitor or just watching the Ai work like ants. but as a guy loves running freight trains with cabooses or Brakevans is it possible to make the AI run Freight Trains with Cabooses like the AI CivilAI? and there could be a cutoff year be around the late or early 1980s Since cabooses were rid off around that time :)
Tell me what train newgrf you are using! I'll see what's in it to see if I can handle it.
creeperspider96
Engineer
Engineer
Posts: 2
Joined: 23 Jun 2024 02:58

Re: [AI] AAAHogEx

Post by creeperspider96 »

The AI I mostly use is the NARS (North American Renewal Set 2.52) and the US Train Set which features cabooses!
AAAHogEx
Traffic Manager
Traffic Manager
Posts: 131
Joined: 30 Jan 2022 15:37
Location: Japan

Re: [AI] AAAHogEx

Post by AAAHogEx »

creeperspider96 wrote: 26 Jun 2024 03:10 The AI I mostly use is the NARS (North American Renewal Set 2.52) and the US Train Set which features cabooses!
I looked at it, but it's expensive for nothing effective...
xarick
Transport Coordinator
Transport Coordinator
Posts: 343
Joined: 26 Feb 2015 00:52

Re: [AI] AAAHogEx

Post by xarick »

Got a crash report.
Attachments
Unnamed, 2061-07-02.png
(146.72 KiB) Not downloaded yet
Unnamed, 2060-12-26.sav
(1.99 MiB) Downloaded 125 times
Formerly known as Samu
AAAHogEx
Traffic Manager
Traffic Manager
Posts: 131
Joined: 30 Jan 2022 15:37
Location: Japan

Re: [AI] AAAHogEx

Post by AAAHogEx »

xarick wrote: 14 Jul 2024 15:43 Got a crash report.
Thanks xarick. Fixed in version 91.
Habu
Engineer
Engineer
Posts: 5
Joined: 28 Aug 2024 07:46

Re: [AI] AAAHogEx

Post by Habu »

Hello,
Not a crash, but I noticed a railway traffic jam and found railway depots with a different track-type to the main line. The track was previously electrified rail, so the depots were missed during an upgrade to monorail.
Regards,
Habu
Attachments
Grumpybottom Transport, 2027-12-01.png
(11.53 MiB) Not downloaded yet
Habu
Engineer
Engineer
Posts: 5
Joined: 28 Aug 2024 07:46

Re: [AI] AAAHogEx

Post by Habu »

A crash report with save is attached; the crash happens a few seconds after the saved-game resumes.
Regards,
Habu
Attachments
openttd_aaahogex_9v1.zip
(1.69 MiB) Downloaded 22 times
GelGiGue
Engineer
Engineer
Posts: 8
Joined: 20 Feb 2024 23:04

Re: [AI] AAAHogEx

Post by GelGiGue »

ive got another crash report
Attachments
crashsave2.sav
(365.86 KiB) Downloaded 21 times
xarick
Transport Coordinator
Transport Coordinator
Posts: 343
Joined: 26 Feb 2015 00:52

Re: [AI] AAAHogEx

Post by xarick »

Hello again! I am attempting the great feat of reaching 5000 trains with 14 instances of AAAHogEx's, but there were a few issues along the road.

I got 2 cases of an infinite recursion, and another 4 cases of 'null' parameter when 'integer' was expected.
screenshots.zip
(4.47 MiB) Downloaded 22 times
Savegame is too large, I had to upload it to OneDrive
https://1drv.ms/u/c/23b29f3de45f6f1f/EU ... w?e=BAUY0b
Formerly known as Samu
User avatar
Xeo
Tycoon
Tycoon
Posts: 2046
Joined: 29 Nov 2002 22:49
Location: The Netherlands !!
Contact:

Re: [AI] AAAHogEx

Post by Xeo »

It's not a crash, but I don't think is is wanted behavior. When converting one line to monorail it messed up another line of their own company.
Screenshot 2024-11-29 212516.png
Screenshot 2024-11-29 212516.png (161.29 KiB) Viewed 267 times
Lalalala
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 2 guests