Page 24 of 25

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 28 Jan 2013 02:24
by Morloth
borg83 wrote:Since OpenTTD 1.3 (beta) NoCAB names itself NiceCAB. Probably because of the unified difficulty settings.

Is AIInfo::AddSetting() still working as intended? Is there still a way to set the game difficulty to easy/medium/hard/custom?
I thinks everything is as it should. I downloaded the 1.3 beta and the default settings put the AIs on the 'easy' mode. So if you go to the advanced options you can change the default difficulty of the AI (which is easy if you just downloaded it). So if you want NoCAB to perform better, ramp it up to "high" and you should be good to go.

I don't know what happens if you change the default settings of the AI, I assume those settings take precedence of the 'default difficulty settings', but I'm not sure.

Thanks for your feedback!
Bram

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 04 Feb 2013 21:13
by Hyronymus
I still run into this error sadly:
Nederlandsch Vervoersbedrijf, 23 Dec 1837#1.png
(422 KiB) Downloaded 16 times
This time I expanded the scrip window btw ;).

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 04 Feb 2013 21:37
by Morloth
Hyronymus wrote:I still run into this error sadly:
Nederlandsch Vervoersbedrijf, 23 Dec 1837#1.png
This time I expanded the scrip window btw ;).
Thanks :). Unfortunately the bleeding edge edition is no longer in development (nor is NoCAB officially). So I suggest that you use NoCAB instead of the bleeding edge edition.

Cheers!

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 11 Apr 2013 00:29
by Samu
Hi. NoCAB v499 has got 40 ships blocked by its own docks. See screenshot.

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 15 May 2013 14:32
by gelignite
Hi,

in case it is important: I'm currently on ottd 1.1.3.

I noticed that NoCAB (v.2.1.3+) groups vehicles per route, but does NOT share orders within these groups. Once upon a time ... NoCAB got really profitable and I decided to buy it (bought 100 % shares). It was tedious to change all orders (per group) manually. Could you manage it, that it will use shared orders?

Beside: I updated to v2.1.4. But although it's v.2.1.4 it names itself NoCAB - v2.1.3 ingame (main.nut lines 138, 139)

Best regards
gelignite

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 15 May 2013 18:45
by Morloth
Hi gelignite,

I will look into this. I remember that NoCAB used to do what you suggested but I ran into some bug which messed up all the orders for all vehicles in the same group so I decided to take it out again (I think it was actually discussed in this topic -- somewhere). I could add it as an option and turn it off by default so you can check if it works and if it actually produces the same kind of issues it did before.

I'll get back at you once this has been implemented. Thanks for your feedback!
Bram

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 11 Jul 2013 09:20
by Kogut
Crash on saving:

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 14 Jul 2013 19:32
by Wormnest
NOCAB crashes on saving here too. Besides that it also forgets to increase it's station length.

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 14 Jul 2013 19:59
by Kogut
Wormnest wrote:NOCAB crashes on saving here too. Besides that it also forgets to increase it's station length.
Can you post the savegame? I would like to check why and how AIAI failed on this map.

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 15 Jul 2013 12:22
by Wormnest
Sorry, the savegame is too big for the forum.

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 08 Oct 2013 20:59
by Yajna
Running NoCAB on my latest map. Thank you for your time and effort.

The AI did not crash, but I noticed that it had 490 RV in 1978. In 1982 it dropped to 117 RV. The AI took a serious plunge. (See attached pics. NoCAB is blue (at the top of the operating profit and delivered cargo graphs and then the plunge)).

Vehicles not replaced? Routes abandoned? IDK because I was watching a lot of activity, but something happened that seriously compromised its game. Attached a couple pics to illustrate. Not sure if it's a (un)surprising intentional behavior or a glitch.
nocab1978.png
nocab1978.png (601.77 KiB) Viewed 7591 times
nocab1982.png
nocab1982.png (597.93 KiB) Viewed 7591 times
So after I saved I kept the game running and checked the debug. It says saved version is incompatible with this version of NoCAB. Save version 7 supported, your version is -1. (I haven't changed any settings since the map loaded.) And then I see lots of activity about replacing aircraft--which is really puzzling because I always disable aircraft for AI and I don't use it myself.
nocabplaneoff.png
nocabplaneoff.png (583.68 KiB) Viewed 7591 times
In case none of this makes sense, I've put the game save and openttd.cfg off to the side in the event you want them. Again, thanks for your time.

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 28 Nov 2013 02:04
by mexp2
Evening. On my latest OpenTTD game, for which I've used a large map, NoCAB seems to always crash upon enabling the advisors. As you can see from this screenshot, multiple AIs seem to not be working, the other is BorkAI. The weirdest part is that NoCAB has always worked for me before, when my map was smaller. The large map's file is too large to upload, so here's the screen:
Image

And the smaller map's save:
Peningville Transport, 10th Dec 2034.sav
Last save of the smaller map, NoCAB working.
(949.77 KiB) Downloaded 167 times

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 04 Mar 2014 18:09
by svipper
Strange AI. At start most of them are dormant, yet one is building long bus routes. Then another one builds two airports side by side. And after 20 years finally some nocab player wakes up and makes some very successful train routes.

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 04 Mar 2014 18:29
by Brumi
How big is the map you're playing on?

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 03 Apr 2014 19:24
by HGus
Well, maybe this IA is no longer developed, but just in case...

NoCAB does very well, but I found this strange bug. (The "save" bug still happens on some large maps with LOTS of services running.)

As you can see, the IA triggered an "assertion failed" error when trying to build a Sand line (FIRS) by boat (Clipper, sailships).

You can see in the map the line of buoys between the pink sandbank and the red brick factory...

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 15 May 2014 22:21
by inz.germanista
Hi, I've got this error with NoCAB, here is sshot and save just after it has occured.
MfzTrans GmbH, 2 Sty 1961 AIDebug.sav
(5.45 MiB) Downloaded 141 times
MfzTrans GmbH, 2 Sty 1961.png
(143.27 KiB) Downloaded 7 times

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 29 May 2014 10:36
by KurokazePT
Good day,
I recently downloaded OpenTTD and was looking for AIs, and ended up downloading NoCAB among others.
Currently, I have three installed; SimpleAI (classic one, even if he isn't the most efficient, it's the closest to the classic ^^), AdmiralAI and NoCAB AI...

Soon as SimpleAI popped up, he started building right away; AdmiralAI pops up, same thing, loads of rails and some airports. Then came NoCAB and it just sits there, doesn't even rename it's own company, and does nothing stuck at 2€ company value.

I checked the AI Debug window thing and it seemed to be stuck on a line saying "Building industry list...";

Is it because the map is 2048x2048?... I thought it was taking some time to build some mega ultra list of plays of doom to just outright annihilate me, but after 1-4 ingame years it just still sat there. So I went to the advanced settings, changed it to Hard difficulty, Very Fast construction and still nothing...

I downloaded the AIs via the ingame content menu as according to what I read it will also download it's dependencies.
So I really can't seem to figure out what's wrong with the AI on my computer... Should I download the nightly/testing version of the AI or something?...

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 29 May 2014 10:42
by Morloth
Hi KurokazePT,

The way NoCAB works is that it will first build a point to point list of all Industry <-> Industry, Town <-> Town, and Industry -> Town. This means that if you have a large number of town / industries that it can take a long time before the AI starts building something. I had plans to reduce this time, but other projects have taken my interest and I have not updated this AI for quite some time and I don't expect to do so any time soon.

So either wait for a long time on huge maps, or play on smaller ones. That is all the help I can give you I'm afraid.

Thanks for pointing out the problems with saves. OpenTTD only waits for a certain amount of cycles before killing the AI when saving. It was a problem I was going to work on, but alas no time.
Bram

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 27 Mar 2015 21:00
by MukiJames
I try to play against any AI first time. I downloaded NoCAB and started a game with the settings maximum 4 AIs. Two of them already appeared so far, but they do not do anything at all. They did not build anything, their company value is still 2$ after 3 years... I don't think that it is normal, since other ppl write very good reviews about this AI. Do I have to setup something extra to make it work?

Re: NoCAB - Trains, Trucks, Busses, Aircraft and Ships! v2.1

Posted: 27 Mar 2015 21:04
by Morloth
MukiJames wrote:I try to play against any AI first time. I downloaded NoCAB and started a game with the settings maximum 4 AIs. Two of them already appeared so far, but they do not do anything at all. They did not build anything, their company value is still 2$ after 3 years... I don't think that it is normal, since other ppl write very good reviews about this AI. Do I have to setup something extra to make it work?
I assume you are playing on a large map which might take the AI a long time to load.

One of the weaknesses of this AI is that it first creates a complete map of all town <-> town, town <->industry, and industry <-> industry connections. Depending on the size of the map this can take a long time (~2 years is normal on 2048x2048 maps using normal settings). This is as intended as I will unlikely come back to this project any time soon to make any modifications.

Cheers,
Bram