Instal Steam
login
|
bahasa
简体中文 (Tionghoa Sederhana)
繁體中文 (Tionghoa Tradisional)
日本語 (Bahasa Jepang)
한국어 (Bahasa Korea)
ไทย (Bahasa Thai)
Български (Bahasa Bulgaria)
Čeština (Bahasa Ceko)
Dansk (Bahasa Denmark)
Deutsch (Bahasa Jerman)
English (Bahasa Inggris)
Español - España (Bahasa Spanyol - Spanyol)
Español - Latinoamérica (Bahasa Spanyol - Amerika Latin)
Ελληνικά (Bahasa Yunani)
Français (Bahasa Prancis)
Italiano (Bahasa Italia)
Magyar (Bahasa Hungaria)
Nederlands (Bahasa Belanda)
Norsk (Bahasa Norwegia)
Polski (Bahasa Polandia)
Português (Portugis - Portugal)
Português-Brasil (Bahasa Portugis-Brasil)
Română (Bahasa Rumania)
Русский (Bahasa Rusia)
Suomi (Bahasa Finlandia)
Svenska (Bahasa Swedia)
Türkçe (Bahasa Turki)
Tiếng Việt (Bahasa Vietnam)
Українська (Bahasa Ukraina)
Laporkan kesalahan penerjemahan
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