Steamをインストール
ログイン
|
言語
简体中文(簡体字中国語)
繁體中文(繁体字中国語)
한국어 (韓国語)
ไทย (タイ語)
български (ブルガリア語)
Čeština(チェコ語)
Dansk (デンマーク語)
Deutsch (ドイツ語)
English (英語)
Español - España (スペイン語 - スペイン)
Español - Latinoamérica (スペイン語 - ラテンアメリカ)
Ελληνικά (ギリシャ語)
Français (フランス語)
Italiano (イタリア語)
Bahasa Indonesia(インドネシア語)
Magyar(ハンガリー語)
Nederlands (オランダ語)
Norsk (ノルウェー語)
Polski (ポーランド語)
Português(ポルトガル語-ポルトガル)
Português - Brasil (ポルトガル語 - ブラジル)
Română(ルーマニア語)
Русский (ロシア語)
Suomi (フィンランド語)
Svenska (スウェーデン語)
Türkçe (トルコ語)
Tiếng Việt (ベトナム語)
Українська (ウクライナ語)
翻訳の問題を報告
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