Page 2 of 4

Re: JAMI: Just Another Moronic Intelligence

Posted: 11 Aug 2009 10:43
by Xander
Wasila wrote:What is JAMI's technical name? start_ai jami fails to work.
:?:

Try JAMI (all capitals) but I'm sure casing doesn't make a difference. What's the error message?

Re: JAMI: Just Another Moronic Intelligence

Posted: 11 Aug 2009 11:10
by Wasila
WARNING: Failed to load the specified AI.

I copied the .tar file straight to /content_download (whatever it's called/ai

I tried extracting the folder as well but that didn't work either.

Re: JAMI: Just Another Moronic Intelligence

Posted: 11 Aug 2009 11:15
by Yexo
Wasila wrote:WARNING: Failed to load the specified AI.

I copied the .tar file straight to /content_download (whatever it's called/ai

I tried extracting the folder as well but that didn't work either.
Try using list_ai in the console, does it show up?

Re: JAMI: Just Another Moronic Intelligence

Posted: 11 Aug 2009 11:34
by Xander
Try this tar file instead - it might be that the JAMI folder was called JAMI<space>0.2

EDIT: Removed file to prevent any confusion in the future

Re: JAMI: Just Another Moronic Intelligence

Posted: 11 Aug 2009 11:47
by Wasila
Doesn't work. Should I restart the game after adding the file?

Re: JAMI: Just Another Moronic Intelligence

Posted: 11 Aug 2009 12:04
by Xander
Yeah. Copy JAMI.tar to downloaded_content (or whatever it's called)/ai

Then restart OpenTTD. Do list_ai at the main menu to see if JAMI has been picked up.

Re: JAMI: Just Another Moronic Intelligence

Posted: 11 Aug 2009 15:42
by Wasila
It's been accepted! Love the dialogue :)

Re: JAMI: Just Another Moronic Intelligence

Posted: 11 Aug 2009 15:50
by Xander
Posted above Tar to the OP. It seems it was the containing folder containing a space was the problem.

Re: JAMI: Just Another Moronic Intelligence

Posted: 11 Aug 2009 15:54
by Wasila
Unfortunately, I got an error xD. Attached.

Also which vehicle types does JAMI use?

Re: JAMI: Just Another Moronic Intelligence

Posted: 11 Aug 2009 15:57
by Xander
Wasila wrote:Unfortunately, I got an error xD. Attached.

Also which vehicle types does JAMI use?
My bad. I've gone and re-upped version 1. Where's the *facedesk* emoticon?

I'll get version 2 back up when I get home. I might even try and get v3 ready and up that instead, now I've got my head around this versioning malarky.

JAMI uses VT_ROAD, or in layman terms Buses. She's being taught to use trucks tonight, hopefully.

Re: JAMI: Just Another Moronic Intelligence

Posted: 11 Aug 2009 16:05
by Wasila
:bow: <-- Imagine that he's hitting the ground in annoyance. Can't wait to try the real deal!

Re: JAMI: Just Another Moronic Intelligence

Posted: 11 Aug 2009 17:08
by Xander
Fixed. OP version should be version 2 and should work. If someone could test and verify for me that'd be great.

Hopefully this mess won't happen again as I'm using the noai site to handle my versioning :)

Re: JAMI: Just Another Moronic Intelligence

Posted: 12 Aug 2009 08:12
by Lord Aro
i think you've gone and done it again
i got the same error message as last time

Re: JAMI: Just Another Moronic Intelligence

Posted: 12 Aug 2009 08:16
by Xander
Huh. That's definietly v1 up there and I definietly upped v2.

Well, nevermind. v3 (Trucks and Bucks) should be ready for release tonight. I'll take down the existing file to prevent further problems.

Re: JAMI: Just Another Moronic Intelligence

Posted: 12 Aug 2009 08:19
by Abenhor
Xander wrote:Fixed. OP version should be version 2 and should work. If someone could test and verify for me that'd be great.
It works.

Re: JAMI: Just Another Moronic Intelligence

Posted: 12 Aug 2009 08:20
by Xander
Abenhor wrote:
Xander wrote:Fixed. OP version should be version 2 and should work. If someone could test and verify for me that'd be great.
It works.
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.

Re: JAMI: Just Another Moronic Intelligence

Posted: 12 Aug 2009 08:31
by Abenhor
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 got version 2. Inside tarball file is a folder named "JAMI0.2" (without spaces).
However, Info.nut says

Code: Select all

function GetVersion()     { return 1; }
function GetDate()        { return "2009-08-01"; }
Isn't it version 2?

Re: JAMI: Just Another Moronic Intelligence

Posted: 12 Aug 2009 09:00
by Xander
Check Builder.nut for Builder::BuildRoadStation (might be BuildBusStation, I can't remember exactly)

It'll run Prospector.FindStationSite. Version 1 looks if the returned value is a station already first, version 2 checks for FindStationSite returning false first instead.

I forgot to update those numbers - a problem I'll be rectifying from v3 onwards :)

Re: JAMI: Just Another Moronic Intelligence

Posted: 12 Aug 2009 09:27
by Abenhor
Xander wrote:Check Builder.nut
Checked. Ah! It's version 1. :roll:
I needed to run 4 instances of JAMI during 5 months in order to see that error... :o

Re: JAMI: Just Another Moronic Intelligence

Posted: 12 Aug 2009 10:00
by Xander
Abenhor wrote:
Xander wrote:Check Builder.nut
Checked. Ah! It's version 1. :roll:
I needed to run 4 instances of JAMI during 5 months in order to see that error... :o
Good to know - her site locator is pretty solid and I'm planning to improve it in the next release (or at least some point in the future) so that she will build on-road bus stops if a dedicated station can't be built.