Jump to content
Sign in to follow this  
AliMag

Forcing itself into mission.sqm

Recommended Posts

Hi,

Simple question for addon gurus.

Some addons force themselves into the mission.sqm even if they are not used at all. Any mission saved in the editor will refer to them if they are in the list of loaded addons. Even if you dont use any addon in the mission.

I've encounter a few of these (at list 3) but the only one that I remember the name is the BAS_repairH. There is another in the addons list of the FlashFXUR (ah64 replacement) but I dont remember the name. There was one also in some middle-east soldiers addons ('groups' I think was the reference inserted).

If someone can tell me what's wrong with them maybe I can find a solution to the problem. It's very annoying.

Thanks in advance

Share this post


Link to post
Share on other sites

You can edit the mission.sqm (it is a simple text file) and modify the following

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> addOns[]=

{

"NameofAddon1",

"NameofAddon2",

"NameofAddon3",

"NameofNotUsedAddon1",

"NameofNotUsedAddon2"

};

addOnsAuto[]=

{

"NameofAddon1",

"NameofAddon2",

"NameofNotUsedAddon2"

};

into

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> addOns[]=

{

"NameofAddon1",

"NameofAddon2",

"NameofAddon3",

};

addOnsAuto[]=

{

"NameofAddon1",

"NameofAddon2",

};

And that should solve your problem

Share this post


Link to post
Share on other sites

Broken addons with false or incomplete class dependencies will do this. The only way around this is to remove the addons in question or fix them.

Share this post


Link to post
Share on other sites

@Sanctuary

Thanks. I already know that. I was looking for a more definitive solution.

@benu

I checked the cpp of the addon but cannot find exactly what part to modify. Any hints would be appreciated. Thanks.

Share this post


Link to post
Share on other sites

if you found another similar error , just add it to this list , it'll work perfectly after

Quote[/b] ]class WeaponBIStudio

{

list[]={"LaserGuided","6G30","Kozlice","G36A","MM1&a

mp;a

mp;q

uot;,"Steyr","Bizon","XMS","M41a","kord"

,"bas_repairh","bn_tracers",};

-Cheers-

smile_o.gif

Share this post


Link to post
Share on other sites

AliMag: check for things from other addons like if it inherits classes from another addon. Then up the version to at least 1.85 and enter all required classes to the requiredaddons[] array.

thunderbird84: bas_repair is one of those broken addons. Every mission using ah64.pbo will NOT work anymore after you install this addon. You have to put these to line into the cfgpatches section:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> requiredVersion = 1.90;

requiredAddons[] = {ah64};

Share this post


Link to post
Share on other sites
thunderbird84: bas_repair is one of those broken addons. Every mission using ah64.pbo will NOT work anymore after you install this addon.

Once again, fixed BAS-Repair file is available on The FAQ's BAS page. You can either search The FAQ anytime for "bas" or download the fixed file from here. smile_o.gif

Share this post


Link to post
Share on other sites
if you found another similar error , just add it to this list , it'll work perfectly after

Quote[/b] ]class WeaponBIStudio

{

list[]={"LaserGuided","6G30","Kozlice","G36A","MM1&a

mp;a

mp;a

mp;q

uot;,"Steyr","Bizon","XMS","M41a","kord"

,"bas_repairh","bn_tracers",};

-Cheers-

smile_o.gif

Oh, btw, adding it to the preload list of the config.cpp is a VERY bad way to "fix" it.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×