OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: WELSH on 14 Mar 2004, 15:34:59
-
No entry 'config.bin/CfgWeapons/and_Kar/Single.ffCount'.
Any ideas of how to get rid of it?
Many thanks.
-
There's something fishy in some AddOns config.cpp...
More specificly in CfgWeapons, weapon 'called' and_Kar which has something wrong with argument/value ffCount...
-
I think that you did an error in a "addWeapon", or perhaps you don't have this weapon in your "addons" folder... . I'm not sure... ::).
-
I think i remember having had the same error when using:
BAZBO Type 623 MG Bunker addon
I removed the addon, and the error was gone ;D
~S~ CD
-
nope, just tried the BAZBO thing, and the error still exists. Any other ideas?
Cheers.
-
Take out half of your addons and run the game. If you get the error again, remove another half (quater of total) of your addons, if the error doesnt show, swap the two quarters around and run teh game (you should get the error), remove half of those addons and run the game.
Keep doing this until youve wittled your addon folder down to the one .pbo that causes the error. Delete this pbo.
-
LOL :D
-
When you've removed the bazbo bunker, did you also remove
the file called: and_WW2MG42.pbo ?
~S~ CD
-
I have got that addon but I think Ive managed to narrow it down to this file:
Up_ww2.pbo
Any ideas?
This file seems to eradicate another error message though.
Thanks.
-
Upminder's WW2 Weapons Pack...it's an old one.
Obviously it's referencing the German K98 rifle....can it. I haven't seen any recent addons which make use of those weps anyway.
-
generally, an error message like
No entry 'config.bin/CfgWeapons/[addon classname]/[addon subclass].[property]'
means that in one of your addon-config classes (like CfgVehicles, cfgAmmo etc.) a required property is not specified.
the cause is mainly that an addon class has been inherited from a class that does not provide a default property for that. thus it must be defined by the addonmaker.
in this special case, the code of the addon holds something like this:
Class cfgWeapons
{
class Default[{};
class ....
.
.
class and_kar98 : [base class name]
{
//blablabla
.
.
modes={"Single"};
class Single
{
//here the class asks for ffCount, so provide it
ffCount=[value];
.
.
};
};
};
do that by un-pbo-ing the addon and editing the config accordingly, and the error message will be gone.
following these instructions you might also be able to find that other error.
well, speakin of ffCount... reason why i came to this thread was that searching for ffCount took me here. Tried to find out what that param actually means....?