DuckDucky 1 Posted July 13, 2021 So basically every time i shoot, i get a black box error pop up with an error, I never got this before today and its from CBA, how do you fix it? I'm not good on coding, i just spent a lot of time making missions and it bumps me when this type of error pops up from nowhere. '...['call cba_xeh_fnc_#1', _x]]; } |#|forEach ([''AnimChanged'', ''AnimStatec....' Error Generic error in expression File /x/cba/addons/xeh/fnc_initEvents.sqf..., line 39 Share this post Link to post Share on other sites
sarogahtyp 1109 Posted July 13, 2021 post your whole .rpt file with that error message inside pls https://community.bistudio.com/wiki/Crash_Files and use a spoiler (eye icon) for it pls Share this post Link to post Share on other sites
DuckDucky 1 Posted July 13, 2021 I found it, but how can i paste it here? Share this post Link to post Share on other sites
sarogahtyp 1109 Posted July 13, 2021 open it with notepad press ctrl+A switch to forum thread, scroll down to do a new post press the eye icon on top of the new post frame click into spoilers text field press ctrl+V submit reply Share this post Link to post Share on other sites
DuckDucky 1 Posted July 13, 2021 Spoiler Spoiler Spoiler Hm, i tried to do it twice, but both times the site couldn´t handle the request, it crashes the site when i try and do it Share this post Link to post Share on other sites
sarogahtyp 1109 Posted July 13, 2021 .rpt is to big I guess therefore: close arma delete all .rpt files restart arma reproduce your problem ingame after that redo the advices from my last post 1 Share this post Link to post Share on other sites
tpw 2315 Posted July 13, 2021 I'm getting the error too, seems to be related to spawning units. I'll dig a little deeper and post my rpt 1 Share this post Link to post Share on other sites
DuckDucky 1 Posted July 13, 2021 Spoiler Sorry, it didn´t work again, so i made it in pastebin, should be okay, here you gohttps://pastebin.com/raw/pTzn8jNK Share this post Link to post Share on other sites
tpw 2315 Posted July 13, 2021 Spoiler 20:56:23 [CBA] (xeh) INFO: [1141,89.572,0] PreInit started. v3.15.4.210701 20:56:23 [CBA] (xeh) WARNING: One or more children of class CAManBase do not support Extended Event Handlers. Fall back to loop. 20:56:23 [CBA] (settings) INFO: Reading settings from settings file. 20:56:23 [CBA] (settings) INFO: Finished reading settings from settings file. 20:56:23 [CBA] (xeh) INFO: [1141,89.761,0] PreInit finished. 20:56:24 Fresnel k must be >0, given n=1.4,k=0 20:56:24 [CBA] (xeh) INFO: [1144,90.44,0] PostInit started. MISSIONINIT: missionName=stratis, missionVersion=54, worldName=stratis, isMultiplayer=false, isServer=true, isDedicated=false, CBA_isHeadlessClient=false, hasInterface=true, didJIP=false 20:56:24 [CBA] (versioning) INFO: [1144,90.443,0] VERSIONING:cba=3.15.4.210701 20:56:24 [CBA] (xeh) INFO: [1144,90.444,0] PostInit finished. 20:56:24 [CBA] (optics) INFO: Scripted camera restarted. 20:56:24 Unknown task state: 20:56:24 Unknown task state: 20:56:24 Unknown task state: 20:56:30 Loading movesType CfgMovesButterfly 20:56:30 Loading movesType CfgMovesBird 20:56:42 soldier[TPW_BCombatUniform_AMCU_S]:Some of magazines weren't stored in soldier Vest or Uniform? 20:56:42 soldier[TPW_BCombatUniform_AMCU_S]:Some of magazines weren't stored in soldier Vest or Uniform? 20:56:43 Error in expression <['call cba_xeh_fnc_%1', _x]]; } forEach (["AnimChanged", "AnimStateC> 20:56:43 Error position: <forEach (["AnimChanged", "AnimStateC> 20:56:43 Error foreach: Type String, expected Array,HashMap 20:56:43 File /x/cba/addons/xeh/fnc_initEvents.sqf..., line 39 20:56:43 Error in expression <['call cba_xeh_fnc_%1', _x]]; } forEach (["AnimChanged", "AnimStateC> 20:56:43 Error position: <forEach (["AnimChanged", "AnimStateC> 20:56:43 Error Generic error in expression 20:56:43 File /x/cba/addons/xeh/fnc_initEvents.sqf..., line 39 I get this error whenever I spawn custom units which call a script upon creation, in this case a script to randomise loadout and uniform : If I spawn this custom unit: "tpw_bcombatuniform_amcu_s" createunit [(position player),(group player)]; which has this in its config: class eventhandlers { init="P = [_this select 0] execVM ""\tpw_amcu\scripts\random.sqf"";"; }; then the message pops up instantly. Spawning a generic unit such as "B_engineer_F" createunit [(position player),(group player)]; is fine. Something about the CBA update today is not happy with extended event handlers. Nothing in my code changed. 1 Share this post Link to post Share on other sites
DuckDucky 1 Posted July 13, 2021 14 minutes ago, tpw said: I'm getting the error too, seems to be related to spawning units. I'll dig a little deeper and post my rpt I tried testing a lot before coming here, i even went to the editor and put only me and it still had the problem, I'm not sure if its that. Share this post Link to post Share on other sites
tpw 2315 Posted July 13, 2021 I loaded up an almost completely vanilla arma with just CBA and my custom units, and the error still occurs. It's not a mod conflict. 1 Share this post Link to post Share on other sites
sarogahtyp 1109 Posted July 13, 2021 https://github.com/CBATeam/CBA_A3/issues/1477 EDIT: @DuckDucky paste your .rpt on cbas issue tracker on the above link. Share this post Link to post Share on other sites
DuckDucky 1 Posted July 13, 2021 So i need to revert back to the previous update, okay i can try that, I've never reverted a mod update before, how do you do it? Share this post Link to post Share on other sites
sarogahtyp 1109 Posted July 13, 2021 you cant if u have not the old version somewhere. afaik cba has no versions archive somewhere. THEY have to fix it. therefor do a report on their issue page... Share this post Link to post Share on other sites
DuckDucky 1 Posted July 13, 2021 Oh okay, i pasted my rpt on the link you gave me, i guess now all we do is wait. Share this post Link to post Share on other sites
sarogahtyp 1109 Posted July 13, 2021 It would help to post a .rpt where CBA only was loaded and the error occured. @DuckDucky @tpw and do it here plz: https://github.com/CBATeam/CBA_A3/issues/1477 Share this post Link to post Share on other sites
DuckDucky 1 Posted July 13, 2021 Not even ace, only CBA? Nothing else? Share this post Link to post Share on other sites
sarogahtyp 1109 Posted July 13, 2021 would be the best if the error occurs without ace. if it is happening with ace together only then you should use a .rpt with cba and ace... Share this post Link to post Share on other sites
DuckDucky 1 Posted July 13, 2021 I can't seem to trigger it with only ace and cba or with only cba, i will try RHSUSAF or just some other mod. 1 Share this post Link to post Share on other sites
DuckDucky 1 Posted July 13, 2021 Yea I don't know now i can't trigger it with the mods im choosing, I'll just wait. Share this post Link to post Share on other sites
Dedmen 2722 Posted July 13, 2021 Found the Problem (Dedmen did a fuckup a few months ago and it only causes problem in one very specific place thats only present in CBA and only with objects that don't support XEH (extra rare) :D). Fix is WIP 4 1 Share this post Link to post Share on other sites
tpw 2315 Posted July 13, 2021 Thanks gents, everything working OK now. Share this post Link to post Share on other sites