OtviAI (version 423)
Moderator: OpenTTD Developers
Re: OtviAI (version 312)
I noticed that Otviai uses grain vehicles from HEQS to carry mail.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 312)
Hmmmm... I'm sure that you can physically fit a bunch of envelopes in a grain truck, but the mail guys might appreciate a more appropriate vehicle to prevent them from going postal...
I'll install the HEQS and see what happens; after that I guess it's time to update bananas
I'll install the HEQS and see what happens; after that I guess it's time to update bananas

Re: OtviAI (version 312)
I'll bet bananas also fit in grain trucks!
Re: OtviAI (version 312)
Small tropical island, it even have bus service.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: OtviAI (version 312)
Hi. I'm trying this AI, and I think I found a problem.
When I was loading a saved game, I got this error instantly.
When I was loading a saved game, I got this error instantly.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: OtviAI (version 312)
I cannot help to notice that bananas still features a 30 revisions old version of this AI. I don't know wether the bug is fixed in the version floating around in this thread, but you could try to give it a shot.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: OtviAI (version 312)
It is typical for ais without support of save/load.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 312)
It is fixed in this version indeed and the bananas version is updated as well now, so that should solve these issuesplanetmaker wrote:I cannot help to notice that bananas still features a 30 revisions old version of this AI. I don't know wether the bug is fixed in the version floating around in this thread, but you could try to give it a shot.

Re: OtviAI (version 312)
I'm running a similar game to Samu's tournament to discover the reasons behind the mass bankruptcies.
OtviAI seems to be frozen, the last log entry is 19 years old.
OtviAI seems to be frozen, the last log entry is 19 years old.
- Attachments
-
- Otvi frozen.png (52.57 KiB) Viewed 4514 times
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 312)
I've never had bankruptcies in any of my tests, so the whole going bankrupt is kinda strange. Seems I'll have to replicate the tournament as well and see what happens...
On a completely unrelated note: train support is being added but in a very very preliminary state.
On a completely unrelated note: train support is being added but in a very very preliminary state.
Re: OtviAI (version 312)
Great! Next train AI!
Random thought: is it planned to support newgrfs?
Random thought: is it planned to support newgrfs?
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 312)
It is planned to support the most commonly used ones; so file your requests now 

- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: OtviAI (version 312)
oh well then:Maninthebox wrote:It is planned to support the most commonly used ones; so file your requests now
Industries: ECS, FIRS
Trainsets: UKRS, 2cctrainset, DBXL, Japanese, NARS
Road vehicles: HEQS, long vehicles v4, egrvts, Dutch trams, Japanese trams, GermanRV
Misc: industrial renewal stations, nutracks
If you survive with these vehicle sets, possibly running on nutracks, industries provided by ECS or FIRS and even build newgrf stations, you're doing excellently

OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: OtviAI (version 312)
A small comment dedicated to this AI as based from my (short) competitive run with a number of other AIs: you survived and made profit 
Best areas of improvements now seem to be from this brief test: it could keep up a better station rating. There are stations which have quite poor rating, and the vehicle limit isn't yet reached; it might help with the profit of some vehicles, especially if there's comptetition; maybe it could also consider to upgrade some vehicles, if the rating is not good.
Attached a screenshot which compares this AI with the best AI (AIAI) and the best train-using AI (simpleAI)
All in all: kudos, you did a great job

Best areas of improvements now seem to be from this brief test: it could keep up a better station rating. There are stations which have quite poor rating, and the vehicle limit isn't yet reached; it might help with the profit of some vehicles, especially if there's comptetition; maybe it could also consider to upgrade some vehicles, if the rating is not good.
Attached a screenshot which compares this AI with the best AI (AIAI) and the best train-using AI (simpleAI)
All in all: kudos, you did a great job

OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 312)
So far I've tested with my development version:planetmaker wrote:oh well then:Maninthebox wrote:It is planned to support the most commonly used ones; so file your requests now
Industries: ECS, FIRS
Trainsets: UKRS, 2cctrainset, DBXL, Japanese, NARS
Road vehicles: HEQS, long vehicles v4, egrvts, Dutch trams, Japanese trams, GermanRV
Misc: industrial renewal stations, nutracks
If you survive with these vehicle sets, possibly running on nutracks, industries provided by ECS or FIRS and even build newgrf stations, you're doing excellently
ECS: works
HEQS: works
Testing these two lead to two interesting observations:
1) my cargo support (other then mail) was broken for a while already, but the AI gracefully recovered/continued, so it went unnoticed until now

2) the combination of ECS with HEQS is broken: there's HEQS vehicles (crawler #8 or something like that) which claim to be refit-able to wood products, but they can't. So I can support either ECS or HEQS, but the combination is broken. I guess I could work around it by detecting both newgrf's and then use a vehicle blacklist, but I guess HEQS just needs to get fixed.
Onwards to testing the next newgrf...
Other fixes during testing:
- adding vehicles to routes was too aggressive
- first build first route, then the HQ (which is just for eyecandy anyway, the station spot is more important)
- give other instances of same AI a non-random name
- handle autorenew
Re: OtviAI (version 312)
I think it is good idea to report it in HEQS thread. It is not AI problem that newgrf is broken.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 312)
First alpha release of the next version: now with trains! 
As it's very much alpha and not even beta yet, it's not in banana's, but only attached to this post. I'm mostly looking for bug reports and feedback.
---
edit: attachment removed, package was faulty

As it's very much alpha and not even beta yet, it's not in banana's, but only attached to this post. I'm mostly looking for bug reports and feedback.
---
edit: attachment removed, package was faulty
Last edited by Maninthebox on 05 Oct 2010 16:56, edited 1 time in total.
Re: OtviAI (version 312)
Great news!
But I wasn't able to try it out on 1.0.3, it crashes on startup:

But I wasn't able to try it out on 1.0.3, it crashes on startup:
- Attachments
-
- startup error.png (5.24 KiB) Viewed 10455 times
-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 312)
Doh! /me is forgetting a few files in the tarball. New improved and actually working update soon 

-
- Engineer
- Posts: 113
- Joined: 08 Aug 2008 11:35
- Contact:
Re: OtviAI (version 312)
New and improved: version 370: now with all the files actually in the tarball...
- Attachments
-
- OtviAI.tar
- (180 KiB) Downloaded 277 times
Who is online
Users browsing this forum: No registered users and 14 guests