CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
9.94k stars 4.08k forks source link

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

Closed SamLot1 closed 2 months ago

SamLot1 commented 2 months ago

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

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 commented 2 months ago

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