Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when loading world #19

Closed
iliawhite opened this issue Dec 9, 2021 · 7 comments
Closed

Error when loading world #19

iliawhite opened this issue Dec 9, 2021 · 7 comments

Comments

@iliawhite
Copy link

DEBUG : Error: Json error: data/mods/BL9-100%_monster_resilience_version/Furniture-Terrain/terrain.json:735:23: expected string but got '{'

"move_cost": 0,
"flags": [ "NOITEM", "CONNECT_TO_WALL" ],
"examine_action": {
                  ^

  "type": "cardreader",
  "flags": [ "SCIENCE_CARD" ],

FUNCTION : bool main_menu::load_character_tab(bool)
FILE : src/main_menu.cpp
LINE : 1152
VERSION : BN fe46d08

@iliawhite
Copy link
Author

Sorry, I didn't see that it was a duplicate.

@iliawhite
Copy link
Author

DEBUG : Error: Json error: data/mods/BL9-100%_monster_resilience_version/Items/ammo.json:244:41: Invalid damage type

"casing": "9mm_casing",
"range": 14,
"damage": { "damage_type": "bullet",
                                    ^
                                     "amount": 28, "armor_penetration": 11 },
"dispersion": 85,
"recoil": 340,

FUNCTION : bool main_menu::load_character_tab(bool)
FILE : src/main_menu.cpp
LINE : 1152
VERSION : BN fe46d08

@iliawhite iliawhite reopened this Dec 9, 2021
@iliawhite
Copy link
Author

Changed all "bullet" to "stab". It helped.

@iliawhite
Copy link
Author

DEBUG : Error: Json error: data/mods/BL9-100%_monster_resilience_version/Items/weapons.json:21:48: Invalid damage type

"bashing": 8,
"to_hit": -1,
"ranged_damage": { "damage_type": "bullet",
                                           ^
                                            "amount": 1, "armor_penetration": 1 },
"range": 14,
"dispersion": 185,

FUNCTION : bool main_menu::load_character_tab(bool)
FILE : src/main_menu.cpp
LINE : 1152
VERSION : BN fe46d08

@iliawhite
Copy link
Author

Same thing with guns.

@iliawhite
Copy link
Author

iliawhite commented Dec 9, 2021

11:36:14.301 : Starting log.
11:36:14.301 INFO : Cataclysm BN version fe46d08
11:36:14.309 INFO : C locale on startup: 'C'
11:36:14.309 INFO : C++ locale on startup: 'C'
11:36:14.311 INFO : Detected system UI language as 'ru_RU'
11:36:14.311 INFO : SDL version used during compile is 2.0.14
11:36:14.311 INFO : SDL version used during linking and in runtime is 2.0.14
11:36:14.357 INFO : Number of render drivers on your system: 5
11:36:14.357 INFO : Render driver: 0/direct3d
11:36:14.357 INFO : Render driver: 1/direct3d11
11:36:14.357 INFO : Render driver: 2/opengl
11:36:14.357 INFO : Render driver: 3/opengles2
11:36:14.357 INFO : Render driver: 4/software
11:36:14.415 INFO : Active renderer: 1/direct3d11
11:36:14.447 INFO : Active audio driver: wasapi
11:36:14.474 INFO : Opened mixer with specs: 44100 Hz, 2 channel(s), format 0x8010
11:36:14.560 INFO : Using experimental system, language set to 'ru_RU'
11:36:14.560 INFO : C locale set to 'Russian_Russia.1252'
11:36:14.560 INFO : C++ locale set to 'C'
11:36:15.348 WARNING : opendir [./mods/] failed with "No such file or directory".
11:36:21.804 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] (error message will follow backtrace)
#0
(dbghelp: @0x68e6a6[cataclysm-tiles.exe+0x28e6a6]),
(libbacktrace: Z21debug_write_backtraceRSo+0x56@0x68e6a6),
(libbacktrace: 0x68e6a6 [unknown src]:0 [unknown func]),
#1
(dbghelp: @0x694236[cataclysm-tiles.exe+0x294236]),
(libbacktrace: ZN6detail12realDebugLogE2DL2DCPKcS3_S3_+0x456@0x694236),
(libbacktrace: 0x694236 [unknown src]:0 [unknown func]),
#2
(dbghelp: @0x6929bf[cataclysm-tiles.exe+0x2929bf]),
(libbacktrace: Z12realDebugmsgPKcS0_S0_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x6f@0x6929bf),
(libbacktrace: 0x6929bf [unknown src]:0 [unknown func]),
#3
(dbghelp: @0x15873c4[cataclysm-tiles.exe+0x11873c4]),
(libbacktrace: Z12realDebugmsgIJRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcEEvS9_S9_S9_S9_DpOT_+0x2d4@0x15873c4),
(libbacktrace: 0x15873c4 [unknown src]:0 [unknown func]),
#4
(dbghelp: @0xb533aa[cataclysm-tiles.exe+0x7533aa]),
(libbacktrace: ZN6int_idI6furn_tEC1ERK9string_idIS0_E+0xba@0xb533aa),
(libbacktrace: 0xb533aa [unknown src]:0 [unknown func]),
#5
(dbghelp: @0xb5f412[cataclysm-tiles.exe+0x75f412]),
(libbacktrace: ZN14mapgen_palette13load_internalERK10JsonObjectRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbb+0x582@0xb5f412),
(libbacktrace: 0xb5f412 [unknown src]:0 [unknown func]),
#6
(dbghelp: @0xb5ff85[cataclysm-tiles.exe+0x75ff85]),
(libbacktrace: ZN14mapgen_palette4loadERK10JsonObjectRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x35@0xb5ff85),
(libbacktrace: 0xb5ff85 [unknown src]:0 [unknown func]),
#7
(dbghelp: @0x89c2f1[cataclysm-tiles.exe+0x49c2f1]),
(libbacktrace: ZN17DynamicDataLoader11load_objectERK10JsonObjectRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_SA_+0x161@0x89c2f1),
(libbacktrace: 0x89c2f1 [unknown src]:0 [unknown func]),
#8
(dbghelp: @0x8a2c22[cataclysm-tiles.exe+0x4a2c22]),
(libbacktrace: ZN17DynamicDataLoader18load_all_from_jsonER6JsonInRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER10loading_uiS9_S9_+0x182@0x8a2c22),
(libbacktrace: 0x8a2c22 [unknown src]:0 [unknown func]),
#9
(dbghelp: @0x8a31df[cataclysm-tiles.exe+0x4a31df]),
(libbacktrace: ZN17DynamicDataLoader19load_data_from_pathERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_R10loading_ui+0x47f@0x8a31df),
(libbacktrace: 0x8a31df [unknown src]:0 [unknown func]),
#10
(dbghelp: @0x7dea15[cataclysm-tiles.exe+0x3dea15]),
(libbacktrace: ZN4game10load_packsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorI9string_idI15MOD_INFORMATIONESaISB_EER10loading_ui+0x215@0x7dea15),
(libbacktrace: 0x7dea15 [unknown src]:0 [unknown func]),
#11
(dbghelp: @0x7e0af2[cataclysm-tiles.exe+0x3e0af2]),
(libbacktrace: ZN4game19load_world_modfilesER10loading_ui+0x382@0x7e0af2),
(libbacktrace: 0x7e0af2 [unknown src]:0 [unknown func]),
#12
(dbghelp: @0x7f7166[cataclysm-tiles.exe+0x3f7166]),
(libbacktrace: ZN4game5setupEv+0xc6@0x7f7166),
(libbacktrace: 0x7f7166 [unknown src]:0 [unknown func]),
#13
(dbghelp: @0xacb52f[cataclysm-tiles.exe+0x6cb52f]),
(libbacktrace: ZN9main_menu18load_character_tabEb+0x54f@0xacb52f),
(libbacktrace: 0xacb52f [unknown src]:0 [unknown func]),
#14
(dbghelp: @0xad4213[cataclysm-tiles.exe+0x6d4213]),
(libbacktrace: ZN9main_menu14opening_screenEv+0xf73@0xad4213),
(libbacktrace: 0xad4213 [unknown src]:0 [unknown func]),
#15
(dbghelp: @0x1c1a70c[cataclysm-tiles.exe+0x181a70c]),
(libbacktrace: main+0x181c@0x1c1a70c),
(libbacktrace: 0x1c1a70c [unknown src]:0 [unknown func]),
#16
(dbghelp: @0x4013bd[cataclysm-tiles.exe+0x13bd]),
(libbacktrace: tmainCRTStartup+0x22d@0x4013bd),
(libbacktrace: 0x4013bd /usr/lib/mxe/tmp-gcc-x86_64-w64-mingw32.static/gcc-5.5.0.build
/mingw-w64-v8.0.0/mingw-w64-crt/crt/crtexe.c:335 tmainCRTStartup),
#17
(dbghelp: @0x4014c6[cataclysm-tiles.exe+0x14c6]),
(libbacktrace: WinMainCRTStartup+0x16@0x4014c6),
(libbacktrace: 0x4014c6 /usr/lib/mxe/tmp-gcc-x86_64-w64-mingw32.static/gcc-5.5.0.build
/mingw-w64-v8.0.0/mingw-w64-crt/crt/crtexe.c:188 WinMainCRTStartup),
#18
(dbghelp: BaseThreadInitThunk+0x14@0x7ffc02ef7034[KERNEL32.DLL+0x17034]),
(backtrace_syminfo failed: errno = -1, msg = no symbol table in PE/COFF executable),
(backtrace_pcinfo failed: errno = -1, msg = no debug info in PE/COFF executable),
#19
(dbghelp: RtlUserThreadStart+0x21@0x7ffc03122651[ntdll.dll+0x52651]),
(backtrace_syminfo failed: errno = -1, msg = no symbol table in PE/COFF executable),
(backtrace_pcinfo failed: errno = -1, msg = no debug info in PE/COFF executable),
Backtrace emission took 0 seconds.
invalid furniture id "f_machinery_light"
11:37:24.484 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] (error message will follow backtrace)
#0
(dbghelp: @0x68e6a6[cataclysm-tiles.exe+0x28e6a6]),
(libbacktrace: Z21debug_write_backtraceRSo+0x56@0x68e6a6),
(libbacktrace: 0x68e6a6 [unknown src]:0 [unknown func]),
#1
(dbghelp: @0x694236[cataclysm-tiles.exe+0x294236]),
(libbacktrace: ZN6detail12realDebugLogE2DL2DCPKcS3_S3
+0x456@0x694236),
(libbacktrace: 0x694236 [unknown src]:0 [unknown func]),
#2
(dbghelp: @0x6929bf[cataclysm-tiles.exe+0x2929bf]),
(libbacktrace: Z12realDebugmsgPKcS0_S0_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x6f@0x6929bf),
(libbacktrace: 0x6929bf [unknown src]:0 [unknown func]),
#3
(dbghelp: @0x15873c4[cataclysm-tiles.exe+0x11873c4]),
(libbacktrace: Z12realDebugmsgIJRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcEEvS9_S9_S9_S9_DpOT_+0x2d4@0x15873c4),
(libbacktrace: 0x15873c4 [unknown src]:0 [unknown func]),
#4
(dbghelp: @0xb533aa[cataclysm-tiles.exe+0x7533aa]),
(libbacktrace: ZN6int_idI6furn_tEC1ERK9string_idIS0_E+0xba@0xb533aa),
(libbacktrace: 0xb533aa [unknown src]:0 [unknown func]),
#5
(dbghelp: @0xb5f412[cataclysm-tiles.exe+0x75f412]),
(libbacktrace: ZN14mapgen_palette13load_internalERK10JsonObjectRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbb+0x582@0xb5f412),
(libbacktrace: 0xb5f412 [unknown src]:0 [unknown func]),
#6
(dbghelp: @0xb5ff85[cataclysm-tiles.exe+0x75ff85]),
(libbacktrace: ZN14mapgen_palette4loadERK10JsonObjectRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x35@0xb5ff85),
(libbacktrace: 0xb5ff85 [unknown src]:0 [unknown func]),
#7
(dbghelp: @0x89c2f1[cataclysm-tiles.exe+0x49c2f1]),
(libbacktrace: ZN17DynamicDataLoader11load_objectERK10JsonObjectRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_SA_+0x161@0x89c2f1),
(libbacktrace: 0x89c2f1 [unknown src]:0 [unknown func]),
#8
(dbghelp: @0x8a2c22[cataclysm-tiles.exe+0x4a2c22]),
(libbacktrace: ZN17DynamicDataLoader18load_all_from_jsonER6JsonInRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER10loading_uiS9_S9_+0x182@0x8a2c22),
(libbacktrace: 0x8a2c22 [unknown src]:0 [unknown func]),
#9
(dbghelp: @0x8a31df[cataclysm-tiles.exe+0x4a31df]),
(libbacktrace: ZN17DynamicDataLoader19load_data_from_pathERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_R10loading_ui+0x47f@0x8a31df),
(libbacktrace: 0x8a31df [unknown src]:0 [unknown func]),
#10
(dbghelp: @0x7dea15[cataclysm-tiles.exe+0x3dea15]),
(libbacktrace: ZN4game10load_packsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorI9string_idI15MOD_INFORMATIONESaISB_EER10loading_ui+0x215@0x7dea15),
(libbacktrace: 0x7dea15 [unknown src]:0 [unknown func]),
#11
(dbghelp: @0x7e0af2[cataclysm-tiles.exe+0x3e0af2]),
(libbacktrace: ZN4game19load_world_modfilesER10loading_ui+0x382@0x7e0af2),
(libbacktrace: 0x7e0af2 [unknown src]:0 [unknown func]),
#12
(dbghelp: @0x7f7166[cataclysm-tiles.exe+0x3f7166]),
(libbacktrace: ZN4game5setupEv+0xc6@0x7f7166),
(libbacktrace: 0x7f7166 [unknown src]:0 [unknown func]),
#13
(dbghelp: @0xacb52f[cataclysm-tiles.exe+0x6cb52f]),
(libbacktrace: ZN9main_menu18load_character_tabEb+0x54f@0xacb52f),
(libbacktrace: 0xacb52f [unknown src]:0 [unknown func]),
#14
(dbghelp: @0xad4213[cataclysm-tiles.exe+0x6d4213]),
(libbacktrace: ZN9main_menu14opening_screenEv+0xf73@0xad4213),
(libbacktrace: 0xad4213 [unknown src]:0 [unknown func]),
#15
(dbghelp: @0x1c1a70c[cataclysm-tiles.exe+0x181a70c]),
(libbacktrace: main+0x181c@0x1c1a70c),
(libbacktrace: 0x1c1a70c [unknown src]:0 [unknown func]),
#16
(dbghelp: @0x4013bd[cataclysm-tiles.exe+0x13bd]),
(libbacktrace: tmainCRTStartup+0x22d@0x4013bd),
(libbacktrace: 0x4013bd /usr/lib/mxe/tmp-gcc-x86_64-w64-mingw32.static/gcc-5.5.0.build
/mingw-w64-v8.0.0/mingw-w64-crt/crt/crtexe.c:335 _tmainCRTStartup),
#17
(dbghelp: @0x4014c6[cataclysm-tiles.exe+0x14c6]),
(libbacktrace: WinMainCRTStartup+0x16@0x4014c6),
(libbacktrace: 0x4014c6 /usr/lib/mxe/tmp-gcc-x86_64-w64-mingw32.static/gcc-5.5.0.build
/mingw-w64-v8.0.0/mingw-w64-crt/crt/crtexe.c:188 WinMainCRTStartup),
#18
(dbghelp: BaseThreadInitThunk+0x14@0x7ffc02ef7034[KERNEL32.DLL+0x17034]),
(backtrace_syminfo failed: errno = -1, msg = no symbol table in PE/COFF executable),
(backtrace_pcinfo failed: errno = -1, msg = no debug info in PE/COFF executable),
#19
(dbghelp: RtlUserThreadStart+0x21@0x7ffc03122651[ntdll.dll+0x52651]),
(backtrace_syminfo failed: errno = -1, msg = no symbol table in PE/COFF executable),
(backtrace_pcinfo failed: errno = -1, msg = no debug info in PE/COFF executable),
Backtrace emission took 0 seconds.
invalid furniture id "f_machinery_heavy"
11:37:24.886 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] invalid furniture id "f_machinery_old"
11:37:25.110 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] invalid furniture id "f_generator_broken"
11:37:25.340 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] invalid furniture id "f_machinery_light"
11:37:25.542 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] invalid furniture id "f_machinery_heavy"
11:37:25.781 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] invalid furniture id "f_machinery_old"
11:37:26.012 ERROR DEBUGMSG : src/main_menu.cpp:1152 [bool main_menu::load_character_tab(bool)] Error: Json error: data/mods/BL9-100%_monster_resilience_version/Monsters/mon_group.json:7:110: missing required field "freq" in object: { "monster": "mon_BL9_patrolmilitary_stab", "weight": 7, "cost_multiplier": 0, "pack_size": [ 1, 2 ] },

