Long time ago I wrote an AI called Clueless, it was actually the first posted user AI for the NoAI framework. It has been broken for long time as that was almost a year ago, minus a few months.
Clueless was not a very smart AI, thus the name.
One of the problems back then was that there existed lot less functions to query information from the map. Also in the beginning there was no friendly error messages when the AI crashes etc.
Now that the API has improved and matured a lot, and NoAI have been merged with trunk, I got the idea to get Clueless back into a non-broken form. This is actually not the first such attempt. I did some such work in June 2008. All this has resulted in CluelessPlus.
The two most annoying things with Clueless has been addressed. It does no longer spam towns with 10-30 road stations and then picks the best one. Instead it uses test mode and just records which places a station can be placed and after that picks the best one using same old criteria. As this new method is not as failsafe as the old one it restart the process if it can't build at the selected location.
Another thing that has changed is the pathfinder. Clueless now uses the library road pathfinder so it is compatible with built on slope and can get around industries, which the old pathfinder couldn't. To say the truth, the old pathfinder sucked quite a lot
Other than that, it manages vehicles which I don't remember if original Clueless had, as I'm quite unsure if it was possible to get number of waiting cargo at stations back then. The number of AI names has been raised from 8 to 16 due to the increased number of possible companies in OpenTTD.The AI today, early 2010
CluelessPlus has since I brought Clueless up to date got several updates and fixes here and there to make it a better AI. It still only do bus transport between towns, but tries to do that good without being to much in the way.
Kogut - Sun Mar 07, 2010 wrote:
clueless is nice, quiet ai - never crashes (for me), always is profitable (usually it is not very high profit) but sometimes is the richest company (better than Rondje!)Some screenshots:
File comment: 15 companies, on the map, all starting the same time. The connection from this town has just been completed and all companies has to rush to get their buses into the lead of the worm of buses that competes for the passengers.
release_of_buses.png [77.27 KiB]
Downloaded 666 times
graphs.png [26.73 KiB]
Downloaded 560 times
DownloadSee last post for most recent version, or use BaNaNaS - the content service for OpenTTD
You can do manual downloads from the bananas website
as well as using the in-game content system. It is recommended to use the in-game content download dialog as then you'll automatically get all dependencies as well. If you opt for manual download, then you must make sure you get the dependencies as well.Dependencies: (AI libraries)
Pathfinder.Road - version 3
Queue.FibonacciHeap - version 2
SuperLib - version 7http://bananas.openttd.org/en/ailibrary/
(library download at bananas website)
_________________My OpenTTD contributions
(AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)Junctioneer
(a traffic intersection simulator)