Transport Fever 2

Transport Fever 2

AI Builder
215 Comments
(AR) Aperture Oct 1 @ 10:28am 
why does it keep failing
illo Marki Sep 1 @ 9:05am 
The mod keeps crashing all the time when I try to improve the bus lines, it doesn't let me and now when you build new bus lines, only one stop is connected and the buses start going around in circles.
Fabibassi Sep 1 @ 7:56am 
also the City bus planing seems to be broken. it always buys 2-4 Big buses times 3 routes per city even it its only 250 people. each line is lossing min 1 mil pls setup cost is insane high
Fabibassi Sep 1 @ 7:41am 
so an info for people new to this mod: the AI Builder only uses an industry if it is producing. so an Crude oil well will always be visible but the Refinery is only visible for the AI builder when it gets Crude and "could" produce Oil.
CryptedRandom Aug 29 @ 11:30am 
the report problem lines tool just completely doesn't work there is multiple errors one with the vehicle util and some other ones
Skunk Aug 29 @ 8:35am 
looks like i get a recurring file location error on many different action. like as if it was the address of the game folder or sub folder not found. everything seem to work tho. and next to the ai menu in the bottom i get D: like my address of my drive that weird.
bittersoul1172 Aug 27 @ 12:17pm 
I think passenger line sharing should be an option
Also idk how to word this but say if you've built a line with the route planner and then want to have a branch I don't want it to make an entirely new line like it does currently
Does that make sense?
djmikeygargar Aug 24 @ 4:05pm 
I also am noticing several other industries it doesnt recognise
djmikeygargar Aug 24 @ 3:38pm 
The first time I tried this it was able to make a route to a town and now it wont let me and it also doesnt seem to recognize oil and fuel.
iMPERIALWOLF Aug 7 @ 7:23am 
@okeating it would be cool if you connect industry to town, also there's an error with connecting to copper mines that causes a crash for me
iMPERIALWOLF Jul 26 @ 10:30pm 
I have an error to report that the copper mine causes a crash for me
xXTENNESIEXx Jun 21 @ 1:57am 
French please
etvanluijk1 May 17 @ 3:51am 
@imam_vov i get those as well but that doesn't stop me to retry it again on wich it works fine.
but when i use train and refresh game freezing and shuts then off.
@Okeating please fix that including any parts that involves it.
iman_vov Apr 27 @ 2:18am 
Error in lines:
107,
1663,
16285,
1107,
4625.
4802
iman_vov Apr 27 @ 2:16am 
Have deleted and installed AI builder again. But not helping.
Got this error when tried to build Road connection between two cities:

