Transport Fever 2

Transport Fever 2

Sehr langes Depot
48 kommentarer
Hessie James  [skaper] 1. juni 2023 kl. 10.49 
@carlos.ryo hello. If you remove the original paintings from my mod and use only your repaints so thats not an all in one mod. feel free to do so. and don't forget to give credits and a link to the original version. greetz
carlos.ryo 31. mai 2023 kl. 14.24 
Hello! Would it be possible to have your permission to publish a repaint of this depot in the Spanish version of our railway operator (Renfe)? Thank you!
spc.graham 13. jan. 2023 kl. 19.57 
ok, thank you for the information
Hessie James  [skaper] 13. jan. 2023 kl. 5.26 
@spc.graham it's available from 1960.
spc.graham 12. jan. 2023 kl. 15.45 
I just installed this mod, but I'm not seeing it in-game, what year will the mod show up?
Hessie James  [skaper] 3. mars 2020 kl. 15.38 
@dododoedel Sorry Nur woher hast du deine Version dieses Mods. Im Aktuellen gibt es kein face0. Neuste Version im Workshop auf TPF.net gezogen?
dododoedel 29. feb. 2020 kl. 0.37 
dododoedel, 29.02.2020

Guten Tag.

Mein Spiel stürzt mit folgender Meldung ab.

error: error: res/scripts/init.lua:64: creating globals by assignment is not allowed (variable was face0)
Did you forget to add 'local' before your variable?
stack traceback:
[C](-1): ?
[C](-1): error
res/scripts/init.lua(64): __newindex
[string "mods/hessie_sehr_langes_depot_2/res/construct..."](177): fn
...am/steamapps/workshop/content/1066780/1937785251/mod.lua(29) : ?
res/config/base_config.lua(35): ?

Gibt es auch für mich eine Lösung?
mongolteiko 24. feb. 2020 kl. 10.12 
Yeah did that [load it up the order and first etc.], but other mods sometimes crash on it too when added. Adding locos/multiple units etc, are ok but not stations/depots. I've had problems since the last patch with some mods that work with some saves and not with others. Maybe they, UG, will eventually fix things! I had problems loading your other two depots on that save too, but not on others saves. I still use your original building [without the depots added] on the main save.
Going to start a new map soon anyway and will use all 3 then. Thanks for your hard work. Appreciated.
Hessie James  [skaper] 24. feb. 2020 kl. 9.28 
@mongolteiko try to load the mod first in the modlist. I only guessed that it is loadorder independent. maybe another mod overrides vanilla files. it's the same script as in the other two depots from me.
mongolteiko 24. feb. 2020 kl. 8.04 
Hi Hessie. Works for me on other saved games now, but still not on my main save. Must be a conflict with that one. Thanks for your good work!
Hessie James  [skaper] 24. feb. 2020 kl. 8.02 
Thanx. Good to hear that it works now for you. It should have worked all the time. maybe loadorder dependency. Now it seems to be loadorder independent. good to know.
Calli 23. feb. 2020 kl. 21.18 
Es funktioniert Danke für die tolle Arbeit
ServiusTheBear 23. feb. 2020 kl. 14.58 
Good News It works now!
Hessie James  [skaper] 23. feb. 2020 kl. 13.10 
@[SK] update is out. If it doesn't work I have one final solution
Hessie James  [skaper] 23. feb. 2020 kl. 12.56 
Ok. My problem is i don't get this error in my game. So i have to guess what the problem is. Give me a few minutes i give it a last try. If it doesn't work you have to wait until thursday. sorry.
ServiusTheBear 23. feb. 2020 kl. 12.49 
I got this now error: error: res/scripts/init.lua:64: creating globals by assignment is not allowed (variable was face1)
Did you forget to add 'local' before your variable?
stack traceback:
[C](-1): ?
[C](-1): error
res/scripts/init.lua(64): __newindex
[string "G:/Steam Games/steamapps/workshop/content/106..."](169): ?
res/config/base_config.lua(35): ?
Hessie James  [skaper] 23. feb. 2020 kl. 12.19 
A new Update is out. I hope it will work now.
Hessie James  [skaper] 23. feb. 2020 kl. 12.03 
@[SK] you don't have to add a number there just add local scale . I thougt i fixed the local scale problem. I have to look into it again.
ServiusTheBear 23. feb. 2020 kl. 9.50 
Your Modernes Depot and Depot + Asset Badischer Bahnhof Basel works perfectly fine :)
ServiusTheBear 23. feb. 2020 kl. 9.19 
Um I tried adding the line thing but not sure what the scale is. I did get a pop up this time with. error: error: res/scripts/init.lua:64: creating globals by assignment is not allowed (variable was face0)
Did you forget to add 'local' before your variable?
stack traceback:
[C](-1): ?
[C](-1): error
res/scripts/init.lua(64): __newindex
[string "C:/Program Files (x86)/Steam/steamapps/worksh..."](179): ?
res/config/base_config.lua(35): ?

So when am changing the lua what should it look like excatly and should their be a number in it for the scale? Sorry am a newb and modding persay. I have the other dept from you which worked fine.
wacker-ibk 23. feb. 2020 kl. 4.58 
hi habe den lokschuppen installiert nur wenn ich den in dem spiel integrieren will wollte dann stürzt mir leider das spiel ab :steamfacepalm:
Apocolypse 23. feb. 2020 kl. 1.48 
Getting a crash ingame when selecting it from the menu:

error: error: res/scripts/init.lua:64: creating globals by assignment is not allowed (variable was face0)
Did you forget to add 'local' before your variable?
stack traceback:
[C](-1): ?
[C](-1): error
res/scripts/init.lua(64): __newindex
[string "C:/Program Files (x86)/Steam/steamapps/worksh..."](179): ?
res/config/base_config.lua(35): ?

