JAMI: Just Another Moronic Intelligence

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

User avatar
Dustin
Transport Coordinator
Transport Coordinator
Posts: 272
Joined: 07 Dec 2005 19:22

Re: JAMI: Just Another Moronic Intelligence

Post by Dustin »

Xander wrote: Yeah - but it's still not the right version. I've just downloaded it again (hurrah for ghost links!) but it's Certainly version 1 (that crashes) up there.
I have found Firefox gets along with uploading to this board better than IE and shorter files are better yet. (Thus why I zip my tars).
User avatar
Xander
Route Supervisor
Route Supervisor
Posts: 485
Joined: 18 May 2007 12:47
Location: Oxford
Contact:

Re: JAMI: Just Another Moronic Intelligence

Post by Xander »

When love and hate collide!

I'm very happy to report that version 3 was completed and released mere minutes ago.

Version 3 introduces moving freight by road as well as a more structured banking system (i.e. one that works).

Concerns around JAMI's ability to find a good route within a reasonable time are due to be dealt with for version 4.

As always, feedback is always welcome.
Real Tycoons do it on Trains!

JAMI: Just Another Moronic Intelligence
Wasila
Tycoon
Tycoon
Posts: 1498
Joined: 15 Mar 2008 07:02

Re: JAMI: Just Another Moronic Intelligence

Post by Wasila »

I just started the newly released JAMI in an already busy environment and got the following error before construction began:

Save function is not implemented.
User avatar
Xander
Route Supervisor
Route Supervisor
Posts: 485
Joined: 18 May 2007 12:47
Location: Oxford
Contact:

Re: JAMI: Just Another Moronic Intelligence

Post by Xander »

Wasila wrote:I just started the newly released JAMI in an already busy environment and got the following error before construction began:

Save function is not implemented.
That's not an error :P

Errors are red text and a message box. White text is just a warning that you can ignore because I know about it.

Other than that did she build anything?
Real Tycoons do it on Trains!

JAMI: Just Another Moronic Intelligence
Wasila
Tycoon
Tycoon
Posts: 1498
Joined: 15 Mar 2008 07:02

Re: JAMI: Just Another Moronic Intelligence

Post by Wasila »

No. It just keeps saying the Save function is not implemented. So far it's said that roughly ten times.
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: JAMI: Just Another Moronic Intelligence

Post by Yexo »

Wasila wrote:No. It just keeps saying the Save function is not implemented. So far it's said that roughly ten times.
Most likely you have autosave turned on. OpenTTD will print a warning about the save function every time the game is saved.
User avatar
Xander
Route Supervisor
Route Supervisor
Posts: 485
Joined: 18 May 2007 12:47
Location: Oxford
Contact:

Re: JAMI: Just Another Moronic Intelligence

Post by Xander »

I must switch that message off. If only I knew how :P

She should say something the moment she starts - PROSPECTOR: Finding best route - or something to that effect. What's the last line before she just keeps mentioning her lack of a save function?
Real Tycoons do it on Trains!

JAMI: Just Another Moronic Intelligence
Wasila
Tycoon
Tycoon
Posts: 1498
Joined: 15 Mar 2008 07:02

Re: JAMI: Just Another Moronic Intelligence

Post by Wasila »

I have autosave switched on - but only once a year. The message has appeared more often than that. It does say that the prospector is 'looking for best route', but that was roughly a year ago.
User avatar
Xander
Route Supervisor
Route Supervisor
Posts: 485
Joined: 18 May 2007 12:47
Location: Oxford
Contact:

Re: JAMI: Just Another Moronic Intelligence

Post by Xander »

That's fine. See my note about her taking ages to find a good route - she has to work out every possible option before committing. I'm going to be working on that for version 4. Try running her over a smaller map and she should be a much more responsive.
Real Tycoons do it on Trains!

JAMI: Just Another Moronic Intelligence
Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: JAMI: Just Another Moronic Intelligence

Post by Roujin »

Xander wrote:I must switch that message off. If only I knew how :P
By implementing saving and loading ;)
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage
User avatar
Xander
Route Supervisor
Route Supervisor
Posts: 485
Joined: 18 May 2007 12:47
Location: Oxford
Contact:

Re: JAMI: Just Another Moronic Intelligence

Post by Xander »

Roujin wrote:
Xander wrote:I must switch that message off. If only I knew how :P
By implementing saving and loading ;)
AMAGAD REALLY?!?! 8o 8o 8o

¬_¬

:D
Real Tycoons do it on Trains!

JAMI: Just Another Moronic Intelligence
User avatar
Dustin
Transport Coordinator
Transport Coordinator
Posts: 272
Joined: 07 Dec 2005 19:22

Re: JAMI: Just Another Moronic Intelligence

Post by Dustin »

