Steam installeren
inloggen
|
taal
简体中文 (Chinees, vereenvoudigd)
繁體中文 (Chinees, traditioneel)
日本語 (Japans)
한국어 (Koreaans)
ไทย (Thai)
Български (Bulgaars)
Čeština (Tsjechisch)
Dansk (Deens)
Deutsch (Duits)
English (Engels)
Español-España (Spaans - Spanje)
Español - Latinoamérica (Spaans - Latijns-Amerika)
Ελληνικά (Grieks)
Français (Frans)
Italiano (Italiaans)
Bahasa Indonesia (Indonesisch)
Magyar (Hongaars)
Norsk (Noors)
Polski (Pools)
Português (Portugees - Portugal)
Português - Brasil (Braziliaans-Portugees)
Română (Roemeens)
Русский (Russisch)
Suomi (Fins)
Svenska (Zweeds)
Türkçe (Turks)
Tiếng Việt (Vietnamees)
Українська (Oekraïens)
Een vertaalprobleem melden
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?
Going to start a new map soon anyway and will use all 3 then. Thanks for your hard work. Appreciated.
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): ?
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.
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)
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
I will leave it to your fix and see what happens in the next update. Thanks for the info.
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.
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.
When I load the game without your mod it is ok.
stack traceback:
[C](-1): scale
res/scripts/laneutil.lua(72): createLanes
[string "res/models/models.zip/model/station/water/era..." ](116): ?
ModelRep: 6753 ms