Transport Fever 2

Transport Fever 2

British Water Tower Building
9 Comments
JK  [author] 8 Jun, 2024 @ 9:38am 
@FS4472DAN - Thanks. I've fixed and updated this now. (Any already placed instances with the issue should be fixable by opening the asset's settings and making a change, so it remakes it using the updated code.)
2999 Lady Of Legend 7 Jun, 2024 @ 12:07pm 
Nice, one bug though is that if you scale it down, when both doors are enabled, then one door will be freestanding. Great mod and liverys though!
Wicked Muppet 17 Dec, 2019 @ 11:01am 
Thanks a lot mate!
JK  [author] 17 Dec, 2019 @ 10:24am 
UPDATED - Fixed 'z global' crash when Debug Mode wasn't enabled.
JK  [author] 17 Dec, 2019 @ 9:52am 
@II-6thLA(A)Pvt.Wicked Muppet - Thanks.
I've found that the quick temporary way to resolve it is to turn on Debug mode (which is why I never got the error). For some reason it works fine with that on. The same code works fine in TpF1 with and without Debug mode on. So this may be a TpF2 bug, or could be different behaviour by design. I'll investigate further...
Oldhip 17 Dec, 2019 @ 4:14am 
I am sure you will sort it out, thanks for your efforts, I get it from game start 1850 in all environments.
Wicked Muppet 17 Dec, 2019 @ 2:25am 
This is the error i'm getting:

res/scripts/init.lua:64:creating globals by assignment is not allowed (variable was z)
Did you forget to add 'local' before your variable?
Stack traceback:
[C](-1): ?
[C](-1): error
res/scripts/init.lua(64): _newindex
JK  [author] 17 Dec, 2019 @ 12:56am 
Sorry to anyone getting crashes. I've briefly looked this morning, and haven't been able to replicate it so far. If you can let me know any error message it shows or relevant errors from the stdout.txt error log that may help. Also if you're using Linux/Mac. And what game year and map environment, which could affect it. Thanks. I'll be looking into it again tonight.
Oldhip 16 Dec, 2019 @ 4:25pm 
This causes game crash as soon as I open the misc. menu, added nothing else except this.