Page MenuHomeFeedback Tracker

No entry 'bin\config.bin/CfgWeapons.muzzleflash_tma'
Need More Info, NormalPublic

Description

This error occurs when trying to connect to a server using, where a player/AI using the following muzzle: muzzle_tma_65 on any weapon of arifle_MSBS65_*

This also occurs with several other attachments, like:

acc_esd_01_flashlight_broken
acc_flashlight_broken
acc_pointer_IR_broken
optic_Aco_broken
optic_Hamr_broken
optic_MRCO_broken

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

_weaponSelected = "arifle_MSBS65_GL_black_F";
_muzzlesList = getArray (configFile >> "CfgWeapons" >> _weaponSelected >> "WeaponSlotsInfo" >> "MuzzleSlot" >> "compatibleItems"); --> returns: muzzle_tma_65
_muzzle = selectRandom _muzzleList; --> accidentally returns: muzzle_tma_65
player addPrimaryWeaponItem _muzzle; --> after this, the error pops up

Event Timeline

ehylla93 created this task.Oct 17 2021, 6:27 PM
ehylla93 edited Steps To Reproduce. (Show Details)
BIS_fnc_KK added a subscriber: BIS_fnc_KK.EditedOct 17 2021, 10:00 PM

Cannot repro

getArray (configFile >> "CfgWeapons" >> "arifle_MSBS65_GL_black_F" >> "WeaponSlotsInfo" >> "MuzzleSlot" >> "compatibleItems");

is empty array on my PC. Are you using mods?

BIS_fnc_KK changed the task status from New to Need More Info.Oct 17 2021, 10:00 PM

You can also try

["arifle_MSBS65_GL_black_F", 101] call BIS_fnc_compatibleItems;

getArray (configFile >> "CfgWeapons" >> "arifle_MSBS65_GL_black_F" >> "WeaponSlotsInfo" >> "MuzzleSlot" >> "compatibleItems"); is maybe only compatible with CBA_A3

["muzzle_snds_h","muzzle_snds_h_khk_F","muzzle_snds_h_snd_F","muzzle_snds_H_SW","muzzle_snds_65_TI_blk_F","muzzle_snds_65_TI_hex_F","muzzle_snds_65_TI_ghex_F","optic_ico_01_f","optic_ico_01_black_f","optic_ico_01_sand_f","optic_ico_01_camo_f","optic_Nightstalker","optic_tws","optic_tws_mg","optic_NVS","optic_DMS","optic_LRPS","optic_ams","optic_AMS_snd","optic_AMS_khk","optic_KHS_blk","optic_KHS_tan","optic_KHS_hex","optic_KHS_old","optic_SOS","optic_MRCO","optic_Arco","optic_aco","optic_ACO_grn","optic_aco_smg","optic_ACO_grn_smg","optic_hamr","optic_Holosight","optic_Holosight_smg","optic_Hamr_khk_F","optic_SOS_khk_F","optic_Arco_ghex_F","optic_Arco_blk_F","optic_DMS_ghex_F","optic_ERCO_blk_F","optic_ERCO_khk_F","optic_ERCO_snd_F","optic_LRPS_ghex_F","optic_LRPS_tna_F","optic_Holosight_blk_F","optic_Holosight_khk_F","optic_Holosight_smg_blk_F","optic_Holosight_smg_khk_F","optic_DMS_weathered_F","optic_DMS_weathered_Kir_F","optic_Arco_lush_F","optic_Arco_arid_F","optic_Arco_AK_blk_F","optic_Arco_AK_lush_F","optic_Arco_AK_arid_F","optic_Holosight_lush_F","optic_Holosight_arid_F","acc_flashlight","acc_pointer_IR"]

no muzzle_tma_65

I created a issue in CBA Github and linked this Ticket into the report.

I removed the muzzle completely from files, and all who generates muzzles like the way I describted, I will block it if a simple if else

Please also attach a RPT