Transport Fever

Transport Fever

Capacity Adjuster
dr4gon-day 11 Aug, 2017 @ 6:52am
Lua Error
File mods/dma_buses_1/res/model/vehicle/bus/bus2_kk_busreisen.mdl

error: ...hop/content/446800/1104465202/res/scripts/startdates.lua:39: attempt to compare number with nil stack traceback:
...hop/content/446800/1104465202/res/scripts/startdates.lua(39): ?
...eam/steamapps/workshop/content/446800/1104465202/mod.lua(37): v
res/scripts/mod.lua(69): ?

this error is usally cuased by modding. The syntax of some game resources is not correct

I hope this will help.

well the amount of mods i use is huge so i can not listen every mod i have active.
i can try to make a new game with few mods and add more and more.

Last edited by dr4gon-day; 11 Aug, 2017 @ 6:55am
< >
Showing 1-15 of 19 comments
SPQR  [developer] 11 Aug, 2017 @ 7:45am 
well I can see that it's connected to dma_buses. I'll install that and see what happens,
SPQR  [developer] 11 Aug, 2017 @ 8:36am 
okay. if you have the dummy DMA busses mod, that could be a problem. I'm going to add an extra layer of error handling in the next version (next version has a more user-friendly settings file, too).
dr4gon-day 11 Aug, 2017 @ 8:36am 
ok i tested all my mods and the dma modern buses mod is the only mod wich makes problems. I can live without this dma mod.
Last edited by dr4gon-day; 11 Aug, 2017 @ 8:37am
SPQR  [developer] 11 Aug, 2017 @ 9:00am 
When I finish the next version I'll post in this discussion if I think the workaround will work.
Lord Raccoon 30 Jun, 2019 @ 12:30pm 
https://pp.userapi.com/c853428/v853428538/838dd/AAnRwVPPnGI.jpg

Here's the error. Also it conflicts with some cargo railway platforms
SPQR  [developer] 30 Jun, 2019 @ 12:38pm 
Thanks that's really helpful. What's the name of the vehicle mod it's conflicting with?
Lord Raccoon 30 Jun, 2019 @ 12:50pm 
there are no special vehicle. It's conflicting with everything. With wagons, with buses, with locomotives. Error is the same, only the names of conflicting vehicle change.
Last edited by Lord Raccoon; 30 Jun, 2019 @ 12:50pm
SPQR  [developer] 30 Jun, 2019 @ 12:57pm 
Lord Raccoon 30 Jun, 2019 @ 12:58pm 
Originally posted by SPQR:
https://i.imgur.com/pCvC9aU.jpg
what does it mean?
SPQR  [developer] 30 Jun, 2019 @ 12:58pm 
That is my terrible shame. On the one hand it's shameful because my unit test should have caught it and didn't. Additionally, it's shameful because it's just. such. a. dumb. error. Additionally, it shows that you're the only person who tried to adjust that value??
SPQR  [developer] 30 Jun, 2019 @ 12:59pm 
Anyway... new version will appear as soon as I've fixed the unit test and retested manually too. And... um... done a visual check for the same error elsewhere.

#mortified
Lord Raccoon 30 Jun, 2019 @ 1:00pm 
Originally posted by SPQR:
Anyway... new version will appear as soon as I've fixed the unit test and retested manually too. And... um... done a visual check for the same error elsewhere.

#mortified

ok, will wait for update! Because rly need to adjust only passenger capacity and ur mod the only which can
SPQR  [developer] 30 Jun, 2019 @ 1:02pm 
As to what it means... those are lines of the function that reads the settings. The object name after "fix within bounds" should be identical to the object name after 'if'
Lord Raccoon 30 Jun, 2019 @ 1:04pm 
ah, so i can fix it manually?
SPQR  [developer] 30 Jun, 2019 @ 1:07pm 
In theory, if you know lua, you can.
< >
Showing 1-15 of 19 comments
Per page: 1530 50