(last lines of stdout)
Sharki 22. feb. 2020 kl. 21.29 
spiel kackt ab
Hessie James  [skaper] 22. feb. 2020 kl. 15.26 
@mongolteiko you don't have to start a new map. If there are conflicts change the load order of mods. Kick load game then klick on the small + Symbol under Delete. Commonapi2 if you have it have tobe on top with all extensions. (1-3) after that load track mods. After that i Prefer to load Station and Depot mods and after that everything else exept there is depency of mods.
mongolteiko 22. feb. 2020 kl. 14.44 
It maybe a conflict. I'll try tomorrow with a clean map. Thank you for your help.
Hessie James  [skaper] 22. feb. 2020 kl. 14.38 
@mongolteiko sorry but my dds are all correctly scaled now. Don't know what to do and a line 116 doesn't exist in laneutil.lua. And really i don't understand the problem is in models.zip I don't touch anything there with my mod. Maybe change the load order and set it just after track mods if you have some installed.
mongolteiko 22. feb. 2020 kl. 14.24 
No it didn't work. Had the same lua error with 116 this time.
stack traceback:
[C](-1): scale
res/scripts/laneutil.lua(72): createLanes
[string "res/models/models.zip/model/station/water/era..." ](116): ?

ModelRep: 4222.63 ms
mongolteiko 22. feb. 2020 kl. 14.14 
@Hessie I can read and understand German quite good [just not write it very well] lol
I will leave it to your fix and see what happens in the next update. Thanks for the info.
Hessie James  [skaper] 22. feb. 2020 kl. 14.14 
@mongolteiko and [SK] a quik update is out. Please respond if it works for you. :)
Hessie James  [skaper] 22. feb. 2020 kl. 14.04 
@mongolteiko and @[SK] it seams there is a bug in the UG laneutil.lua. I can only try by replacing my mga files to solve the Problem. If it works I don't know. https://www.transportfever.net/index.php?thread/13607-l%C3%B6sung-f%C3%BCr-laneutil-makelanes-error-res-scripts-laneutil-lua-73-attempt-to-call/&postID=282405#post282405 it's in German I know. If my workover doesn' work for you you have to go to Transport Fever 2 res/scripts/laneutil.lua and add local scale after function laneutil.makeLanes(input)
local result = { } after line 15. Open it in Notepad add the local scale after line 15 and save it. But be warned it could be overrided with the next TPF2 update.
mongolteiko 22. feb. 2020 kl. 13.42 
@[SK] you find it in your steam folder > userdata > [ your user ID] > 1066780 > local > crash dump
Hessie James  [skaper] 22. feb. 2020 kl. 13.30 
@[SK]ServiusTheBear please read the last few Comments im working on it. :)
ServiusTheBear 22. feb. 2020 kl. 13.29 
Umm not sure where to find the stdout.txt Until I know the only thing I can say is it appears to be freezing my game when i try to put the building down to replace my depot.
Hessie James  [skaper] 22. feb. 2020 kl. 13.28 
@mongolteiko this is the Error [C] (-1):scale . Its a scaling problem of the textures. I made some mga files 256x256 instead of the original scale of the diffuse textures. In TPF1 it wasn't a problem.
mongolteiko 22. feb. 2020 kl. 13.25 
OK thanks.
mongolteiko 22. feb. 2020 kl. 13.24 
Lua error reads:
error: res/scripts/laneutil.lua:attempt to call upvalue 'scale' (a number value) stack traceback:
[C] (-1):scale
res/scripts/laneutil.lua(72): createLanes
[string "res/models/models.zip/model/station/road/stre..." ](58): ?

This error is usually caused by modding. The syntax of some game resources is not correct.

I'm a train driver not a programmer. Just telling you as it is. Thanks.
Hessie James  [skaper] 22. feb. 2020 kl. 13.22 
@mongolteiko ok. I think I found the Problem. But I have to make some _mga files anew and replace some entries in the mtl files. It could take a few days.
mongolteiko 22. feb. 2020 kl. 13.16 
I copied and pasted the end of the stdout.txt and it contained that.
mongolteiko 22. feb. 2020 kl. 13.14 
The save game runs fine. Been on this save game for 100hrs. When I add your mod it crashes. The text window contains the same message as the end of the stdout.txt
When I load the game without your mod it is ok.
Hessie James  [skaper] 22. feb. 2020 kl. 13.03 
@mongolteiko why is there a link in your post? the stdout.txt dosn't create links by itself.
mongolteiko 22. feb. 2020 kl. 12.10 
Keeps crashing for me:
stack traceback:
[C](-1): scale
res/scripts/laneutil.lua(72): createLanes
[string "res/models/models.zip/model/station/water/era..." ](116): ?

ModelRep: 6753 ms
Hessie James  [skaper] 22. feb. 2020 kl. 11.59 
@Intel schönen Dank auch. Ein Fix ist draussen.
pache711 22. feb. 2020 kl. 11.58 
@Calli and @Cmdt_Wlaskovish The creator literally said in the description to add the text from the stdout.txt about the crash instead of saying "game crashed"...
Zerstörerxx23 22. feb. 2020 kl. 11.27 
stürzt ab nicht downloaden
Rigby_Arg 22. feb. 2020 kl. 10.42 
game crashed
Calli 22. feb. 2020 kl. 8.29 
Game crashed when i click on tzhe Depot
gouthrodavid 22. feb. 2020 kl. 6.13 
thank you
mongolteiko 22. feb. 2020 kl. 5.53 
Looks good. Will try it out. Thank you.