Mr_Tea 0 Posted January 20, 2005 Hi all. I got a problem related with memory and addons. I use -nomap and still get errors. At the start of missions or cutscenes error messeges pop up saying "cant load mission missing addon xy". Strange is: 1. The addons are not used by the missions and cutscenes. 2. The addons are propperly installed and working without problem. What is the problem? Are there to many addons installed or is the addon folder to big ( in GB ). And yes, I´m using mod folders for every mod. I get this problem, even if I run OFP alone without mods. Share this post Link to post Share on other sites
benu 1 Posted January 20, 2005 The cause for this are broken addons that do not declare their dependencies correctly. Share this post Link to post Share on other sites
Mr_Tea 0 Posted January 20, 2005 So many broken addons? I don´t think so. Share this post Link to post Share on other sites
Hudson 0 Posted January 20, 2005 Benu is correct, Open one of the addons causing problems and I bet you do not see a requiredAddons= value set in the config patches section of the cpp file. Here is a good example of a broken one (there are hundreds of addons out there like this, very common error) Here is one I was fixing the other day, as an example. This is the cfgPatches section of the Troublemakers_MC.pbo before editing <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches { class TroubleMakers_MC { units[]= { tmb_troub1, tmb_troub2, tmb_troub3, tmb_troub4, tmb_troub5, cwk_tmcmcar, cwk_hog1, cwk_hog2, cwk_hog3, cwk_hog4, cwk_hog5, cwk_hog6 }; requiredVersion = 1.85; }; }; And here is where the problem comes from... Quote[/b] ] <span style='color:red'>class motorcycle: LandVehicle{}; class Jawa: motorcycle{}; class cwk_hog1: Jawa</span> { scope=2; side = 2; vehicleClass="Troublemakers MC"; model = "\troublemakers_mc\hogs\cwkhog1"; displayName = "Triumph 650 Blue"; crew = "tmb_troub1"; tmb_BF1; nameSound = "chopper"; picture=\troublemakers_mc\hogs\ichopper; icon=\troublemakers_mc\hogs\bicon; mapSize=4; weapons[] = {TMB_voxHorn_5}; magazines[] = {}; transportMaxMagazines = 0; transportMaxWeapons = 0; driveraction="manActJeepDriver"; unitInfoType="UnitInfoShip"; getInRadius=1.7; cost=75000; fuelCapacity = 50; type=VSoft; armor=19; armorStructural=0.9300; armorFuel=1.900; armorLights=0.150; armorWheels=0.340; armorBody=0.6800; damperSize=0.34; damperForce=25; turnCoef=1.25; terrainCoef=0.75000000; maxSpeed = 70; sensitivity = 0.0185; accuracy=0.85; precision=0.6; brakeDistance = 5; preferRoads=1; transportSoldier=0; typicalCargo[]={}; threat[]={0.2,0.1,0.1}; soundEngine[]={"\troublemakers_mc\incubator\shovelhead.wav",0.03830, 0.865500}; soundEnviron[]={"Objects\noise",0.001940, 0.420000}; soundGear[]= {"",0.00,0.00}; soundCrash[]={"Vehicles\crash",0.07500000,1.30100}; soundGetIn[]={"\troublemakers_mc\incubator\getin.wav",0.06830, 0.968500}; soundGetOut[]={"\troublemakers_mc\incubator\getin.wav",0.06830, 0.94500}; class TransportWeapons{}; class TransportMagazines{}; class ViewPilotBase{}; class ViewPilot: ViewPilotBase { initFov=1.000000; minFov=0.570000; maxFov=1.200000; initAngleX=6; minAngleX=-9; maxAngleX=12; initAngleY=0; minAngleY=-134; maxAngleY=134; }; extCameraPosition[]={0,1.38,-4.750}; class IndicatorSpeed { selection="ukaz_rychlo"; axis="osa_rychlo"; angle=-272; min=0; max=190 / 3.4; }; class IndicatorRPM { selection="ukaz_rpm"; axis="osa_rpm"; angle=-160; min=0; max=1; };       class useractions       {            class StartEng         {          displayName="Kickstart Engine";          position="component01";          radius=5;          condition="driver this in this && !(isengineon this) && speed this <1";          statement="this say ""TMB_Hogstart""";         }; }; }; In red above you can  see they inherit properties from the jawa motorcycle added in resistance .The problem is if you inherit properties from another addon you HAVE to declare it in cfgPatches RequiredAddons=, A correct cfgPatches section for this config.cpp should look like... <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches { class TroubleMakers_MC { units[]= { tmb_troub1, tmb_troub2, tmb_troub3, tmb_troub4, tmb_troub5, cwk_tmcmcar, cwk_hog1, cwk_hog2, cwk_hog3, cwk_hog4, cwk_hog5, cwk_hog6 }; requiredVersion = 1.85; requiredAddons[] = {"BIS_Resistance"}; }; }; More than likely is what is happening to your addons. Hope this helps. Share this post Link to post Share on other sites
Mr_Tea 0 Posted January 20, 2005 I restored OFP v.196 from my OFP backup. Now im installing "only" the required addons,add more stuff to mod folders. It`s also an boost to my OFP performance. Thanks for any suggestion. I dont want to edit config`s as I am an noob on this. The only anoying thing with this error is, that it will end any cutscenes when it happens. When it happens at mission start I only have to press enter to go on. Share this post Link to post Share on other sites
Hudson 0 Posted January 20, 2005 The only anoying thing with this error is, that it will end any cutscenes when it happens. When it happens at mission start I only have to press enter to go on. I had this problem with 3 or 4 of the BIS mission editing competition single player missions Share this post Link to post Share on other sites
killswitch 19 Posted January 21, 2005 So many broken addons? I don´t think so. You better believe it. And use of these broken addons (the majority of addons are, indeed, broken in this regard) will lead to one or more of the following typical symptoms:<ul>[*] Missions you know doesn't use addon X will get you the "missing addon X" error dialog. [*] "X" sneaking itself into the addons[] and/or addonsAuto[] parts of the mission.sqm of a mission that doesn't use it. [*] Dedicated servers silently refusing to load certain missions [*] Island intros (the ones playing behind the main menu) getting "missing addons X" error dialogs [*] Cutscenes/intros are interrupted, preventing you from seeing it [*] Missions you make using addon Y that depends on Z won't list Z , again resulting in the aforementioned symptoms. Above, Hudson gave a very typical example of one source of addon dependency - new vehicles inheriting properties of a vehicle (Jawa) that's defined in another addon (In this case Res/Addons/O.pbo, ie "BIS_Resistance"). Another common reason for a dependency is a soldier addon using rifles from a separate weapon pack. If addon A depends on B and addon B in turn depends on C, A must declare it's dependency on both B and C. So, to conclude: it's not your fault and there's nothing wrong with your setup. Out of curiosity, what does your error messages say? What addon class is it complaining about? Perhaps we can help the author(s) of that addon getting it fixed. Share this post Link to post Share on other sites
Mr_Tea 0 Posted January 21, 2005 Edit: This dont belong in this. I was in the wrong post. Anyway, I think it was: BAS_Kiowapack, GenBVamps and T-80. I cant reproduce the errors,cause I restored OFP from an backup meanwhile. Share this post Link to post Share on other sites
ShvnDrgn 0 Posted January 23, 2005 The Bas_Kiowapack config is missing this line: Quote[/b] ]class BAS_Kiowapack { units[] = {BAS_KiowaWarrior,BAS_KiowaWarrior1,BAS_KiowaWarrior2,BAS_KiowaWarrior3,BAS_KiowaWarrior4, BAS_KiowaWarrior5,BAS_KiowaWarrior6,BAS_KiowaWarrior7,BAS_TH57}; weapons[] = {BASOHHellfireLauncher,BASOHHellfireLauncher1,BASOHStingerLauncher,BASOHStingerLauncher1,B ASOHXM296,BASOHzuni7,BASOHzun14,BASOHzuniSmoke,BASOHzuniSmoke1,BASOHzuniIllum,BASOHzuniIll um1}; requiredVersion = 1.90; requiredAddons[] = {bas_soar185, bas_soarpilots}; class KioGlowWhite{units[]={KioGlowWhite};}; class KioGlowRed{units[]={KioGlowRed};}; class KioGlowFire{units[]={KioGlowFire};}; class KioSmoke{units[]={KioSmoke};}; }; I added that line to the config and magically all the cutscenes worked again. *shrug* Share this post Link to post Share on other sites