https://imgur.com/a/EFXRsl5
lauramayhew104 Apr 17 @ 1:23pm 
can i change the ai station track ammount
etvanluijk1 Apr 9 @ 4:54am 
np just whant everyone full experience of the game with this mod.
there are still some issues but have not found them yet
okeating  [author] Apr 8 @ 8:03am 
@etvanluijk1 thanks for reporting, I was able to replicate and have pushed a fix
etvanluijk1 Apr 7 @ 8:54pm 
now getting game error and shuts down the game completely, by trying bus lines between city's
okeating  [author] Apr 6 @ 12:05pm 
Thanks for reporting, I have pushed a fix, let me know if you have any more issues
etvanluijk1 Apr 5 @ 11:19am 
got same error when trying to get bus lines in city's, when i build train station into it.
before update of april 2 2025 didn't got this issue
Ohkyuu Apr 3 @ 4:44pm 
"D:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/config/game_script/ai builder_script.lua"]:605: in function < [string "D:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/config/game_script/ai_ builder_script.lua"l:563>
E[C): in function 'xpcall'
E[string "D:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/config/game_script/ai_builder_script.lua"]:4442: in function < [string "D:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/config/game_script/ai_builder_script.lua"]:4425>
B[C): in function 'xpcall'
E[string "D:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/config/game_script/ai_builder_script.lua"]:4615: in function < [string "D:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/config/game_script/ai_builder_script.lua"]:4615>

3/3
Ohkyuu Apr 3 @ 4:44pm 
ED:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/scripts/ai_builder_vehicle_util.lua:1006: in function 'findVehiclesOfType' RD:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/scripts/ai_builder_vehicle_util.lua:1150: in function 'getWaggonsByCargoType' RD:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/scripts/ai_builder_vehicle_util.lua:2255: in function 'estimateThroughputPerConsist'
RD:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/scripts/ai_builder_line_manager.lua: 1518: in function 'estimatelnitialConsist' RID:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/scripts/ai_builder_line_manager.lua: 1585: in function 'setupTrainLineParams'
E[string

2/3
Ohkyuu Apr 3 @ 4:44pm 
Hey, got this error while trying to build a railway between 2 industries where does it comes from ?

An error occurred while executing: Connecting industry Genève Carrière with Jonage Usine de matériaux de construction using rail
D:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/scripts/ai_builder_vehicle_util.lua:902: attempt to index field 'railVehicle' (a nil value)stack traceback:
[string "D:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/config/game_script/ai_builder_script.lua"]:106: in function'
ED:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/scripts/ai_builder_vehicle_util.lua:902: in function discoverVehich index
ED:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/scripts/ai_builder_vehicle_util.lua:987: in function 'getAlIVehiclesByType'


1/3
Mike Crosley Feb 9 @ 7:34pm 
This sounds AWESOME! I can't wait to try it on my next map!
kenkee Jan 21 @ 5:55am 
Hi, after launching a construstion the game does not reset to play. I can click on the cities to continue building but it's like in constant pause.
Melon_Lord Dec 18, 2024 @ 6:29am 
Hey, I have an issue or maybe im not understanding this mod.

When ever I try and build something it either takes ages to start (initialling) or never completes. If I use Global it starts immediately but never finishes. If i use the within circle mode it never starts.

Should it take this long. I also cant place or remove anything whilst this process is happening.

Any help would be awesome
okeating  [author] Dec 7, 2024 @ 5:35am 
PLEASE NOTE: Comments that just say "mod is broken" are not helpful and will be deleted. If you encounter an issue please create a forum post above describing what you were doing, what mods you have installed, and what went wrong. Remember this is a free community mod so please be part of the community and try to help make it better.
okeating  [author] Dec 7, 2024 @ 5:35am 
@FrozenHands try it now I have pushed an update
Tommyc86 Dec 2, 2024 @ 3:26am 
is there a way to either make the signals go in the opposite direction or turn them off when building Railways.
Frozenhands Oct 19, 2024 @ 10:22am 
The mod is broken and can't create bus lines between cities, while the road is available.
joe-frosch Sep 18, 2024 @ 9:12am 
nachtrag es geht gar nix
joe-frosch Sep 18, 2024 @ 9:03am 
brauche Hilfe es zeigt an An error occurred while excuting bulding Complete route
WingusMcDingus Jul 28, 2024 @ 9:32am 
@op there is a thread, i will update it with the errors i receive
okeating  [author] Jul 28, 2024 @ 9:28am 
@WingusMcDingus could you start a thread in the discussions above? It would be useful to get some more information and clarity about what is working and what is not working for you.

@Einstein, when I was testing this with some of the industry mods, I found that resources would end up flowing all over the place if vehicles (particularly trucks) at "auto load". I did want use the line load filter to solve this, but there is a bug in the api that won't let this be set, so instead I locked the cargo type. I could make a checkbox to opt out of this feature in the params screen.
WingusMcDingus Jul 26, 2024 @ 1:07pm 
scripts dont like creating new intercity bus routes, has trouble analyzing train stations with multiple lines, cant create highways, cant create air routes
Einstein Jul 22, 2024 @ 1:11pm 
Lines are created with vehicles only being able to do the resource we define first, but there's often a chance to bring back a non-empty haul, which we could edit manually, but because the trucks are define with a single resource I usually need to replace all vehicles for the same vehicle to unlock all other resources options. Is this expected?
WingusMcDingus Jul 21, 2024 @ 1:05pm 
im still getting bugs on trying to build tram/bus lines, something on line manager.lua 3220, an error in ai_builder_script.lua 4152 and 4315
doug Jul 21, 2024 @ 3:28am 
I'm wondering if the error only occurs if debug mode is not active.
okeating  [author] Jul 21, 2024 @ 3:08am 
Apologies, I have just pushed an update, the check lines has been fixed, the global assignments have also been fixed (I don't understand why I don't encounter this error myself)
WingusMcDingus Jul 19, 2024 @ 3:00pm 
Most recent update completely bricked mod's ability to check lines, returning an error whenever analyzing lines
Justinian89627 Jul 18, 2024 @ 10:26pm 
I am also facing an error while trying to build a rail connection between two cities. I have not been able to get this to work at all. https://paste.pics/7eaee2ec8a24f8172bb412393d50b9a8
okeating  [author] Jul 17, 2024 @ 10:04pm 
I have pushed a new version that should fix some issues, @Einstein could you recheck if it is an issue, if it is then yes it would be helpful
NonNegative Jul 17, 2024 @ 3:15pm 
I asked AI to build me a highway between two towns - it built me a fookin NURBURGRING lmaoo:steamthumbsup:
ReluctantGamer96 Jun 23, 2024 @ 1:34am 
This is a great mod, although shipping is broken and airports are regularily build on streets.

Is it possible to deactivate passenger line merging? I dislike having these super long lines, and instead would prefer point on point travel.
I'd also really like an option to force create a completely new separate line that doesn't use preexisting railroads as this causes massive unsolvable traffic jams on short distance industries with high production.
Einstein May 18, 2024 @ 4:19am 
Nice work!

The auto-detect vehicles is not working, playing with European the script is adding Asian vehicles to start with. Not a huge issue, but would be nice to get it fixed.

What should I do if I want to replace an early truck delivery by a train one? I tried deleting all the old infra and lines, let transport go down to 0, but it won't suggest me as a train (or truck) option anymore.

I'm also getting a crash when trying to build a specific route into a city where another good is already delivered. If I delete the first good truck stop then it builds it. Do you want the save game/logs to check?
IHRTCorsairHardware May 6, 2024 @ 3:53am 
incredible work thank you. very impressive codding/modding
agunter999 Apr 16, 2024 @ 4:20am 
Sooo this is a bit of an overstretch but what about AI field placement?
CryptedRandom Mar 30, 2024 @ 10:00pm 
how do you use it
gsh.tls Feb 17, 2024 @ 5:45pm 
every time I try new line it freezes on autosave