[AI] SuperSimpleAI v63 (Stable) and v66 (Testing)

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

Jaume
Engineer
Engineer
Posts: 78
Joined: 24 Aug 2007 15:43

Re: [AI] SuperSimpleAI v55 (Stable) and v57 (Testing)

Post by Jaume »

Released v57 because v56 crashes.

v57:
Fixed crash when transforming dual cargo route to single cargo route.
Fixed some unremoved tiles when passing lane building fails.
Protect with depots the headers of passing lanes while building.
Jaume
Engineer
Engineer
Posts: 78
Joined: 24 Aug 2007 15:43

Re: [AI] SuperSimpleAI v55 (Stable) and v58 (Testing)

Post by Jaume »

Hi! v58 is out!

This version fixes some bugs, some other bugs remain alive XD

v58:
Protect with depots the headers of stations while building.
Fixed missing depots if fake passing lanes where building. These depots prevent 90 grade turns.
Puts a rail under bridges if depot can't be build. These depots prevent 90 grade turns.
Fixed adding new vehicles after a route was closed.
Fixed unremoved temporaly depots when removing rail lines (bug since v57).
Use always the cheapest rail depot type when it's a temporaly depot used to prevent 90 grade turns or to be blocked by other company's buildings.
Jaume
Engineer
Engineer
Posts: 78
Joined: 24 Aug 2007 15:43

Re: [AI] SuperSimpleAI v55 (Stable) and v59 (Testing)

Post by Jaume »

Hi all!

This new version fixes two minor bugs:

v59:
No longer transforms a building dual cargo line to single cargo when loading a game.
Fixed add new vehicles on a route that closes.

As usual, you can download it from first post.

Enjoy it!
Jaume
Engineer
Engineer
Posts: 78
Joined: 24 Aug 2007 15:43

Re: [AI] SuperSimpleAI v55 (Stable) and v60 (Testing)

Post by Jaume »

Hi!

I'm so busy now, I don't have much time to spend it programming... This is a minor upgrade.

v60:
Remove unused rail depots.

Enjoy it!
Jaume
Engineer
Engineer
Posts: 78
Joined: 24 Aug 2007 15:43

Re: [AI] SuperSimpleAI v55 (Stable) and v61 (Testing)

Post by Jaume »

Bon Nadal i feliç any nou! Merry Christmas and a happy new year!

This is the Stable candidate. Enjoy it!

v61:
Some optimizations in cManager.

As usual, you can download it from first post.
Jaume
Engineer
Engineer
Posts: 78
Joined: 24 Aug 2007 15:43

Re: [AI] SuperSimpleAI v55 (Stable) and v62 (Testing)

Post by Jaume »

Hi!

Some bugs fixed...

v62:
Fixed crash after reloading a game, when dual-cargo routes were interrupted.
Fixing strange mistake calculating the number of passing lanes for a single-cargo route after a failed double-cargo route test.
Some minor errors with loggin.

The crash that is fixed was introduced in v59.

Enjoy it!
Jaume
Engineer
Engineer
Posts: 78
Joined: 24 Aug 2007 15:43

Re: [AI] SuperSimpleAI v55 (Stable) and v63 (Testing)

Post by Jaume »

Another crash found and fixed, and some little mistakes...

v63:
Fixed crash adding new vehicles, if homedepot is null.
More passing lanes if AIGameSettings doesn't allow long trains.
Increased the number of airports allowed when no much planes are allowed.

As usual, you can download it from first post.
Jaume
Engineer
Engineer
Posts: 78
Joined: 24 Aug 2007 15:43

Re: [AI] SuperSimpleAI v63 (Stable) and v64 (Testing)

Post by Jaume »

Hi all!

Its time to new testing release, and because I think that v63 is stable.

v64:
Some air tunning.
Some pathfinder tune.
Splitted cmanager.nut into multiple files in cmanager directory.
Splitted main.nut into multiple files in supersimpleai directory.
Remove unprofitable air routes.
Increased AISettings.MaxRoutes() to 5500.
Updated to NoAI API version 1.8.

For now I'm testing v64 with NoAI API version 1.8, next releases will use NoAI API version 1.10 or higher, I want to use some of new functions that I can't use for now.
Jaume
Engineer
Engineer
Posts: 78
Joined: 24 Aug 2007 15:43

Re: [AI] SuperSimpleAI v63 (Stable) and v65 (Testing)

Post by Jaume »

Hi all!

Another version of SuperSimpleAI. This version fixes some bugs:

v65:
Some improvements on rail and road pathfinding. Since v64 pahfinding road or rail routes were degraded, not improved, because I made a mistake. Now pathfinding work better than v64 or previous versions.
Fixed a crash if a industry near a passing station closes, but we re-open the closed station using cheats. This crash was introduced in SuperSimpleAI v57.

Enjoy it!
xarick
Transport Coordinator
Transport Coordinator
Posts: 362
Joined: 26 Feb 2015 00:52

Re: [AI] SuperSimpleAI v63 (Stable) and v65 (Testing)

Post by xarick »

Got a crash, testing v65.
Attachments
Unnamed, 20h 57m.png
(89.82 KiB) Not downloaded yet
Formerly known as Samu
Jaume
Engineer
Engineer
Posts: 78
Joined: 24 Aug 2007 15:43

Re: [AI] SuperSimpleAI v63 (Stable) and v66 (Testing)

Post by Jaume »

Thank you so much xarick! And sorry for crash your game.

This crash was introduced in version 65, older versions aren't affected.

Version 66 fixes this crash. You can download it from first post.

v66:
Fixed crash described in viewtopic.php?p=1280302#p1280302a (thank you xarick).

Are you playing since year 0?
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 5 guests