Problem gelöst.
Ich hatte in der main.lua der Zäune - Mod noch die offsets auf 20 statt auf 10.
Edit:
jag-999 snowball
Zu früh gefreut, jetzt habe ich ein völlig anderes Problem.
Ich wollte am Übergang von Bahndamm zu Brücke ein Stück Böschung ziehen, um die Stützwände eines Brückenkopfes zu gestalten.
Dabei ist mir der Cursor auf die andere Seite des Gleises gerutscht - ohne dass ich geklickt hätte, also noch im Vorschaumodus - und das Spiel ist abgestürzt:
Exception type: Lua exception
This error is usually caused by modding. Some game resources contain incorrect data.
Details:
Error message: error: mods/snowball_fences_1/res/scripts/snowball/fences/main.lua:633: internal error
> Exception type: Fatal error
>
> Details:
>
> Assertion Failure: Assertion `!proposalData.errorState.critical' failed.
>
> Minidump: C:/Users/Admin/AppData/Roaming/Transport Fever 2/crash_dump/c0fef10e-fc58-46e8-bf64-f05af4dbb972.dmp
>
> In file: urban_games/train_fever/src/Game/scripting/legacy/interface.cpp:249
>
> In function: class ecs::Entity __cdecl `anonymous-namespace'::BuildConstruction(class ecs::Engine &,const struct street_util::StreetToolkit &,const class ecs::NameSystem *,const class CostRep *,const class ConstructionRep *,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const struct lua::Table &,const class ecs::Entity &,const struct CMat4f &,const class ecs::Entity &)
stack traceback:
=[C](-1): ?
=[C](-1): buildConstruction
@mods/snowball_fences_1/res/scripts/snowball/fences/main.lua(633): build
mods/snowball_fences_1/res/config/game_script/snowball_fences_callback.lua(162): ?
File name: mods/snowball_fences_1/res/config/game_script/snowball_fences_callback.lua
Key: game/res/gameScript/snowball_fences_callback.lua_handleEvent
Minidump: C:/Users/Admin/AppData/Roaming/Transport Fever 2/crash_dump/288398b8-0bda-4b71-8b66-41611cee8e32.dmp
UI Component Hierarchy:
type: class UI::CGameUI, id = "", name = "CGameUI", styleClasses = {"top-gamebar-visible"}
type: class UI::CMenuUI, id = "", name = "MenuUI", styleClasses = {}
type: class UI::CComponent, id = "", name = "wrap", styleClasses = {"platform-desktop", "ui-classic", "input-mouse", "gamepad-type-xbox"}
Mod: "Zäune" (snowball_fences, 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)
__CRASHDB_CRASH__ struct lua::LuaException: urban_games/train_fever/src/Lib/lua/State.cpp:642: void __cdecl lua::State::Call(int,int): error: snowball_fences_1::res/scripts/snowball/fences/main.lua:633: internal error
> Exception type: Fatal error
>
> Details:
>
> Assertion Failure: Assertion `!proposalData.errorState.critical' failed.
>
> Minidump: C:/Users/Admin/AppData/Roaming/Transport Fever 2/crash_dump/c0fef10e-fc58-46e8-bf64-f05af4dbb972.dmp
>
> In file: urban_games/train_fever/src/Game/scripting/legacy/interface.cpp:249
>
> In function: class ecs::Entity __cdecl `anonymous-namespace'::BuildConstruction(class ecs::Engine &,const struct street_util::StreetToolkit &,const class ecs::NameSystem *,const class CostRep *,const class ConstructionRep *,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const struct lua::Table &,const class ecs::Entity &,const struct CMat4f &,const class ecs::Entity &)
stack traceback:
=[C](-1): ?
=[C](-1): buildConstruction
@snowball_fences_1::res/scripts/snowball/fences/main.lua(633): build
snowball_fences_1::res/config/game_script/snowball_fences_callback.lua(162): ?
mods/snowball_fences_1/ not in file cache!
Exception type: Lua exception
This error is usually caused by modding. Some game resources contain incorrect data.
Details:
Error message: error: mods/snowball_fences_1/res/scripts/snowball/fences/main.lua:633: internal error
> Exception type: Fatal error
>
> Details:
>
> Assertion Failure: Assertion `!proposalData.errorState.critical' failed.
>
> Minidump: C:/Users/Admin/AppData/Roaming/Transport Fever 2/crash_dump/c0fef10e-fc58-46e8-bf64-f05af4dbb972.dmp
>
> In file: urban_games/train_fever/src/Game/scripting/legacy/interface.cpp:249
>
> In function: class ecs::Entity __cdecl `anonymous-namespace'::BuildConstruction(class ecs::Engine &,const struct street_util::StreetToolkit &,const class ecs::NameSystem *,const class CostRep *,const class ConstructionRep *,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const struct lua::Table &,const class ecs::Entity &,const struct CMat4f &,const class ecs::Entity &)
stack traceback:
=[C](-1): ?
=[C](-1): buildConstruction
@mods/snowball_fences_1/res/scripts/snowball/fences/main.lua(633): build
mods/snowball_fences_1/res/config/game_script/snowball_fences_callback.lua(162): ?
File name: mods/snowball_fences_1/res/config/game_script/snowball_fences_callback.lua
Key: game/res/gameScript/snowball_fences_callback.lua_handleEvent
Minidump: C:/Users/Admin/AppData/Roaming/Transport Fever 2/crash_dump/288398b8-0bda-4b71-8b66-41611cee8e32.dmp
UI Component Hierarchy:
type: class UI::CGameUI, id = "", name = "CGameUI", styleClasses = {"top-gamebar-visible"}
type: class UI::CMenuUI, id = "", name = "MenuUI", styleClasses = {}
type: class UI::CComponent, id = "", name = "wrap", styleClasses = {"platform-desktop", "ui-classic", "input-mouse", "gamepad-type-xbox"}
Mod: "Zäune" (snowball_fences, 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)
Goodbye.
========================================
Shutdown at Thu May 11 14:10:44 2023
========================================
Alles anzeigen
proposalData.errorState.critical könnte was mit deferredProposal zu tun haben?