AI not buying any vehicles

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
Laibcoms
Engineer
Engineer
Posts: 21
Joined: 07 Mar 2006 23:00
Skype: jcjohn.sesecuneta
Location: Philippines
Contact:

AI not buying any vehicles

Post by Laibcoms »

What could cause the AI from not buying any vehicles even though the AI built rails, depots, etc.?

I have these settings and grfs.

(attached)


PS
Searching seems to be useless, keywords for searching are almost in every very long topics ;) Thus they all appear in the search results ;)
Attachments
ttdpatch.cfg
(27.05 KiB) Downloaded 189 times
newgrfw.cfg
(1.56 KiB) Downloaded 209 times
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Re: AI not buying any vehicles

Post by George »

Laibcoms wrote:What could cause the AI from not buying any vehicles even though the AI built rails, depots, etc.?
I have these settings and grfs.
PS. Searching seems to be useless, keywords for searching are almost in every very long topics ;) Thus they all appear in the search results ;)
Try to set aichoosechances to on. Let us know if it helps
Image Image Image Image
Laibcoms
Engineer
Engineer
Posts: 21
Joined: 07 Mar 2006 23:00
Skype: jcjohn.sesecuneta
Location: Philippines
Contact:

Re: AI not buying any vehicles

Post by Laibcoms »

George wrote:
Laibcoms wrote:What could cause the AI from not buying any vehicles even though the AI built rails, depots, etc.?
I have these settings and grfs.
PS. Searching seems to be useless, keywords for searching are almost in every very long topics ;) Thus they all appear in the search results ;)
Try to set aichoosechances to on. Let us know if it helps
hi

Tried it, but still the same, the AI's aren't building/buying any vehicles.


Currently testing to see if the cause is some grf.

Oh, this started just today, which is weird coz I was playing fine with the same configuration and grfs before.
Laibcoms
Engineer
Engineer
Posts: 21
Joined: 07 Mar 2006 23:00
Skype: jcjohn.sesecuneta
Location: Philippines
Contact:

ECS bug

Post by Laibcoms »

I think I should post it here since it's an ECS bug more or less.

