安装 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(越南语)
Українська(乌克兰语)
报告翻译问题
Hi, I had the same issue as you, with the mod being incompatible with NEP. However, I fixed it myself by updating the code of this station mod.
I've already posted the fix in this comment section, but I can repost it:
- Open the file "oppie_ns_station.con", found in this mod's directory (1066780\1957064125\res\construction\station\rail\modular_station)
- Scroll down to line 886, and you should see the following:
local cumsum = {
0,
#result.edgeLists[1].edges,
#result.edgeLists[1].edges+#result.edgeLists[2].edges,
#result.edgeLists[1].edges+#result.edgeLists[2].edges+#result.edgeLists[3].edges,
}
This appears to be outdated or broken code!
What I did to fix the mod was to replace said code with the following:
local cumsum = {}
local c = 0
for i = 1, #result.edgeLists do
cumsum[i] = c
c = c + #result.edgeLists[i].edges
end
- Now save the edited oppie_ns_station.con file.
I was using your mod for a while, but after installing a NEP (Natural Enviorment Proffesional) i can't use it anymore.
Old stations are working fine, i can add modules (in station editng) but can't create new ones (there is this grey block with error).
Can you help me?
Thanks for the hard work !
NEVERMIND, I found the fix myself!
Okay, here's what needs to be done:
- Open the file "oppie_ns_station.con", found in this mod's directory (1066780\1957064125\res\construction\station\rail\modular_station)
- Scroll down to line 886, and you should see the following:
local cumsum = {
0,
#result.edgeLists[1].edges,
#result.edgeLists[1].edges+#result.edgeLists[2].edges,
#result.edgeLists[1].edges+#result.edgeLists[2].edges+#result.edgeLists[3].edges,
}
This appears to be outdated or broken code!
What I did to fix the mod was to replace said code with the following:
local cumsum = {}
local c = 0
for i = 1, #result.edgeLists do
cumsum[i] = c
c = c + #result.edgeLists[i].edges
end
- Now save the edited oppie_ns_station.con file.
I hope this fix works for everyone else having the "attempt to perform arithmetic on field '?' (a nil value)" issue.
Disable Natural Environment Professional 2; the mod seems to be incompatible with this station.
I hope Oppie eventually comes with a fix.
Exception type: Lua exception
Error message: error: [string "E:/SteamLibrary/steamapps/workshop/content/1066780/1957064125/res/construction/station/rail/modular_station/oppie_ns_station.con"]:951: attempt to perform arithmetic on field '?' (a nil value)
stack traceback:
=[C](-1): __add
@res/config/base_config.lua(102): ?
Key: game/config/ConstructWithModules
Mod: "NL Modular Station" (*1957064125, 1) (consider removing this mod and contacting the mod author)
In file: urban_games/train_fever/src/Lib/lua/State.cpp:642
In function: void __cdecl lua::State::Call(int,int)
Some other mod ensures the fault, but unfortunately I don't know which one. When I load alone with the mod, the mod works again. But I would not like to go through over 200 mods to see which mod this causes .... :/
Somebody know the mod??
I get this Error and the game crashed
Error message: error: [string "C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/1957064125/res/construction/station/rail/modular_station/oppie_ns_station.con"]:951: attempt to perform arithmetic on field '?' (a nil value)
stack traceback:
=[C](-1): __add
C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/1957064125/res/construction/station/rail/modular_station/oppie_ns_station.con(951): terminateConstructionHook
@res/config/base_config.lua(101): ?
Key: game/config/ConstructWithModules
Minidump: C:/Program Files (x86)/Steam/userdata/227749487/1066780/local/crash_dump/1e30487f-9ea4-47fc-9432-20f91468862f.dmp
Mod: "NL Modular Station" (*1957064125, 1) (consider removing this mod and contacting the mod author)
Can you Help me or fix the issue?
If you could work out how to get the station buildings to provide additional waiting capacity that would be fab.
This mod works fine but doesn't get along withe a mod "Modular station asymetry fix". Both of them work separatly but creats errors when together.
{链接已删除}https://i.imgur.com/xvvk29r.mp4
I'm also still getting my passenger's only waist upwards stood on the platform.
Inkompatibel.Der Bahnhof und die Assets lassen sich dann nicht mehr auswählen und bauen.
Ist es möglich diesen Mod an NEP2 anzupassen?
Hallo. Prima Mod. Aber andere Gleise benutzen ist leider nicht möglich. Kannst du deine Mod vielleicht so updaten für andere Gleise bitte.
Bv. deze:
Z.b. diese:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2170492117
this mod is very beautiful and works very well but there is a big problem that I cannot use it: the passengers are drowned in the platform up to the waist ...
because the platforms are too high
I forgot something ?
translated by Google
I fixed it in https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2148841371
Besides the fix, you can make the stations as big as you like on both sides.
Details:
Error message: error: [string "D:/SteamLibrary/steamapps/workshop/content/10..."]:1048: attempt to perform arithmetic on field '?' (a nil value)
stack traceback:
=[C](-1): __add
D:/SteamLibrary/steamapps/workshop/content/1066780/1957064125/res/construction/station/rail/modular_station/oppie_ns_station.con(1048): terminateConstructionHook
@res/config/base_config.lua(101): ?
File name: D:/SteamLibrary/steamapps/workshop/content/1066780/1957064125/res/construction/station/rail/modular_station/oppie_ns_station.con
Key: game/config/ConstructWithModules
Minidump: C:/Program Files (x86)/Steam/userdata/32491476/1066780/local/crash_dump/d05b7b76-ba1d-4f26-b3e2-ebaba635341b.dmp
Mod: "NL Modular Station" (consider removing this mod and contacting the mod author)
In file: ..\..\src\Lib\lua\State.cpp:592
In function: void __cdecl lua::State::Call(int,int)
kannst Du bitte mal schauen, error siehe Bild:
Fehlerbild [www.elektronikfreak.de]
I downloaded the entire mod pack but only the modern roof is showing up, is there a fix for this?
Exception type: Lua exception
This error is usually caused by modding. Some game resources contain incorrect data.
Details:
Error message: error: [string "res/construction/station/rail/modular_station..."]:9: attempt to call field 'findOrMakeNewEdgeListNum' (a nil value)
stack traceback:
=[C](-1): findOrMakeNewEdgeListNum
res/construction/station/rail/modular_station/trackmodule.script(9): tab
@res/config/base_config.lua(88): ?
File name: D:/steam/steamapps/workshop/content/1066780/1947635847/res/construction/station/rail/modular_station/modular_station.con
Key: game/config/ConstructWithModules
Minidump: C:/Program Files (x86)/Steam/userdata/1032230213/1066780/local/crash_dump/8bd9053c-60b8-42d0-8dba-7bf4d634cecc.dmp
Mod: "CommonAPI2 - Modular rail station adapter" (consider removing this mod and contacting the mod author)
In file: c:\build\tpf2_steam\src\lib\lua\state.cpp:586
In function: void __cdecl lua::State::Call(int,int)
"
add mod track error
How fix this? Youre mod too.