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

I took a "stone sickle" and got an error #72888

Closed
SamLot1 opened this issue Apr 7, 2024 · 1 comment · Fixed by #72889
Closed

I took a "stone sickle" and got an error #72888

SamLot1 opened this issue Apr 7, 2024 · 1 comment · Fixed by #72889
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility

Comments

@SamLot1
Copy link

SamLot1 commented Apr 7, 2024

Describe the bug

DEBUG : invalid weapon category id "BSHORT_SWORDS"

FUNCTION : obj
FILE : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\generic_factory.h
LINE : 482
VERSION : d64e52d

\data\json\items\tool\landscaping.json
{
"id": "sickle_stone",
"type": "TOOL",
"name": { "str": "stone sickle" },
"description": "A primitive tool for cutting grass. The sharp, crescent-shaped stone at the end of the handle is barely good enough for the job.",
"weight": "470 g",
"volume": "800 ml",
"longest_side": "35 cm",
"price": 1000,
"price_postapoc": 100,
"to_hit": -2,
"material": [ "stone", "wood" ],
"symbol": "/",
"color": "light_gray",
"qualities": [ [ "CUT", 1 ], [ "GRASS_CUT", 1 ], [ "BUTCHER", 2 ] ],
"techniques": [ "WBLOCK_1" ],
"flags": [ "NONCONDUCTIVE", "FRAGILE_MELEE" ],
"weapon_category": [ "BSHORT_SWORDS" ],
"melee_damage": { "bash": 3, "cut": 10 }
},

"weapon_category": [ "BSHORT_SWORDS" ], -> "weapon_category": [ "SHORT_SWORDS" ],

Attach save file

Тира-trimmed.tar.gz

Steps to reproduce

1 - give stone sickle on you hand

Expected behavior

i dont know
i know a have error and fix this error

Screenshots

No response

Versions and configuration

  • OS: Windows
    • OS Version: 10.0.19045.3930 (22H2)
  • Game Version: d64e52d [64-bit]
  • Graphics Version: Tiles
  • Game Language: Русский <color_dark_gray>(90,5%) [ru]
  • Mods loaded: [
    Тёмные Дни Впереди [dda],
    Медленный рост фунгалоидов [no_fungal_growth],
    Отключить потребности у НПС [no_npc_food],
    Портальные штормы игнорируют НПС [personal_portal_storms],
    Приручаемая живность [Tamable_Wildlife],
    Скорость от ловкости [speedydex],
    Характеристики за убийства [stats_through_kills],
    иконки видит-игрока, бег, приседание, кровотечение для retrodays [sees_player_retro],
    Перевод сложных диалогов [translate_dialogue],
    Blazemod - Vehicle Additions Pack [blazemod],
    Tankmod: Revived [Tankmod_Revived],
    Dorf Life [Dorf_Life],
    Mining Mod [Mining_Mod],
    Мифические стили ближнего боя [MMA],
    Помпезные перки [bombastic_perks],
    ДиноМод [DinoMod],
    Medieval Mod Reborn [Medieval_Mod_Reborn],
    Grow More Drugs (CDF+) [grow_more_drugs],
    Jackledead Armory [jackledead_armory],
    Make bows great again [bow_opness],
    <color_light_blue>BL9-100%-monster-resilience-version [BL9_100monres],
    Разум над материей [mindovermatter],
    Магиклизм [magiclysm],
    <color_yellow>Mythical Martial Arts - Mods Extension [MMA_Mods_Extension]
    ]

Additional context

20:42:45.683 ERROR : (error message will follow backtrace)
#0
(dbghelp: debug_write_backtrace+0xb5@00007FF662BF6C55[cataclysm-tiles.exe+0x5a6c55]),
#1
(dbghelp: DebugLog+0x2b8@00007FF662BF5A08[cataclysm-tiles.exe+0x5a5a08]),
#2
(dbghelp: realDebugmsg+0x1fd@00007FF662BF8CFD[cataclysm-tiles.exe+0x5a8cfd]),
#3
(dbghelp: string_id<weapon_category>::obj+0x15d@00007FF663A1FBDD[cataclysm-tiles.exe+0x13cfbdd]),
#4
(dbghelp: Character::get_total_melee_stamina_cost+0xfd@00007FF66361E96D[cataclysm-tiles.exe+0xfce96d]),
#5
(dbghelp: item::melee_combat_info+0x8ca@00007FF66341920A[cataclysm-tiles.exe+0xdc920a]),
#6
(dbghelp: item::info+0x48d@00007FF66340BE8D[cataclysm-tiles.exe+0xdbbe8d]),
#7
(dbghelp: item::info+0x34@00007FF66340CA14[cataclysm-tiles.exe+0xdbca14]),
#8
(dbghelp: game::inventory_item_menu+0x25ed@00007FF662C89B0D[cataclysm-tiles.exe+0x639b0d]),
#9
(dbghelp: game_menus::inv::common+0x88e@00007FF6636D0FCE[cataclysm-tiles.exe+0x1080fce]),
#10
(dbghelp: game::do_regular_action+0x1294@00007FF66327FF94[cataclysm-tiles.exe+0xc2ff94]),
#11
(dbghelp: game::handle_action+0xa37@00007FF6632898B7[cataclysm-tiles.exe+0xc398b7]),
#12
(dbghelp: do_turn+0xf5e@00007FF662BFE94E[cataclysm-tiles.exe+0x5ae94e]),
#13
(dbghelp: WinMain+0xe55@00007FF662A84585[cataclysm-tiles.exe+0x434585]),
#14
(dbghelp: __scrt_common_main_seh+0x106@00007FF6641F4366[cataclysm-tiles.exe+0x1ba4366]),
#15
(dbghelp: BaseThreadInitThunk+0x14@00007FFE1E887344[KERNEL32.DLL+0x17344]),
#16
(dbghelp: RtlUserThreadStart+0x21@00007FFE1EA826B1[ntdll.dll+0x526b1]),
Backtrace emission took 0 seconds.
(continued from above) ERROR : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\generic_factory.h:482 [obj] invalid weapon category id "BSHORT_SWORDS"

@SamLot1 SamLot1 added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Apr 7, 2024
@SamLot1
Copy link
Author

SamLot1 commented Apr 7, 2024

and now i checked this error ona cdda - cdda-windows-tiles-x64-msvc-2024-04-07-1726

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant