Ploppable townbuildings LUA error ?
Willkommen in der Transport Fever Community
Wir begrüßen euch in der Fan-Community zu den Spielen Transport Fever und Train Fever, den Wirtschaftssimulatoren von Urban Games. Die Community steht euch kostenlos zur Verfügung damit ihr euch über das Spiel austauschen und informieren könnt. Wir pflegen hier einen freundlichen und sachlichen Umgang untereinander und unser Team steht euch in allen Fragen gerne beiseite.
Die Registrierung und Nutzung ist selbstverständlich kostenlos.
Wir wünschen euch viel Spaß und hoffen auf rege Beteiligung.
Das Team der Transport-Fever Community
-
-
Der zweite involvierte Mod ist der no cost mod. Hast du den erst kürzlich aktiviert?
-
Es gibt einen Fehler mit der Variable cargocapacity. Diese ist 0.
Deshalb kommt das Spiel durcheinander. Die no cost mod kommt in solchen Bereichen gerne dazu, da sie solche Daten ändert bzw dadurch selbst einen Fehler bekommt. Also Modersteller hinzuziehen, Fehler fixxen, beide Probleme gelöst
-
Also hat es gar nichts mit der ploppable townbuilding mod zu tun, sondern mit "no cost" und "capacity" ?
-
Du darfst den Mod erst in ein savegame hinzufügen
-
doch und zwar bringt dir der plop mod den fehler , weshalb dir die no cost mod spinnt und ebenfalls nen fehler bringt.
-
Ah, alles klar ! Danke euch für die Hilfe !
-
I'd like to reactivate this thread, due to an annoying error with the plopable town buildings mod (which is otherwise fantastic and a must-have).
From what I have read, it occurs for several buildings, though I have only been able to recreate it for one (Screenshot attached).
When selecting it to build it: CTD. However selecting it with different settings is okay, which I found strange as well.Anyway, stdout is here:
Code: stdout.txt
Alles anzeigenPreventSetUnhandledExceptionFilter: 1 locale name: * (en_US.utf8) ======================================== Startup at Mon Jan 15 22:41:32 2018 ======================================== seed: 1516052492 double buffering: 1 sample buffers: 1 samples: 4 (4) swap interval: 1 video memory: 6144 MB ============================================================ OpenGL version: 3.2.0 NVIDIA 388.13 Renderer (vendor): GeForce GTX 1060 6GB/PCIe/SSE2 (NVIDIA Corporation) Shading language version: 1.50 NVIDIA via Cg compiler ============================================================ opened device OpenAL Soft sampling rate: 48000 Hz res/config/tips.lua not in file cache! res/config/tips_steam.lua not in file cache! Loading from file C:/Program Files (x86)/Steam/userdata/57739239/446800/local/save/EU104.sav active mods: [REDACTED] config dict: vehicles: default terrain: default nameList: default trees: default buildings: default streets: default environment: default scenario: default [REDACTED] savegame version 91 achievements earnable: 0 init version: 91 map seed text: Teshima_Heightmap_1_3 res/models/material//asset/bls_windows_01.mtl not in file cache! No resources are missing! res/textures/models/stations/tram/c_1.tga not in file cache! texture load error: file not found: res/textures/models/stations/tram/c_1.tga res/textures/models/stations/tram/c_2.tga not in file cache! texture load error: file not found: res/textures/models/stations/tram/c_2.tga res/textures/models/stations/tram/c_3.tga not in file cache! texture load error: file not found: res/textures/models/stations/tram/c_3.tga res/textures/models/stations/tram/c_4.tga not in file cache! texture load error: file not found: res/textures/models/stations/tram/c_4.tga res/textures/models/stations/tram/c_5.tga not in file cache! texture load error: file not found: res/textures/models/stations/tram/c_5.tga res/textures/models/stations/tram/c_6.tga not in file cache! texture load error: file not found: res/textures/models/stations/tram/c_6.tga res/textures/models/railroad/c_blue2_1.tga not in file cache! texture load error: file not found: res/textures/models/railroad/c_blue2_1.tga res/textures/models/railroad/c_blue2_2.tga not in file cache! texture load error: file not found: res/textures/models/railroad/c_blue2_2.tga res/textures/models/railroad/c_blue2_3.tga not in file cache! texture load error: file not found: res/textures/models/railroad/c_blue2_3.tga res/textures/models/railroad/c_blue2_4.tga not in file cache! texture load error: file not found: res/textures/models/railroad/c_blue2_4.tga res/textures/models/railroad/c_blue2_5.tga not in file cache! texture load error: file not found: res/textures/models/railroad/c_blue2_5.tga res/textures/models/railroad/c_blue2_6.tga not in file cache! texture load error: file not found: res/textures/models/railroad/c_blue2_6.tga res/textures/models/vehicle/car/xxx.dds not in file cache! error loading dds file: res/textures/models/vehicle/car/xxx.dds res/textures/models/vehicle/car/xxx.dds not in file cache! texture load error: file with unknown extension: res/textures/models/vehicle/car/xxx.dds res/textures/models/vehicle/train/dirt_albedo.dds not in file cache! error loading dds file: res/textures/models/vehicle/train/dirt_albedo.dds res/textures/models/vehicle/train/dirt_albedo.dds not in file cache! texture load error: file with unknown extension: res/textures/models/vehicle/train/dirt_albedo.dds res/textures/models/railroad/OEBB_Signal_alt.dds not in file cache! texture load error: file name empty res/textures/models/station/train/Putz_Relief_01_nrml.tga not in file cache! texture load error: file not found: res/textures/models/station/train/Putz_Relief_01_nrml.tga res/textures/models/station/train/MetalGalvanized_01_nrml.tga not in file cache! texture load error: file not found: res/textures/models/station/train/MetalGalvanized_01_nrml.tga res/textures/models/vehicle/train/class37_nrml.tga not in file cache! texture load error: file not found: res/textures/models/vehicle/train/class37_nrml.tga res/textures/models/vehicle/waggon/br_mk1_tso_interior_metgosao.tga not in file cache! texture load error: file not found: res/textures/models/vehicle/waggon/br_mk1_tso_interior_metgosao.tga res/textures/ui/tracks/tom_depot.tga not in file cache! texture load error: file not found: res/textures/ui/tracks/tom_depot.tga res/textures/ui/tracks/tom_deadendtrack.tga not in file cache! texture load error: file not found: res/textures/ui/tracks/tom_deadendtrack.tga res/textures/ui/tracks/tom_deadendtrack_hs.tga not in file cache! texture load error: file not found: res/textures/ui/tracks/tom_deadendtrack_hs.tga res/textures/ui/tracks/tom_deadendtrack_hs_nb.tga not in file cache! texture load error: file not found: res/textures/ui/tracks/tom_deadendtrack_hs_nb.tga res/textures/ui/tracks/tom_deadendtrack_nb.tga not in file cache! texture load error: file not found: res/textures/ui/tracks/tom_deadendtrack_nb.tga res/textures/ui/tracks/zzz_mock.tga not in file cache! texture load error: file not found: res/textures/ui/tracks/zzz_mock.tga res/textures/ui/models/railroad/signal_mb.tga not in file cache! texture load error: file not found: res/textures/ui/models/railroad/signal_mb.tga res/textures/ui/models/station/airport/asset/signal_taxi_old.tga not in file cache! texture load error: file not found: res/textures/ui/models/station/airport/asset/signal_taxi_old.tga res/textures/ui/models/station/airport/asset/signal_taxi_modern.tga not in file cache! texture load error: file not found: res/textures/ui/models/station/airport/asset/signal_taxi_modern.tga res/textures/ui/models/station/airport/asset/signal_runway_modern.tga not in file cache! texture load error: file not found: res/textures/ui/models/station/airport/asset/signal_runway_modern.tga res/textures/ui/models/station/airport/asset/signal_runway_old.tga not in file cache! texture load error: file not found: res/textures/ui/models/station/airport/asset/signal_runway_old.tga res/textures/ui/streets/z_tram_track.tga not in file cache! texture load error: file not found: res/textures/ui/streets/z_tram_track.tga res/textures/ui/streets/new_wendeschleife.tga not in file cache! texture load error: file not found: res/textures/ui/streets/new_wendeschleife.tga res/textures/ui/streets/old_wendeschleife.tga not in file cache! texture load error: file not found: res/textures/ui/streets/old_wendeschleife.tga res/textures/ui/construction/station/rail/multilevel_underground_1920_simplex.tga not in file cache! texture load error: file not found: res/textures/ui/construction/station/rail/multilevel_underground_1920_simplex.tga res/textures/ui/construction/station/rail/multilevel_underground_1990_simplex.tga not in file cache! texture load error: file not found: res/textures/ui/construction/station/rail/multilevel_underground_1990_simplex.tga res/textures/ui/construction/asset/unterfuehrung.tga not in file cache! texture load error: file not found: res/textures/ui/construction/asset/unterfuehrung.tga res/textures/ui/construction/asset/church_wassen.tga not in file cache! res/textures/ui/construction/asset/snowball_forester_tree_patch.tga not in file cache! texture load error: file not found: res/textures/ui/construction/asset/snowball_forester_tree_patch.tga res/textures/ui/construction/asset/snowball_farmer_field.tga not in file cache! texture load error: file not found: res/textures/ui/construction/asset/snowball_farmer_field.tga res/textures/ui/construction/asset/snowball_streamer_digger.tga not in file cache! texture load error: file not found: res/textures/ui/construction/asset/snowball_streamer_digger.tga res/textures/ui/construction/asset/snowball_streamer_connector.tga not in file cache! texture load error: file not found: res/textures/ui/construction/asset/snowball_streamer_connector.tga res/textures/ui/construction/asset/snowball_laker_lake.tga not in file cache! texture load error: file not found: res/textures/ui/construction/asset/snowball_laker_lake.tga res/textures/ui/construction/YD_SBB.tga not in file cache! texture load error: file not found: res/textures/ui/construction/YD_SBB.tga error: error: ...nt/446800/858985255/res/scripts/ploptownbuildingutil.lua:258: attempt to get length of upvalue 'assets' (a nil value) stack traceback: [C](-1): __len ...nt/446800/858985255/res/scripts/ploptownbuildingutil.lua(258): fn mods/urbangames_no_costs_1/mod.lua(25): ?
Would be great if @Agunter999 could take a look at this. As I said, the mod is otherwise wonderful, but currently a bit of a minefield, I have to remember to save often -
You try to set different Lot width and depth. The Question is, why do you do that? It doesn't matter. Let it on Normal. The only Problem is with the Groundfill of the Lots. If you choose Concrete on old Houses it crashes as well. I think he made the houses available to select but some options are hardcoded.So you have to live with that and remeber to not do that :).
-
You try to set different Lot width and depth. The Question is, why do you do that? It doesn't matter.
If it doesn't matter, the option should not be there.
I think he made the houses available to select but some options are hardcoded. So you have to live with that and remeber to not do that
An attempt is made to access a non-existent property - a nil value. A program/script must check such values and react accordingly to avoid crashes...
-
The only options I changed were to minimize the plot and to remove assets. Everything else was already selected. Perhaps those standard values aren't meant to work for that building, but then they shouldn't be selected, in my opinion...
-
and to remove assets
Ah, this is the cause. From the second screenshot: attempt to get length of upvalue 'assets' (a nil value)...
-
Tom. With the it doesn`t matter thing I meant. It's complete useless. You can place the Houses however you wan't. I don't know a bit of scripting I only know a bit of Html and Css and can make links in my mind, oh this do that and this do that. So it was just guessing. The Mod form @Agunter999 has also another Problem. If you make an Schönbaumap and delete all Towns. Then you get an CTD by placing Depots from @hugedragonyk on the beginning on the next Month. Wich sets all Cargo and Passenger Vehicles to a NIL Value. I can recreat such a crash if you want an stdout.txt error message. I don't know wich Mod causes this Problem. But you can avoid it by placing just 1 Industrie, 1 Commercial and 1 Residential Building with set to low.
Greetz Hessie.
-
This is an error I was not aware of. Tom is right the code should be written in such a way that checks for assets to avoid crashes. I cant see outright why this is which means ill have to research. I have no spare time at the moment - hint why the easy to fix concrete fix hasn't been done yet - so hold on tight
PS Nothing is messing with hardcoded stuff here, the lotdepth and lotwidth are just grandface value alterations. Not hardcoding by any means and the button do pretty much work.