Arma 3
Ravage
VileAce May 24, 2019 @ 11:40am
Code error/issue?
I know you asked for people to post issues to the Bohemia forums, but for the last 2 days, their login has failed. So I hope you do not mind I will post my issue here.

I am hosting a multiplayer version map with your mod on one of our servers, but I have a couple of issues.

First I am using your sample code to give players money on each zombie kill, but it is not working in the Zombie Killed Event Handler. If I run the code in the debug console it obviously runs fine. I did see one error in my RPT that maybe looks related:

[XEH]: One or more children of class CAManBase do not support Extended Event Handlers. Fall back to loop.

The second issue I'm having is there is an error in the RPT, that happens 70+ times, right at mission start. Maybe it is running on all created AI. Below is the order of the errors. I know the first is due to not running NIArms, it is mostly the second part that I am concerned with.

2019/05/24, 2:32:15 "1.828 : Ravage gear pool: Warning! Following classnames have been excluded : [""hlc_rifle_M1903A1"",""hlc_rifle_M1903A1_unertl"",""hlc_pistol_C96_Wartime"",""hlc_pistol_C96_Wartime_stock"",""hlc_rifle_416C"",""hlc_rifle_416D10"",""hlc_rifle_416D10_ptato"",""hlc_rifle_416D10_st6"",""hlc_rifle_416D10_tan"",""hlc_rifle_416D10_wdl"",""hlc_rifle_ACR_mid_black"",""hlc_rifle_ACR_mid_green"",""hlc_rifle_ACR_mid_tan"",""hlc_rifle_ACR68_mid_black"",""hlc_rifle_ACR68_mid_green"",""hlc_rifle_ACR68_mid_tan"",""hlc_rifle_aek971"",""hlc_rifle_aug"",""hlc_rifle_auga1_b"",""hlc_rifle_auga1_t"",""hlc_rifle_auga2"",""hlc_rifle_auga2_b"",""hlc_rifle_auga2_t"",""hlc_rifle_auga3"",""hlc_rifle_auga3_b"",""hlc_rifle_auga3_bl"",""hlc_rifle_bcmjack"",""hlc_rifle_colt727"",""hlc_rifle_CQBR"",""hlc_rifle_FN3011"",""hlc_rifle_FN3011Modern"",""hlc_rifle_FN3011Modern_camo"",""hlc_rifle_FN3011Tactical_green"",""hlc_rifle_FN3011Tactical_grey"",""hlc_rifle_FN3011Tactical"",""hlc_rifle_FN3011_WDL"",""hlc_rifle_FN3011Lynx"",""hlc_rifle_G36A1"

This is the section that repeats 70+ times.
2019/05/24, 2:32:17 Error in expression <etText (configFile >> "CfgMagazines" >> _class >> "ammo");
_count = getNumber (c>
2019/05/24, 2:32:17 Error position: <_class >> "ammo");
_count = getNumber (c>
2019/05/24, 2:32:17 Error Undefined variable in expression: _class
2019/05/24, 2:32:17 File \ravage\functions\main\fn_getMagazineCost.sqf [RVG_fnc_getMagazineCost], line 3
2019/05/24, 2:32:17 Error in expression <;
(rvg_arms_s select 1) pushBackUnique [_magazine, floor (([_magazine] call rvg_>
2019/05/24, 2:32:17 Error position: <_magazine, floor (([_magazine] call rvg_>
2019/05/24, 2:32:17 Error Undefined variable in expression: _magazine
2019/05/24, 2:32:17 Error in expression <etText (configFile >> "CfgMagazines" >> _class >> "ammo");
_count = getNumber (c>

Any ideas on how to resolve my 2 errors?

Complete log available https://drive.google.com/file/d/1NdW4tpEAsfff_Ge8D9hJW7LuKS0wWH_K/view

This way you can see the mods I'm loading.