"override": false,
"monsters": [
  { "monster": "mon_BL9_patrolmilitary_stab", "weight": 7, "cost_multiplier": 0, "pack_size": [ 1, 2 ] },
                                                                                                         ^
  { "monster": "mon_BL9_patrolcultist_cut", "weight": 7, "cost_multiplier": 0, "pack_size": [ 1, 2 ] },
  { "monster": "mon_BL9_patrolmilitary_crossbow", "weight": 7, "cost_multiplier": 0, "pack_size": [ 1, 2 ] },
  { "monster":

11:37:32.525 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] invalid furniture id "f_machinery_light"
11:37:37.157 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] invalid furniture id "f_machinery_heavy"
11:37:37.725 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] invalid furniture id "f_machinery_old"
11:37:38.126 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] invalid furniture id "f_generator_broken"
11:37:38.501 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] invalid furniture id "f_machinery_light"
11:37:38.844 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] invalid furniture id "f_machinery_heavy"
11:37:39.196 ERROR DEBUGMSG : src/generic_factory.h:466 [int_id generic_factory::convert(const string_id&, const int_id&) const [with T = furn_t]] invalid furniture id "f_machinery_old"
11:37:39.571 ERROR DEBUGMSG : src/main_menu.cpp:1152 [bool main_menu::load_character_tab(bool)] Error: Json error: data/mods/BL9-100%_monster_resilience_version/Monsters/mon_group.json:7:110: missing required field "freq" in object: { "monster": "mon_BL9_patrolmilitary_stab", "weight": 7, "cost_multiplier": 0, "pack_size": [ 1, 2 ] },

"override": false,
"monsters": [
  { "monster": "mon_BL9_patrolmilitary_stab", "weight": 7, "cost_multiplier": 0, "pack_size": [ 1, 2 ] },
                                                                                                         ^
  { "monster": "mon_BL9_patrolcultist_cut", "weight": 7, "cost_multiplier": 0, "pack_size": [ 1, 2 ] },
  { "monster": "mon_BL9_patrolmilitary_crossbow", "weight": 7, "cost_multiplier": 0, "pack_size": [ 1, 2 ] },
  { "monster":

@iliawhite
Copy link
Author

My bad, i have BN fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant