Bug report
Basic Information
KPCF Version: 1.1.0
Individual Things
Did you edit anything within the script files?
Yes
If yes, what did you edit exactly?
Added it to our Liberation version for our wednesday sessions.
Moved the config in the KPCF folder and adjusted the paths accordingly.
Also changed the config values for the KPCF base classname and disabled crate spawning.
Short Issue Description
When selecting a weapon and then magazine or attachments as sub-category, it'll display also items which are blacklisted in the config.
Expected Behaviour
The blacklist should apply for every kind of category/sub-category.
Steps to Reproduce the Issue
- Add in the blacklist as example the
"optic_nightstalker"
- Start the mission and go to your KPCF Base Object
- Open Dialog
- Select any weapon which would be compatible with the Nightstalker optic
- As sub-category select
attachments
- In the list you'll see the optic, even if it's inside the blacklist
Screenshots, Serverlog or any other helpful Information
Was quite easy to solve on my end, but I wanted to report it.
https://github.com/KillahPotatoes/dubjunks-scripts/blob/master/KP-Cratefiller/KPCF/fnc/fn_createSubList.sqf#L49
Adding before the sorting:
_magazines = _magazines - KPCF_blacklistedItems;
https://github.com/KillahPotatoes/dubjunks-scripts/blob/master/KP-Cratefiller/KPCF/fnc/fn_createSubList.sqf#L66
Adding before the sorting:
_attachments = _attachments - KPCF_blacklistedItems;
Bug report
Basic Information
KPCF Version: 1.1.0
Individual Things
Did you edit anything within the script files?
Yes
If yes, what did you edit exactly?
Added it to our Liberation version for our wednesday sessions.
Moved the config in the KPCF folder and adjusted the paths accordingly.
Also changed the config values for the KPCF base classname and disabled crate spawning.
Short Issue Description
When selecting a weapon and then magazine or attachments as sub-category, it'll display also items which are blacklisted in the config.
Expected Behaviour
The blacklist should apply for every kind of category/sub-category.
Steps to Reproduce the Issue
"optic_nightstalker"attachmentsScreenshots, Serverlog or any other helpful Information
Was quite easy to solve on my end, but I wanted to report it.
https://github.com/KillahPotatoes/dubjunks-scripts/blob/master/KP-Cratefiller/KPCF/fnc/fn_createSubList.sqf#L49
Adding before the sorting:
https://github.com/KillahPotatoes/dubjunks-scripts/blob/master/KP-Cratefiller/KPCF/fnc/fn_createSubList.sqf#L66
Adding before the sorting: