Closed pabclsn closed 7 years ago
Looks like your script is incompatible with the way Joint Rails adds weapon attachments. Since that way is totally legitimate and used by many asset mods, it's a problem with your script. The difference is between using the "compatibleItems[]" array vs. the "class compatibleItems" sub class.
here is my configuration file for weapons and magazines : https://gist.github.com/pabclsn/c7c24f98fd817008585f090cae4fcf47
can i do something about it or it's simply not possible ?
Because that's the basic Altis Life 4.4R4 Config file
It has nothing to do with that config, but with the script you're using for that store. And it can be easily fixed if the script is somewhat reasonably made.
Ok i'm gonna look for it thanks.
Maybe it's as simple as replacing BIS_fnc_compatibleItems
with CBA_fnc_compatibleItems
. Idk.
I'm pretty new to Sqf arma 3 server Etc so I'm gonna search. Thanks
Do you know where you can switch between BIS_fnc_compatibleItems and CBA_fnc_compatibleItems ?
In a text editor?
no but the file who is concerned ;)
Because the compatibleItems thing you talk I found it in the weaponShopAccs (https://gist.github.com/pabclsn/10861d5bfb02d36d5142806af032f92f) and in fn_weaponShopSelection.sqf (https://gist.github.com/pabclsn/ee5fea83aa6d0ba345119677b7e9ee31)
https://gist.github.com/pabclsn/10861d5bfb02d36d5142806af032f92f#file-fn_weaponshopaccs-sqf-L14-L40 These lines should be deleted and changed to:
_weaponArray = _weapon call CBA_fnc_compatibleItems;
And these lines should be deleted https://gist.github.com/pabclsn/ee5fea83aa6d0ba345119677b7e9ee31#file-fn_weaponshopselection-sqf-L55-L80 and replaced with:
_itemArray = _weapon call CBA_fnc_compatibleItems;
That is my guess. Idk Life at all, so you're probably better off asking the authors for further help.
Ok thanks a lot @commy2 for anwsering me but that's not working I will come back with a solution :)
Arma 3 Version:
1.72
(stable) CBA Version:CBA_A3 v3.4.0.170627Mods:
Description:
Where did the issue occur?
RPT log file: