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 (ベトナム語)
Українська (ウクライナ語)
翻訳の問題を報告
Error message: error: mods/linemanager_1/res/scripts/cartok/api_helper.lua:191: stack index 4, expected string, received sol.CmdData::SetLine
stack traceback:
=[C](-1): ?
=[C](-1): sendCommand
@mods/linemanager_1/res/scripts/cartok/api_helper.lua(191): buyVehicle
mods/linemanager_1/res/config/game_script/linemanager.lua(173): addVehicleToLine
mods/linemanager_1/res/config/game_script/linemanager.lua(236): updateLines
mods/linemanager_1/res/config/game_script/linemanager.lua(372): everyTickUpdate
mods/linemanager_1/res/config/game_script/linemanager.lua(783): ?
And I enabled the debugging and the log before crash looks like this:
complete stdout.txt and crash dumps:
https://www.dropbox.com/s/9l8rs2fjrobdb9p/log%20and%20dump%202022-06-05-2.7z?dl=1
...
Unfortunately the extra debugging does not tell me if line 38624 is the line in which I switched the vehicle type. But I think so.
The easiest way (outside of console commands) to check line info is to open the corresponding <save_game_name>.sav.lua file and search for the line_id number there - in the LineManager section you should find a lot of information. If you have time, please copy the contents for the problem-line in here.
I don't really play with any mods, except LineManager, so there's no guarantee it will work with all possible combinations. In particular mods that add combinations that don't exist in the base-game, such as cargo trams (I've never used them at least).
The problem line from .sav.lua after vehicle switch and 4 minutes before the crash:
I've not played with cargo trams myself, is it possible to continue using the same line for a different type i.e. TRAM to ROAD (truck)?
If so, then my guess is that trying to use a cached tram depot to create a new truck, which will lead to this error. I have an idea for another item I can add to address this, and similar scenarios.
It says
carrier = "TRAM",
so still believes it's still a tram.
complete stdout.txt and crash dumps:
https://www.dropbox.com/s/hb0a4gej8vd6k11/log%20and%20dump%202022-06-05-3.7z?dl=1
What's a simple mod that adds cargo trams?
Any further testing you can do is appreciated. I've switched off computer for today, but will try to take a look tomorrow.
A possible fix is to simply create a new line with the same stops, but only for trucks.
The mod for cargo trams is:
https://www.transportfever.net/filebase/index.php?entry/5046-güterstraßenbahnen/
complete stdout.txt and crash dumps:
https://www.dropbox.com/s/7z74sgg4mm0n0tc/log%20and%20dump%202022-06-05-4.7z?dl=1