swtx 42 Posted March 6, 2017 I'm getting an undeclared class error when packing my custom mod. Addon Builder says that class CA_Magazine is undeclared but it is declared. I packed the PBO with PBO manager and it compiled just fine. However, the Arma 3 caught the problem on startup and declared the same problem. I'm not sure what is going on but I could use some help locating the problem. Addon builder says the problem is at Class CA_Magazine but I'm not seeing it. Thx in advance for your help. Quote Quote class CfgMagazines { class CA_Magazine; // External class reference class ItemCore; // External class reference class VehicleMagazine; // External class reference }; class CUP_30Rnd_9x19_EVO : CA_Magazine { tracersEvery = 1; }; class CUP_30Rnd_9x19_MP5 : CA_Magazine { tracersEvery = 1; }; class CUP_64Rnd_9x19_Bizon_M : CA_Magazine {}; class CUP_64Rnd_Green_Tracer_9x19_Bizon_M : CUP_64Rnd_9x19_Bizon_M { tracersEvery = 1; }; class CUP_64Rnd_Red_Tracer_9x19_Bizon_M : CUP_64Rnd_9x19_Bizon_M { tracersEvery = 1; }; class CUP_64Rnd_White_Tracer_9x19_Bizon_M : CUP_64Rnd_9x19_Bizon_M { tracersEvery = 1; }; class CUP_64Rnd_Yellow_Tracer_9x19_Bizon_M : CUP_64Rnd_9x19_Bizon_M { tracersEvery = 1; }; class CUP_5Rnd_127x108_KSVK_M : CA_Magazine { tracersEvery = 1; tracerScale = 0.08; }; class CUP_10Rnd_762x54_SVD_M : CA_Magazine { tracersEvery = 1; tracerScale = 0.08; }; class CUP_10Rnd_127x99_M107 : CA_Magazine { tracersEvery = 1; tracerScale = 0.08; }; class CUP_10Rnd_762x51_CZ750_Tracer : CA_Magazine { tracersEvery = 1; tracerScale = 0.08; }; class CUP_5Rnd_86x70_L115A1 : CA_Magazine { tracersEvery = 1; tracerScale = 0.08; }; class CUP_7Rnd_45ACP_1911 : CA_Magazine { tracersEvery = 1; }; class CUP_6Rnd_45ACP_M : CUP_7Rnd_45ACP_1911 { tracersEvery = 1; }; class CUP_17Rnd_9x19_glock17 : CA_Magazine { tracersEvery = 1; }; class CUP_10Rnd_9x19_Compact : CA_Magazine { tracersEvery = 1; }; class CUP_18Rnd_9x19_Phantom : CA_Magazine { tracersEvery = 1; }; class CUP_15Rnd_9x19_M9 : CA_Magazine { tracersEvery = 1; }; }; Share this post Link to post Share on other sites
swtx 42 Posted March 6, 2017 Thanks that got it ! It compiled in addon builder just fine. :) Share this post Link to post Share on other sites