Xander wrote:That's fine. See my note about her taking ages to find a good route - she has to work out every possible option before committing. I'm going to be working on that for version 4. Try running her over a smaller map and she should be a much more responsive.
Maybe just set a threshold and start building when it finds a route that is "good enough?" D&RG of course is the extreme example of this.

Edit: John and Moribund Integrated? Heh. Is "Crimson Mutual" in the list?
Last edited by Dustin on 13 Aug 2009 22:49, edited 1 time in total.
User avatar
Leanden
Tycoon
Tycoon
Posts: 2613
Joined: 19 Mar 2009 19:25
Location: Kent

Re: JAMI: Just Another Moronic Intelligence

Post by Leanden »

Watching this for future updates :)
Image
User avatar
Dustin
Transport Coordinator
Transport Coordinator
Posts: 272
Joined: 07 Dec 2005 19:22

Re: JAMI: Just Another Moronic Intelligence

Post by Dustin »

Ran JAMI with D&RG. JAMI is sad. It's 1976 and she just cries all the time.
Attachments
JAMI-Frozen.png
JAMI-Frozen.png (59.99 KiB) Viewed 1125 times
User avatar
Lord Aro
Tycoon
Tycoon
Posts: 2369
Joined: 25 Jun 2009 16:42
Location: Location, Location
Contact:

Re: JAMI: Just Another Moronic Intelligence

Post by Lord Aro »

i came across this while testing
Attachments
Grindtown Transport, 25th Apr 1957.png
Grindtown Transport, 25th Apr 1957.png (259.63 KiB) Viewed 1120 times
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
User avatar
Xander
Route Supervisor
Route Supervisor
Posts: 485
Joined: 18 May 2007 12:47
Location: Oxford
Contact:

Re: JAMI: Just Another Moronic Intelligence

Post by Xander »

Dustin wrote:Maybe just set a threshold and start building when it finds a route that is "good enough?" D&RG of course is the extreme example of this.

Edit: John and Moribund Integrated? Heh. Is "Crimson Mutual" in the list?
Interesting idea. I might very well go with that. And no, Crimson Mutual spells CM, not JAMI :P
Leanden wrote:Watching this for future updates :)
Always good to know she has fans :)
Dustin wrote:Ran JAMI with D&RG. JAMI is sad. It's 1976 and she just cries all the time.
Lord Aro wrote:i came across this while testing
Many thanks, chaps. I'll be finding out what's caused this as soon as I stop her trying to put squares in the circle holes :lol:
Real Tycoons do it on Trains!

JAMI: Just Another Moronic Intelligence
Wasila
Tycoon
Tycoon
Posts: 1498
Joined: 15 Mar 2008 07:02

Re: JAMI: Just Another Moronic Intelligence

Post by Wasila »

What exactly is the save/load feature? I thought it meant that the AI could only be used until you saved and reloaded but that's obviously not it...

Also it's between roughly two years and it still hasn't done anything. It didn't take this long the first time.
User avatar
Xander
Route Supervisor
Route Supervisor
Posts: 485
Joined: 18 May 2007 12:47
Location: Oxford
Contact:

Re: JAMI: Just Another Moronic Intelligence

Post by Xander »

Wasila wrote:What exactly is the save/load feature? I thought it meant that the AI could only be used until you saved and reloaded but that's obviously not it...
You're mostly right. The idea is that some AI's will need to save information, usually things like lists of towns they're connected or what they're currently doing. JAMI, however, is being taught to read all her information off the map. For example she can see which towns are already connected without needing a pre-made list. Therefore she doesn't need to have save/load implemented.
Wasila wrote:Also it's between roughly two years and it still hasn't done anything. It didn't take this long the first time.
She does a lot more thinking now before building a route. She works out every possible connection, including passengers and mail. That means she normally gets a little wrapped up and takes a while before commiting to something. It's a problem I'll be working with her on for version 4 :)
Real Tycoons do it on Trains!

JAMI: Just Another Moronic Intelligence
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: JAMI: Just Another Moronic Intelligence

Post by Yexo »

Xander wrote:Therefore she doesn't need to have save/load implemented.
In that case the best option is to implement empty save and load functions to make sure the warning is disabled.
User avatar
Xander
Route Supervisor
Route Supervisor
Posts: 485
Joined: 18 May 2007 12:47
Location: Oxford
Contact:

Re: JAMI: Just Another Moronic Intelligence

Post by Xander »

Yexo wrote:
Xander wrote:Therefore she doesn't need to have save/load implemented.
In that case the best option is to implement empty save and load functions to make sure the warning is disabled.
I plan to. I just couldn't get my head around tables and wanted to get JAMI v3 out there - given the mess v2 was causing :P
Real Tycoons do it on Trains!

JAMI: Just Another Moronic Intelligence
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 2 guests