Nainstalovat Steam
přihlásit se
|
jazyk
简体中文 (Zjednodušená čínština)
繁體中文 (Tradiční čínština)
日本語 (Japonština)
한국어 (Korejština)
ไทย (Thajština)
български (Bulharština)
Dansk (Dánština)
Deutsch (Němčina)
English (Angličtina)
Español-España (Evropská španělština)
Español-Latinoamérica (Latin. španělština)
Ελληνικά (Řečtina)
Français (Francouzština)
Italiano (Italština)
Bahasa Indonesia (Indonéština)
Magyar (Maďarština)
Nederlands (Nizozemština)
Norsk (Norština)
Polski (Polština)
Português (Evropská portugalština)
Português-Brasil (Brazilská portugalština)
Română (Rumunština)
Русский (Ruština)
Suomi (Finština)
Svenska (Švédština)
Türkçe (Turečtina)
Tiếng Việt (Vietnamština)
Українська (Ukrajinština)
Nahlásit problém s překladem
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