Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Mon Sep 24, 2018 10:32 am

All times are UTC




Post new topic  Reply to topic  [ 198 posts ]  Go to page Previous 15 6 7 8 9 10 Next
Author Message
PostPosted: Mon Aug 31, 2009 3:42 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Fri Jan 19, 2007 7:26 pm
Posts: 326
Because I was having problems with AI's on my custom build, I ran a few AI's on trunk (for 40 years) to see where they originated from. The following screenshost show issues I saw with your AI:
1a - doesn't repay loan even though it has more than enough money [EDIT: my bad, it does! :D]
1b - doesn't sell off trains losing money even though the 'vehicle seller task' was completed
2a - weird pathfinding in the bottom of the screen towards the station
2b - also curious pathfinding, next to that an unconnected station

You probably already know about them but on the other hand it might help you developing your AI :) Next to that, your AI didn't build that many routes. Maybe the map is hard with hilly terrain and high sea level. [EDIT: money shortage might be a problem too]. I'm not sure which settings I set for your AI.


Attachments:
File comment: screenshot 1
Unnamed, 1992-03-26.png [230.29 KiB]
Downloaded 53 times
File comment: screenshot 2
Unnamed, 1992-03-26#1.png [351.8 KiB]
Downloaded 55 times
Top
   
PostPosted: Wed Sep 02, 2009 1:29 am 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
Hei, bokkie :D,
1. Yes it does pay loan, but quickly take it again :D
1b. Yes, it doesn't handle that problem.
2a.b. Yes pathfinding is still another issue to taken care.
Thanks bokkie, this would really help .:D

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Top
   
PostPosted: Fri Sep 11, 2009 4:14 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
Any body know why Trans failed on loading a saved game in r17496.
It said there is no 'rawget' index. I hope I didn't miss any announcement. Last known working was r17297

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Top
   
PostPosted: Fri Sep 11, 2009 4:40 pm 
Offline
Tycoon
Tycoon

Joined: Thu Dec 20, 2007 12:49 pm
Posts: 3653
fanioz wrote:
Any body know why Trans failed on loading a saved game in r17496.
It said there is no 'rawget' index. I hope I didn't miss any announcement. Last known working was r17297

Provide a direct link to the version used, a link to the savegame and I'll have a look.


Top
   
PostPosted: Fri Sep 11, 2009 6:54 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
Here is saved game, and screenshoot of 3 AI's. Trans, NoCab, Mogul.
Looking at type of :
-data => Closure
-version => Instance

so there was no 'rawget' and 'rawin'

edit: to be continued due to attachement limit ....


Attachments:
save_game_made _by17496.sav [43.73 KiB]
Downloaded 62 times
Trans_090829_NoCab_328_Mogul_5390.PNG [57.29 KiB]
Downloaded 23 times

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Last edited by fanioz on Fri Sep 11, 2009 6:59 pm, edited 1 time in total.
Top
   
PostPosted: Fri Sep 11, 2009 6:57 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
.... (see also above)
Here is simple script that does well.


Attachments:
Simplified_AI.png
Simplified_AI.png [ 13.23 KiB | Viewed 3656 times ]
simplified.tar [10 KiB]
Downloaded 73 times

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image
Top
   
PostPosted: Fri Oct 09, 2009 8:52 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Feb 05, 2005 2:35 pm
Posts: 1190
Location: Netherlands, Utrecht
I tried a game with Trans 90829 among other AI's.
It did nothing at all, except building one depot and a truck loading bay at a power plant. According to the debug window it apparently needs moer money. It was 1977, and it could have loaned 200,000 GBP. Yet it payed it all back and does many runs of (only) trying to plan or build things.
See attached save game and screenshots.
OpenTTD 0.7.3
NewGRFs: OpenGFX, better vehicles names, Av8 1.501

(I will post comparable posts in the other AI's topics)


Attachments:
AI game.sav [658.84 KiB]
Downloaded 65 times
File comment: also some error message
Almighty Transport, 15th Aug 1989.png [171.58 KiB]
Downloaded 1 time
File comment: it went on like this for 10 years straight
Almighty Transport, 20th Aug 1989.png [170.34 KiB]
Downloaded 1 time

_________________
*hmz*
Top
   
PostPosted: Sat Oct 10, 2009 11:43 am 
Offline
Engineer
Engineer

Joined: Tue Jan 06, 2009 6:27 pm
Posts: 83
Location: Helsinki, Finland
The AI also has problem with custom vehicle sets, it will often fail to build any trains with UKRS, or NARS. It still builds routes, it just never buys trains for them. Often it goes haywire after the first route fails to get a train, it builds a new route right next to it between the same industries(sometimes getting up to 6 different routes between the same industries). With £500,000 loan, at 1921 I'd imagine it should be able to buy at least 1 train. I noticed it does buy a locomotive in the depot, then sells it immediately afterwards, and then moves onto the next route(which often is right alongside the one done beforehand). The AI works fine with the default trains, however.

i.e it reports it found locomotive: 7 and wagon 12 when transporting GRVL with the UKRS + UKRS Addon + PBI + PBI Brick Chain. It worked fine with the same cargo with the default trainset + default wagons carry new cargoes grf.


Attachments:
Unnamed, 13-02-1920.png [366.5 KiB]
Downloaded 1 time
Unnamed, 05-07-1920.png [356.43 KiB]
Downloaded 1 time
Top
   
PostPosted: Wed Oct 14, 2009 1:17 am 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
@Menno : the road service doesn't work since last few changes in Trans AI road pathfinder.
@ Vemarkis: I think, I should try with your setup (of newgrf). And I'll try a better engine selection.

Thanks, for both of your report. I hope I'll have time to fix this. :D

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Top
   
PostPosted: Fri Oct 30, 2009 2:32 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
Just try to update my AI :D
:: it should run safely without load/save
:: Servicing by Road Vehicles only : (Bus, Truck and Tram)

Just give it try, thanks :D

note:
-not yet uploaded to bananas
-download available in the 2nd post or download/file.php?id=119279

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Top
   
PostPosted: Tue Nov 03, 2009 8:41 pm 
Offline
Engineer
Engineer

Joined: Tue Nov 03, 2009 8:36 pm
Posts: 2
Don't know if this error is already reported.

The following keeps happening after opening a save game (where the AI worked in the game years before good) after about one minute.

OS: Windows 7 RC 64 bit
Game: OpenTTD 7.3 64 bit


Attachments:
openttd-ai-crash.jpg [249.94 KiB]
Downloaded 1 time
Top
   
PostPosted: Wed Nov 04, 2009 2:05 am 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
Joriz wrote:
Don't know if this error is already reported.

The following keeps happening after opening a save game (where the AI worked in the game years before good) after about one minute.

OS: Windows 7 RC 64 bit
Game: OpenTTD 7.3 64 bit

Thanks for testing, that is indeed a new report. Probably I would need your savegame, to see actually what happened with RoadVehicle71 and its Group.
:D

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Top
   
PostPosted: Wed Nov 04, 2009 7:30 pm 
Offline
Engineer
Engineer

Joined: Tue Nov 03, 2009 8:36 pm
Posts: 2
The error keeps displaying after 1 minute of playing.

In the attachment you can find my savegame.


Attachments:
Sarnville Transport, 27th Jun 1990.sav [1.09 MiB]
Downloaded 74 times
Top
   
PostPosted: Sat Nov 07, 2009 7:38 pm 
Offline
Chairman
Chairman

Joined: Sat Jul 18, 2009 5:54 pm
Posts: 885
Hi Fanioz,
I've had a little AI testing time now, and I'm glad to see that you've come up with a new release. There are quite a lot of changes :)
Here are my remarks (using 0.7.3):
  • It's good that it connects stations, but maybe it shouldn't connect pickup stations with dropoff stations.
  • In my tests, TransAI 091030 didn't build a train at all.
  • It seems that the setting "allow pax cargo" doesn't work. The AI still builds buses.
  • I think the AI has some preference towards the cheaper cargoes, mostly passengers, mail, livestock and grain.
Anyway, it's good to see that you're still working on your AI. :)


