OtviAI (version 423)
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 398)
Thanks for the report, I'll have a look at it!
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 399)
With OpenTTD version 1.2 almost there it was time to make the jump to API 1.1
Changelog:
- update to API 1.1
- stop building like a madman once maximum number of vehicles has been reached
- improved initial industry route selection
- improved maintenance handling
- fixed some depots for industry routes
- fixed cargo going to town (thanks Steffl for the bug hunting!)
- better money check
- and a few small tweaks
Changelog:
- update to API 1.1
- stop building like a madman once maximum number of vehicles has been reached
- improved initial industry route selection
- improved maintenance handling
- fixed some depots for industry routes
- fixed cargo going to town (thanks Steffl for the bug hunting!)
- better money check
- and a few small tweaks
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 411)
The version 1,2 release has arrived! The biggest change being that boats are now supported! That code is still a bit beta quality, so if you find a bug: let me know. Other changes: better vehicle selection function (solves the problem with some newgrfs); further improvements on the money flow and changed the way orders are given to new vehicles and some small changes/tweaks/fixes.
As usual, it's available in bananas or in the first post of this thread.
As usual, it's available in bananas or in the first post of this thread.
Re: OtviAI (version 411)
Great! Nice to see a new ship using AI
Sometimes your AI builds the docks in unconnected waters, however. EDIT: I think you should update your AIInfo::GetDescription, your AI already transports freight
Sometimes your AI builds the docks in unconnected waters, however. EDIT: I think you should update your AIInfo::GetDescription, your AI already transports freight
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 411)
Hmmmm... it seems some debugging is in order indeed... Either AIMarine::AreWaterTilesConnected isn't doing what I expect or I'm feeding it the wrong things I'll look into it And I'll update that text too indeed.
Re: OtviAI (version 411)
Maybe you missed this precondition:
API documentation wrote:'tile_from' and 'tile_to' are directly neighbouring tiles.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 413)
Bugfix version released. Boat implementation is greatly improved. (the bug was not in that precondition, but in the fact that I should feed it the waterside tile of the possible dock location, not the landside tile).
If you can still break it: let me know
If you can still break it: let me know
Re: OtviAI (version 413)
Hello,
I'm getting errors about the fact that the index 'GetName' does not exist.
I'm getting errors about the fact that the index 'GetName' does not exist.
- Attachments
-
- OtvAI v413 error.PNG
- (63.14 KiB) Downloaded 8 times
Re: OtviAI (version 413)
I know the thread is old, but I 've had this crash a few times so far...
https://www.dropbox.com/s/c0z50z59dmpa7 ... -08-20.jpg
https://www.dropbox.com/s/c0z50z59dmpa7 ... -08-20.jpg
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 414)
New updated version!
Fix the bug reported by kazocsaba: thanks!
Apart from the bugfix it's a lot of changes in the train code to better handle 2cc, ECS and nutracks and combinations.
------
@Hydrogeek: that link of yours doesn't point to a file I can look at.. if it's the same bug as kazocsaba reported: it's fixed, otherwise: could you give me a working link for what you're trying to show or just add the picture to your post here?
Fix the bug reported by kazocsaba: thanks!
Apart from the bugfix it's a lot of changes in the train code to better handle 2cc, ECS and nutracks and combinations.
------
@Hydrogeek: that link of yours doesn't point to a file I can look at.. if it's the same bug as kazocsaba reported: it's fixed, otherwise: could you give me a working link for what you're trying to show or just add the picture to your post here?
Re: OtviAI (version 414)
Hi,
OTVI version 414 has problems with subtropical climate. It crashes every time short after it started.
I didn't make a screenshot because it happens everytime and you can look at it yourself in game.
Bye
OTVI version 414 has problems with subtropical climate. It crashes every time short after it started.
I didn't make a screenshot because it happens everytime and you can look at it yourself in game.
Bye
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 414)
Bug found, bug squashed. Looking at the code I fail to see how this worked without problems in the other climates though, cause it's a bug that should have popped up in any climate
The newer version is in bananas as usual. Thanks for the bug report!
The newer version is in bananas as usual. Thanks for the bug report!
Re: OtviAI (version 415)
What is the preferable Path AI for OTVIs ships? I see some ships with only 1 order in schedule.
ERR_ORDER_TOO_FAR_AWAY_FROM_PREVIOUS_DESTINATION
A vehicle got lost! Ships always with only 1 order unless I missed something.
Currently using YAPF. 90 degrees is turned off.
ERR_ORDER_TOO_FAR_AWAY_FROM_PREVIOUS_DESTINATION
A vehicle got lost! Ships always with only 1 order unless I missed something.
Currently using YAPF. 90 degrees is turned off.
Re: OtviAI (version 415)
Another problem.
(Many) Ship depots blocking own dock and opponents' dock (that's NoCAB).
I'm using oTVI v415.
(Many) Ship depots blocking own dock and opponents' dock (that's NoCAB).
I'm using oTVI v415.
- Attachments
-
- screenshot#2.png
- (128.21 KiB) Downloaded 10 times
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 415)
Heh... I can perhaps get away with calling blocking opponents' docks a feature, but blocking my own docks is not so smart... I seem to have some troubles with boats and YAPF sometimes and then boats get stuck humping the coast instead of going around the peninsula. The fact that the boat then has only one order is an attempt at removing all orders from the unprofitable boat and sending it to a depot. I'm afraid I will have to start adding buoy support...
I'm currently in the process of finetuning the next version, which will also have aircraft. I'll try to fix this as well in this release.
Thanks for the reports!
I'm currently in the process of finetuning the next version, which will also have aircraft. I'll try to fix this as well in this release.
Thanks for the reports!
-
- Engineer
- Posts: 79
- Joined: 12 Feb 2013 17:29
Re: OtviAI (version 415)
any updates ?
Activity-absent for now.
PLEASE DO NOT REPLY TO MY MESSAGES ANYMORE!
PLEASE DO NOT REPLY TO MY MESSAGES ANYMORE!
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 415)
Yep. There's a new version
This one adds semi-decent air support and improved selection of what engine to use: it now roughly calculates for all available engines how profitable it would be on that distance with that cargo and no longer selects engines that would be known unprofitable (they exist due to NewGRF mostly). This release is mostly a lot of very small changes, too many to name all here. It successfully completes all tests that I have here (aka: doesn't crash or go bankrupt) so if you find a situation in which it does crash or go bankrupt: please give me the configuration parameters! There's still a long TODO list of things I want to change, so onwards to the next version
This one adds semi-decent air support and improved selection of what engine to use: it now roughly calculates for all available engines how profitable it would be on that distance with that cargo and no longer selects engines that would be known unprofitable (they exist due to NewGRF mostly). This release is mostly a lot of very small changes, too many to name all here. It successfully completes all tests that I have here (aka: doesn't crash or go bankrupt) so if you find a situation in which it does crash or go bankrupt: please give me the configuration parameters! There's still a long TODO list of things I want to change, so onwards to the next version
-
- Engineer
- Posts: 79
- Joined: 12 Feb 2013 17:29
Re: OtviAI (version 415)
that is better, it bought other AIs that had planes and the ai did not manage them.Maninthebox wrote:Yep. There's a new version
This one adds semi-decent air support and improved selection of what engine to use: it now roughly calculates for all available engines how profitable it would be on that distance with that cargo and no longer selects engines that would be known unprofitable (they exist due to NewGRF mostly). This release is mostly a lot of very small changes, too many to name all here. It successfully completes all tests that I have here (aka: doesn't crash or go bankrupt) so if you find a situation in which it does crash or go bankrupt: please give me the configuration parameters! There's still a long TODO list of things I want to change, so onwards to the next version
there is also an problem with water in which the ai connects towns not connected via water, so the AI needs to build cannals and locks.
thanks for the new version, i will try it!
Activity-absent for now.
PLEASE DO NOT REPLY TO MY MESSAGES ANYMORE!
PLEASE DO NOT REPLY TO MY MESSAGES ANYMORE!
Re: OtviAI (version 415)
Just had an incident where OtviAI sabotaged my shipping trade. Is that something purpose built into the AI? (I have version 418 downloaded from in game download content menu)
See thread I started on the topic: http://www.tt-forums.net/viewtopic.php?f=65&t=69632 (sorry for creating a new thread, found this thread only afterwards)
See thread I started on the topic: http://www.tt-forums.net/viewtopic.php?f=65&t=69632 (sorry for creating a new thread, found this thread only afterwards)
Skippern
OpenTTD Mac user
OpenTTD Mac user
-
- Tycoon
- Posts: 1396
- Joined: 23 Feb 2014 22:02
Re: OtviAI (version 415)
Just noting that at least in "league table" terms,I find OTVIs to be my closest competitors of a bunch of AIs,though it seems they eventually go bust.
Has work been done on renewing and pruning aging networks?
Has work been done on renewing and pruning aging networks?
Who is online
Users browsing this forum: No registered users and 1 guest