This one is tough to explain. First you need to follow this short answer.

add -nofilepatching to your commandline.

And for ACE2 testing remove the X folder from your mod line.

Then Retest.

This is most likely because you have an X folder in your systemand Because CBA PBOs have the following line in them for example "x\cba\addons\events" as their $PBOPREFIX$ the new Arma2 system will look for files in the x\cba\addons\events folder and if there are problems you will get unexpected errors.

The ACE2 instructions only directs Developers to use the X folder and only as x\cba;x\ace;x\acex; Never as x alone like it appears you have. BUT AGAIN If you are not a developer, then you should only be looking at the Setup for Testers. If you are shacktac tester you should only be looking at the specific link for ShackTac testers Link: ShackTac Tester QuickStart or reviewing the instructions in the ShackTac forums which should have steered you clear of this X folder issue.

I am not saying this short answer above will solve your problem. But I am saying is that the above short answer is for testers who have an x folder existing on their hard drive in the Arma 2 folder. This short answer instructions above is the safe method to keep you from extra unexpected errors.

Ok as it turns out, even after using the proper shortcut the problem still exists. After speaking with Sickboy, he helped me narrow this down to what seems to be a bug when you move away from the default "ReloadMagazine" key binding in Arma2.

This is a good bug find in my opinion. I was able to reproduce the problem.

The workaround for me was to go back to the ReloadMagazine" key binding and click the Default button and save. Since we have found steps to reproduce we can now hand this off to a developer for a fix or add some robustness.

It should be noted, that the reason these profiles were requested is that. 1) after returning the AlabasterSlim profile to default Arma2 keybinds the problem still remained.2) only after switching profiles to Marc did the error go away. The question is why does ACE not recognize the default changed keybinds to AlabasterSlim profile when Arma2 recognizes it. Could be a separate bug. Separate from the addKeyHandlers bug.

Thanks, my guess is that 196876 (the key assigned to "ReloadMagazine") as array index is simply too much, though investigation should be done into the limits of array indexes.I guess ar = []; ar set [196876, true]; will yield a same kind of error.

If Xbox 360 Controller Profile is Enabled, Causes Error (See Screenshots).The default 360 control for reload is the Blue X. When using the 360 profile in game other script errors appear, but the game seems to function normally.