Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Wed Dec 12, 2018 1:24 pm

All times are UTC




Post new topic  Reply to topic  [ 29 posts ]  Go to page Previous 1 2
Author Message
 Post subject: Re: WormAI
PostPosted: Sat May 28, 2016 2:13 pm 
Offline
Engineer
Engineer

Joined: Sun Jul 14, 2013 12:33 pm
Posts: 87
Location: Netherlands
And another update for WormAI fixing a few crashes and bugs and improving several things.

Changelog

Version 6, 2016-05-28
  • Fix: Crash when loading a savegame saved when building a rail route or when replacing trains.
  • Fix: Crash when we get loaded into a savegame without getting any saved data.
  • Fix: We need to make sure we have at least some money to build a rail route.
  • Fix: Make sure that the vehicle we share orders with is valid.
  • Fix: 90 degree turns near a passing lane.
  • Fix: border of map starts at 1,1 not 0,0. (We were not building airports in towns near the left and upper borders.)
  • Change: more checks before building a passing lane, we should see less land is sloped wrong messages.
  • Change: Improved airport upgrading.
  • Change: Better handling of airplane NewGRF's that have high prices.
  • Change: Rail pathfinding tweaks.
  • Change: Don't cancel and remove routes just because we don't have money for vehicles. Just add them later when we do have the money.
  • Change: Don't use airplanes that are hardly profitable.
  • Change: Blacklist airports that we failed to upgrade for a while.


Top
   
 Post subject: Re: WormAI
PostPosted: Sun Apr 02, 2017 8:18 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Mon Jun 09, 2003 6:21 pm
Posts: 4538
Location: /home/sweden
I find it interesting that one crossing made by your AI is using bridge and one is not. Is it by random or by the funds available? The road and rail pieces don't have built date, but stations do and it looks by the owner of roads/stations that the road was there first.

Other than that, or maybe thanks to that, your AI is in shared lead in the operating profit graph in my 14 AI test game. At year 1967 started from 1953.


Attachments:
Jones & Co., 19th Sep 1967.png [1.62 MiB]
Not downloaded yet

_________________
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Top
   
 Post subject: Re: WormAI
PostPosted: Mon Apr 03, 2017 5:31 pm 
Offline
Engineer
Engineer

Joined: Sun Jul 14, 2013 12:33 pm
Posts: 87
Location: Netherlands
I had to check the code since it's almost a year since I worked on this but it seems that it depends on the pathfinder costs whether it chooses to build a bridge or not.
Besides that since WormAI doesn't yet do road transport I guess it doesn't really matter too much what it chooses. Especially if it's competing against other AI's it might be a strategy to lower competitor's profits.

For normal users it might be annoying so maybe I should add a setting to disallow building tracks across roads.


Top
   
 Post subject: Re: WormAI
PostPosted: Tue Apr 04, 2017 7:35 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Mon Jun 09, 2003 6:21 pm
Posts: 4538
Location: /home/sweden
Wormnest wrote:
Especially if it's competing against other AI's it might be a strategy to lower competitor's profits.


Maybe I care too much about ethics, but I file that under unfair competition to on purpose use rail/road crossings to block road traffic. It is very hard for other AIs to do anything about it if they didn't build the road themselves. If it is my AI that built the road, I can (and do) replace it with a bridge when there is a bus/truck crash event, but if there is a fellow road AI that built the road and does not care about upgrading it to a bridge, then it is not so much I can do about it.

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


Top
   
 Post subject: Re: WormAI
PostPosted: Sun Apr 16, 2017 2:47 pm 
Offline
Engineer
Engineer

Joined: Sun Jul 14, 2013 12:33 pm
Posts: 87
Location: Netherlands
A new version of WormAI is available on bananas.
Only changes in aircraft handling this time. WormAI should now be better at handling the World Airliners Set and other NewGRF that have higher costs for large and longer range aircraft.

Changelog

Version 7, 2017-04-16
  • Fix: Not checking air route range at startup under certain conditions.
  • Change: Adjust maximum distance for air routes when we have limited money.
  • Change: Adjust aircraft selection when we have limited funds and high prices of longer range aircraft.


Top
   
 Post subject: Re: WormAI
PostPosted: Thu Nov 22, 2018 2:34 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Feb 26, 2015 12:52 am
Posts: 240
WormAI v7 on OpenTTD 1.8.0


Too long to load error when loading a savegame


Attachments:
Unnamed, 2057-01-11.png [52.32 KiB]
Not downloaded yet
Unnamed, 2056-10-03.sav [10.35 MiB]
Downloaded 5 times

_________________
Formerly known as Samu
Top
   
 Post subject: Re: WormAI
PostPosted: Thu Nov 22, 2018 4:20 pm 
Offline
Engineer
Engineer

Joined: Sun Jul 14, 2013 12:33 pm
Posts: 87
Location: Netherlands
xarick wrote:
Too long to load error when loading a savegame


Thanks for the report.
Assuming this is the save that caused the error. Do you also have a savegame from a little earlier that does load or at least mapsize and rough estimate about number of vehicles.


Top
   
 Post subject: Re: WormAI
PostPosted: Thu Nov 22, 2018 7:41 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Feb 26, 2015 12:52 am
Posts: 240
Sorry, I don't have. I saved it for the night and to continue on the next day. It was a one time save

_________________
Formerly known as Samu


Top
   
 Post subject: Re: WormAI
PostPosted: Thu Dec 06, 2018 5:40 am 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Feb 26, 2015 12:52 am
Posts: 240
WormAI doing a bad clean up job and creating some roller coaster rail routes. Savegame attached. The settings are borrowed from server 7 of btpro, they're probably influencing some of the weird misbehaviours.

Image

Image


Attachments:
Sem nome, 5 Mar 2003.png [181.88 KiB]
Not downloaded yet
Sem nome, 14 Out 2000.png [135.43 KiB]
Not downloaded yet
Sem nome, 27 Out 2000.sav [161.38 KiB]
Downloaded 5 times

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

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.