El Tyranos 1264 Posted March 13, 2015 (edited) Hey there, I had an update on BITools dev, and now I can't build my addon anymore, result code=1 I then build unbinarized, launch the game : "...\config.cpp, line 714 : /CfgVehicles.Turrets: Undefined base class 'Turrets' Here is the (simplified) code : class Wheeled_APC_F: Car_F { class NewTurret; class Turrets { class MainTurret: NewTurret { class ViewOptics; class Turrets { class CommanderOptics; }; }; }; }; class APC_VAB_BASE: Wheeled_APC_F { class Turrets: Turrets { class MainTurret: MainTurret { }; }; }; Does anyone has the same problem at the moment ? I'm getting really mad :mad: EDIT : In fact, I didn't edited this part of the cpp, it's just not working, if I delete my turret config, I have another Undefined base class on another part... Edited March 13, 2015 by ElTyranos Share this post Link to post Share on other sites
badluckburt 78 Posted March 13, 2015 The error message is pretty easy to solve: CfgVehicles { [b]class Turrets;[/b] //This is that undefined base class AddonBuilder complains about. class Wheeled_APC_F: Car_F { class NewTurret; class Turrets { class MainTurret: NewTurret { class ViewOptics; class Turrets { class CommanderOptics; }; }; }; }; }; The fastest way to fix all of it is probably to post it here, it sounds like you may have 'cleaned up' the config thinking it was stuff you wouldn't need. Share this post Link to post Share on other sites
El Tyranos 1264 Posted March 13, 2015 (edited) Do you know what's really dumb in that ? My cpp is a duplicate of vanila apc_wheeled_03's config, so base classes are called as in BIS configs, and before this evening I had not to call for base classes as they are defined in car ; car_F: car ; wheeled_APC_F: Car_F ... EDIT : No really, something is broken, when I call with the basic "class Turrets;", I have "turrets already define" error, if I move it up out of CfgVehicles I've got a APC_VAB_BASE undefined, but it is. Edited March 13, 2015 by ElTyranos Share this post Link to post Share on other sites
badluckburt 78 Posted March 13, 2015 Looking back and reading your comment, I made a derp here. Try this: CfgVehicles { class Car_F; class Wheeled_APC_F: Car_F { class NewTurret; class Turrets { class MainTurret: NewTurret { class ViewOptics; class Turrets { class CommanderOptics; }; }; }; }; }; Just be sure to have the addon you took this config from in your requiredAddons[] array. And again, you're likely to get more help if you post the whole thing :) Share this post Link to post Share on other sites
El Tyranos 1264 Posted March 14, 2015 Found ! I wrote cargoProxyIndexes = {4,5,6,7,8}; instead of cargoProxyIndexes[] = {4,5,6,7,8}; As it seem that it's unkown to the engine, that created some kind of weird error loop :confused: Share this post Link to post Share on other sites