Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Wed Mar 20, 2019 6:49 pm

All times are UTC




Post new topic  Reply to topic  [ 56 posts ]  Go to page Previous 1 2 3
Author Message
 Post subject: Re: AroAI - v1.2
PostPosted: Sun Jun 30, 2013 7:58 am 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9209
Location: Sol d
Having AroAI v127 in one of my test games I found a situtation which possibly can be improved:

There's a bus route between Prondham Central and Chefingway Woods. Both stations are drive-through stations. But the road at Prondham Central is a dead-end road which goes quite a bit beyond the station. Thus busses drive a long way only to return to the station where they departed from - and only then leave from there (again) to their real destination.


Attachments:
File comment: savegame
aro_bus.sav [198.52 KiB]
Downloaded 70 times
File comment: necessary NewGRF
ogfx-landscape.tar [4.63 MiB]
Downloaded 82 times

_________________
Image
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
Top
   
PostPosted: Thu Aug 07, 2014 9:41 pm 
Offline
Engineer
Engineer

Joined: Thu Aug 07, 2014 5:51 pm
Posts: 6
I set the AI competitors in my offline game, downloading the personalities, but I get this error:

If I set AROAI, I get:

Quote:
1.1 API compatability in effect
Your script made an error: couldn't find library 'pathfinder.road' with version 3
*FUNCTION[main()] aroai-1.2\main.not line [25]
[this] TABLE
Please report the error to the following URL: (this)


If I set ADMIRALAI, I get:

Quote:
1.0 API compatability in effect
Your script made an error: couldn't find library 'queve.fibonacci_heap' with version 2
*FUNCTION[main()] admiralai-25\main.not line [22]


Can you help me?
Thanks


Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Fri Aug 08, 2014 8:07 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Sun Sep 09, 2007 5:03 am
Posts: 4694
Location: home
In the Game/AI script settings window, go to the online content, and select / download the missing libraries (Type-column: AILibrary).

This also holds for your other post I think.


Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Sun Jun 14, 2015 11:13 am 
Offline
Engineer
Engineer

Joined: Sun May 10, 2015 11:42 am
Posts: 60
Hello!
I like your AI. It's one of the best! :bow:
But since 1.4 it build a route and then in the AI Controle there stands: Can't buy busses!
Sry for my bad english! I am German


Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Sun Jun 14, 2015 11:23 am 
Offline
President
President

Joined: Sat Jul 18, 2009 5:54 pm
Posts: 897
Are you using any NewGRFs? What year did you start your game in?


Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Fri Jun 19, 2015 2:05 pm 
Offline
Engineer
Engineer

Joined: Sun May 10, 2015 11:42 am
Posts: 60
Hi!
I used Spring Patch pack and i Try it without or with NewGRF's I test it 1830, 1950 and 2000.


Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Fri Jun 19, 2015 9:30 pm 
Offline
President
President

Joined: Sat Jul 18, 2009 5:54 pm
Posts: 897
What happens if you don't use the Spring Patch Pack?

Anyway, if you have a game in which this happens (preferably without NewGRFs and started in 1950 or later), please post the savegame, and more importantly your openttd.cfg so that we can see your settings without having to install the patch pack :)


Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Sat Jun 20, 2015 7:42 pm 
Offline
Engineer
Engineer

Joined: Sun May 10, 2015 11:42 am
Posts: 60
OK with Vanilla and no GRF's it works. But with GRF's and Vanilla it don't works. With GRF's it try's to build 0x0000...
Idk what NewGRF is the Problem.
With SPP it works fine but with New GRF's :roll:
Here's a screen From SPP and the NGRF's
Hope someone can help


Attachments:
AroAI.jpg [649.52 KiB]
Downloaded 2 times
Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Sun Jun 21, 2015 2:05 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Jun 25, 2009 4:42 pm
Posts: 2365
Location: Location, Location
Now that's an interesting thing.

At a guess, I'd say your NewGRFs are at fault (are there buses available?) Beyond that, I'd need a copy of your savegame to investigate further

_________________
AroAI - A really feeble attempt at an AI

It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra


Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Sun Jun 21, 2015 2:36 pm 
Offline
Engineer
Engineer

Joined: Sun May 10, 2015 11:42 am
Posts: 60
Some GRF's have got busses. :D
Here is the Savegame with the GRF's from my last post.
It works only with SpringPatchpack Full :!:
If you want i can make a Vanilla+GRfs savegame :wink:
Hope I can help


Attachments:
AroAI error.sav [363.88 KiB]
Downloaded 38 times
Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Sun Jun 21, 2015 2:38 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Jun 25, 2009 4:42 pm
Posts: 2365
Location: Location, Location
Ah, overlooked the patchpack thing. Yes, if you could reproduce this in vanilla, that'd be lovely

_________________
AroAI - A really feeble attempt at an AI

It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra


Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Sun Jun 21, 2015 4:17 pm 
Offline
Engineer
Engineer

Joined: Sun May 10, 2015 11:42 am
Posts: 60
Please!
Vanilla+GRFs


Attachments:
AroAI error-VANILLA.sav [330.2 KiB]
Downloaded 46 times
Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Wed Mar 23, 2016 8:23 pm 
Offline
Engineer
Engineer

Joined: Sun May 10, 2015 11:42 am
Posts: 60
LOL!
I added Polroad and now it works.
:wink:


Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Mon Jun 13, 2016 11:00 am 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Feb 26, 2015 12:52 am
Posts: 247
AroAI can trigger bankrupt warnings when working too close to the max loan limit. I don't know if it's worth providing a savegame. It triggers when he's actively working, and loading a save won't have him pick up from where he was and due to the huge profits he has by that time, it won't trigger again soon. He has a £1,100k profit and 2600 road vehicles when this happens.

Search:

Quote:
dbg: [script] [0] [I] 09/11/1954 [Manager] Aro Delivery is in trouble and may go bankrupt soon. HA.
dbg: [script] [0] [I] 02/12/1956 [Manager] Aro Delivery is in trouble and may go bankrupt soon. HA.


EDIT: attached savegame. aroai is special, he actually starts working immediately after load. My bad.


Attachments:
openttdCore1.cfg [10.74 KiB]
Downloaded 29 times
openttdCore1.txt [1.09 MiB]
Downloaded 32 times
Aro Delivery, 1st Nov 1954.sav [1.91 MiB]
Downloaded 29 times

_________________
Formerly known as Samu
Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Mon Jun 13, 2016 11:21 am 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Feb 26, 2015 12:52 am
Posts: 247
Maybe this save is better. Let it advance 1 month, and it should trigger the bankrupt warning on November.


Attachments:
Aro Delivery, 1st Oct 1954.sav [1.91 MiB]
Downloaded 28 times

_________________
Formerly known as Samu
Top
   
 Post subject: Re: AroAI - v1.2
PostPosted: Thu Feb 28, 2019 12:38 am 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Feb 26, 2015 12:52 am
Posts: 247
The index town does not exist


Attachments:
Unnamed, 1996-09-04.sav [740.6 KiB]
Downloaded 7 times
Unnamed, 1996-09-02.png [229.53 KiB]
Not downloaded yet

_________________
Formerly known as Samu
Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 56 posts ]  Go to page Previous 1 2 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2019 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2019.
Hosted by Zernebok Hosting.