( http://www.tt-forums.net/viewtopic.php? ... highlight= )

I think I found what's causing the AI problems.

It's the ECS (Extended cargo schema v1 alpha 1).

When I remove these:
newgrf/ECSTownw.grf
newgrf/ECSAgriw.grf
newgrf/ECSBasicw.grf
newgrf/ECSChemw.grf
newgrf/ECSConstw.grf
newgrf/ECSMachw.grf
newgrf/ECSWoodw.grf
The AIs buy new vehicles, be it airplane, train or rvs, but with ECS on, the AIs do not buy any vehicles.

Additionally, the AIs become really intelligent. I mean by that is, they build really good (with the setting of AI Intelligence set to High) vs with the ECS on, the AIs build as if the AI Intelligence is set to Low.


Now that's sad :p TTD won't be the same without ECS on :(
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Re: ECS bug

Post by George »

Laibcoms wrote:I think I should post it here since it's an ECS bug more or less. When I remove these:
newgrf/ECSTownw.grf
newgrf/ECSAgriw.grf
newgrf/ECSBasicw.grf
newgrf/ECSChemw.grf
newgrf/ECSConstw.grf
newgrf/ECSMachw.grf
newgrf/ECSWoodw.grf
The AIs buy new vehicles, be it airplane, train or rvs, but with ECS on, the AIs do not buy any vehicles.
You forgot to add ECSDVehw.grf
Image Image Image Image
Laibcoms
Engineer
Engineer
Posts: 21
Joined: 07 Mar 2006 23:00
Skype: jcjohn.sesecuneta
Location: Philippines
Contact:

Re: ECS bug

Post by Laibcoms »

George wrote:
Laibcoms wrote:I think I should post it here since it's an ECS bug more or less. When I remove these:
newgrf/ECSTownw.grf
newgrf/ECSAgriw.grf
newgrf/ECSBasicw.grf
newgrf/ECSChemw.grf
newgrf/ECSConstw.grf
newgrf/ECSMachw.grf
newgrf/ECSWoodw.grf
The AIs buy new vehicles, be it airplane, train or rvs, but with ECS on, the AIs do not buy any vehicles.
You forgot to add ECSDVehw.grf
Ah I see. It wasn't on the ECS Download site ( http://george.zernebok.net/newgrf/downloads.html ), but I got it anyways, checked out if the folders are browsable.

Thanks!
I'll test it again.
Laibcoms
Engineer
Engineer
Posts: 21
Joined: 07 Mar 2006 23:00
Skype: jcjohn.sesecuneta
Location: Philippines
Contact:

Post by Laibcoms »

Update:

Sadly, still not working. The AIs are still not buying any type of vehicles.

:( Sigh, it's really very different playing w/o ECS :p there's no challenge w/o it. ^_^


Another Update:
Something I noticed, the AI's only buy a few vehicles from the Airport.
If RV or Trains, the AI's do not buy any vehicles.
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

Laibcoms wrote:Update:
Sadly, still not working. The AIs are still not buying any type of vehicles.
:( Sigh, it's really very different playing w/o ECS :p there's no challenge w/o it. ^_^
Another Update:
Something I noticed, the AI's only buy a few vehicles from the Airport.
If RV or Trains, the AI's do not buy any vehicles.
What year? Post the savegame and configs.
Image Image Image Image
Laibcoms
Engineer
Engineer
Posts: 21
Joined: 07 Mar 2006 23:00
Skype: jcjohn.sesecuneta
Location: Philippines
Contact:

Post by Laibcoms »

I don't have the previous games anymore.
Though some improvements, I found that there are grf's conflicting with ECS. I disabled those grfs and ECS is working fine so far.

The latest problem I noticed tho is the intelligence of the AIs.

Setting:
AI Intelligence = High

Problem:
1) AI is acting like it's Intelligence seting is "Low".
2) Favors Airports first, then Trains. Only buys RV/Trams sometime 1980s but only 1 company bought RVs (in the attached game).

Another problem:
1) Blimp vehicle for Airport = AI's can buy blimps anytime but I, the real-player can only buy blimps sometime 1940s. Start date set to 1930.

ttdpatch.cfg
aichoosechances on


Files are attached.
Attachments
ttdpatch.cfg
(27.05 KiB) Downloaded 208 times
newgrfw.cfg
(1.4 KiB) Downloaded 180 times
TRP03.SV1
* money edited for testing..
(507.5 KiB) Downloaded 186 times
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

Laibcoms wrote:I don't have the previous games anymore.
I’ve tried to start your save game, but it crashes for me. I do not have a half of grf files from your newgrf.cfg. So, I suggest you to create a short newgrf.cfg, set start year to 1950, generate a new RANDOM game and test, if AI can build anything.
newgrf/ECSTownw.grf
newgrf/ECSBasicw.grf
newgrf/ECSBasArw.grf
newgrf/ECSBasTrw.grf
newgrf/ECSChemw.grf
newgrf/ECSMachw.grf
newgrf/ECSMacTrw.grf
newgrf/ECSWoodw.grf
newgrf/ECSConstw.grf
newgrf/ECSAgriw.grf
newgrf/4LVw.grf
newgrf/4LVCutw.grf !
newgrf/ECSDVehw.grf
newgrf/planesetw.grf
newgrf/newshipsw.grf
newgrf/ttrs2w.grf
newgrf/TTRS3w.grf
Image Image Image Image
Laibcoms
Engineer
Engineer
Posts: 21
Joined: 07 Mar 2006 23:00
Skype: jcjohn.sesecuneta
Location: Philippines
Contact:

aas

Post by Laibcoms »

Here are the 2 tests I did.

All seems fine. The AIs are buying vehicles.
Tho, when it comes to RV, they buy the Tram Vehicle only (or give priority to Trams) which is actually similar to when Electrified Railways available, the AIs prioritize or only build erails.

The first AI always build Airport/Aircrafts.
Then Train or RV.


I used the newgrf list you provided with the year set to 1950.
Attachments
TRP05.SV1
Test#2
(401.19 KiB) Downloaded 183 times
newgrfw.cfg
(269 Bytes) Downloaded 170 times
TRP04.SV1
Test#01
(416.37 KiB) Downloaded 173 times
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Re: aas

Post by George »

Laibcoms wrote:Here are the 2 tests I did.
All seems fine. The AIs are buying vehicles.
Tho, when it comes to RV, they buy the Tram Vehicle only (or give priority to Trams) which is actually similar to when Electrified Railways available, the AIs prioritize or only build erails.
No, it is the other issue. I'll fix tram bug tomorrow.
Image Image Image Image
Laibcoms
Engineer
Engineer
Posts: 21
Joined: 07 Mar 2006 23:00
Skype: jcjohn.sesecuneta
Location: Philippines
Contact:

Re: aas

Post by Laibcoms »

George wrote:
Laibcoms wrote:Here are the 2 tests I did.
All seems fine. The AIs are buying vehicles.
Tho, when it comes to RV, they buy the Tram Vehicle only (or give priority to Trams) which is actually similar to when Electrified Railways available, the AIs prioritize or only build erails.
No, it is the other issue. I'll fix tram bug tomorrow.
Umm, other issue, didn't quiet get it ^_^
Anyways, the AIs buying only Electrified Railways (if it's turned on) is the same as the tram? (Tho I don't know who created the erails.)
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

It depends of set. Trams are road vehicles, don't mix them with trains.
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
Laibcoms
Engineer
Engineer
Posts: 21
Joined: 07 Mar 2006 23:00
Skype: jcjohn.sesecuneta
Location: Philippines
Contact:

Post by Laibcoms »

Wile E. Coyote wrote:It depends of set. Trams are road vehicles, don't mix them with trains.
Yah, what I meant was the 'problem'.

Coz the AIs are only buying erails
same as
the AIs only buying Trams

so, could it be the a bug or a conflict somewhere? The problem is similar, though the other one is railroads/trains while the other is RV/Trams.
User avatar
stevenh
TTDPatch Developer
TTDPatch Developer
Posts: 759
Joined: 24 Jul 2005 05:07
Location: Canberra, Australia
Contact:

Post by stevenh »

Are you trying to tell me that my Trams are being bought by your AI?
This is not good.
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

stevenh wrote:Are you trying to tell me that my Trams are being bought by your AI? This is not good.
I suppose with ID 47, because I accidentally marked as first ID for trucks (should be 48 ).
Last edited by George on 14 Mar 2006 06:41, edited 1 time in total.
Image Image Image Image
Laibcoms
Engineer
Engineer
Posts: 21
Joined: 07 Mar 2006 23:00
Skype: jcjohn.sesecuneta
Location: Philippines
Contact:

Post by Laibcoms »

stevenh wrote:Are you trying to tell me that my Trams are being bought by your AI?
This is not good.
Still can't tell though. George did said that he'll fix the "Tram bug" (a few replies above).

And I don't know what "your" Trams are ^_^

My newgrfw.cfg
newgrf/ECSTownw.grf
newgrf/ECSBasicw.grf
newgrf/ECSChemw.grf
newgrf/ECSMachw.grf
newgrf/ECSWoodw.grf
newgrf/ECSConstw.grf
newgrf/ECSAgriw.grf
newgrf/4LVw.grf
newgrf/ECSDVehw.grf
newgrf/PlaneSetw.grf
newgrf/newshipsw.grf
newgrf/ttrs2w.grf
newgrf/TTRS3w.grf

As per George's instructions so he can check the problems (with year set to 1950s).


There's a savedgame attached to one of my post above (the most recent attachment), one of the savedgame shows the AI's buying only Trams.
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 13 guests