Page 3 of 7

Re: OtviAI (version 312)

Posted: 21 Feb 2010 12:21
by Kogut
I noticed that Otviai uses grain vehicles from HEQS to carry mail.

Re: OtviAI (version 312)

Posted: 22 Feb 2010 11:41
by Maninthebox
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 :)

Re: OtviAI (version 312)

Posted: 22 Feb 2010 12:19
by Michiel
I'll bet bananas also fit in grain trucks!

Re: OtviAI (version 312)

Posted: 12 Mar 2010 18:44
by Kogut
Small tropical island, it even have bus service.

Re: OtviAI (version 312)

Posted: 26 Apr 2010 06:54
by Samu
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.
Sem nome, 15 Mar 1981.png
Sem nome, 15 Mar 1981.png (20.38 KiB) Viewed 7794 times

Re: OtviAI (version 312)

Posted: 26 Apr 2010 07:39
by planetmaker
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)

Posted: 26 Apr 2010 10:30
by Kogut
It is typical for ais without support of save/load.

Re: OtviAI (version 312)

Posted: 27 May 2010 10:05
by Maninthebox
planetmaker 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.
It is fixed in this version indeed and the bananas version is updated as well now, so that should solve these issues :)

Re: OtviAI (version 312)

Posted: 24 Jun 2010 19:33
by Brumi
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.

Re: OtviAI (version 312)

Posted: 25 Jun 2010 10:04
by Maninthebox
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.

Re: OtviAI (version 312)

Posted: 25 Jun 2010 21:09
by Kogut
Great! Next train AI!
Random thought: is it planned to support newgrfs?

Re: OtviAI (version 312)

Posted: 26 Jun 2010 07:56
by Maninthebox
It is planned to support the most commonly used ones; so file your requests now :P

Re: OtviAI (version 312)

Posted: 26 Jun 2010 08:22
by planetmaker
Maninthebox wrote:It is planned to support the most commonly used ones; so file your requests now :P
oh well then:
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 :-)

Re: OtviAI (version 312)

Posted: 02 Jul 2010 12:35
by planetmaker
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 :-)

Re: OtviAI (version 312)

Posted: 02 Jul 2010 13:11
by Maninthebox
planetmaker wrote:
Maninthebox wrote:It is planned to support the most commonly used ones; so file your requests now :P
oh well then:
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 :-)
So far I've tested with my development version:
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 :P
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)

Posted: 02 Jul 2010 13:14
by Kogut
I think it is good idea to report it in HEQS thread. It is not AI problem that newgrf is broken.

Re: OtviAI (version 312)

Posted: 09 Sep 2010 15:53
by Maninthebox
First alpha release of the next version: now with trains! :D

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

Re: OtviAI (version 312)

Posted: 10 Sep 2010 17:56
by Brumi
Great news! :D
But I wasn't able to try it out on 1.0.3, it crashes on startup:

Re: OtviAI (version 312)

Posted: 10 Sep 2010 19:42
by Maninthebox
Doh! /me is forgetting a few files in the tarball. New improved and actually working update soon :)

Re: OtviAI (version 312)

Posted: 13 Sep 2010 08:24
by Maninthebox
New and improved: version 370: now with all the files actually in the tarball...