Top
   
PostPosted: Mon Nov 09, 2009 10:28 am 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
Joriz wrote:
The error keeps displaying after 1 minute of playing.

In the attachment you can find my savegame.


Thanks for your save game. I've fixed it today :D
Brumi wrote:
Hi Fanioz,

Hi, Brumi. :)
Brumi wrote:
It's good that it connects stations, but maybe it shouldn't connect pickup stations with dropoff stations.

Good idea, have not implemented it yet.
Brumi wrote:
In my tests, TransAI 091030 didn't build a train at all.

Yup, I didn't figure out yet, how I could introduce the train again. (Hey, I've said that this version would only build Road vehicle and Trams :D )
Brumi wrote:
It seems that the setting "allow pax cargo" doesn't work. The AI still builds buses.

That is just a 'preview' setting. :mrgreen: Oh, no I'm forget to activate it (even in 091109 :oops: )
Brumi wrote:
I think the AI has some preference towards the cheaper cargoes, mostly passengers, mail, livestock and grain.

Well, I would say, it doesn't sort cargoes by price only. It choose a Drop off (sort by number of cargo accepted), check which cargo would be accepted , then find a pair. This would make AI to choose Town / Factory over a Power Plant in Temperate climate, etc.
Brumi wrote:
Anyway, it's good to see that you're still working on your AI.

:D Thanks, I still have time to code, but have a limited internet access :roll:


So...
I've uploaded TransAI 091109 on 2nd post. In this forum Only , no Bananas, no Train. :lol:
Click here to download directly

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Top
   
PostPosted: Sat Feb 20, 2010 11:25 am 
Offline
Tycoon
Tycoon

Joined: Wed Aug 26, 2009 6:33 am
Posts: 2493
Location: Poland
savegame added, after crash


Attachments:
Przechwytywanie.PNG
Przechwytywanie.PNG [ 57.18 KiB | Viewed 3056 times ]
Przechwytywanie2.PNG [23.46 KiB]
Downloaded 1 time
trans crash.sav [38.46 KiB]
Downloaded 57 times

_________________
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
Top
   
PostPosted: Fri Feb 26, 2010 8:23 am 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
Thanks for reporting, I've to waiting for "the right time" to release the next version. :D

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Top
   
PostPosted: Sat Feb 27, 2010 11:55 am 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Fri Dec 19, 2008 5:03 am
Posts: 312
Location: Indonesia
Updated :
#the first page
#Download Area
#NoAI page if you're using svn.

and of course Trans-AI was available today, 100227 :D
-beware of the library needed to run. 8)
-bugs reports are always free :lol:

_________________
Correct me If I am wrong - PM me if my English was bad :D

**[OpenTTD AI]** Image
***[NewGRF] *** Image


Top
   
PostPosted: Sat Feb 27, 2010 1:16 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Mon Jun 09, 2003 6:21 pm
Posts: 4537
Location: /home/sweden
changelog wrote:
*100228
Removed : Rail service
Added : Aircraft (passenger only) service
Added : Ship service
Added : Tram service


I tired your last version which did well except that it did only build airports. Reading your change log I hoped that it should also build ships and tram service? I loaded the generic tram set.

It might have been that the AI though that air was more profitable, so I turned it off in your AI Settings, but then the AI didn't do anything. I saw that your water connector found two towns close to water which were connected to the same body of water but it never built anything.

Is this intended?

I used a mountainous/rough map but with height distribution = medium so there were still plenty of rather flat areas. (sea-level was set to high)

_________________
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)


Top
   
PostPosted: Sat Feb 27, 2010 1:29 pm 
Online
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9036
Location: Sol d
Why not offer it for download via Bananas, too? Btw: Personally I think there's hardly ever the 'right time' (as in perfect) for most things.

_________________
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
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 198 posts ]  Go to page Previous 15 6 7 8 9 10 Next

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-2018 phpBB Limited

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