OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: WELSH on 14 Mar 2004, 15:34:59

Title: Error message: Anybody know what this is?
Post 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.
Title: Re:Error message: Anybody know what this is?
Post by: h- on 14 Mar 2004, 16:15:57
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...
Title: Re:Error message: Anybody know what this is?
Post by: Loup-Garou on 14 Mar 2004, 17:57:52
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... ::).
Title: Re:Error message: Anybody know what this is?
Post by: Chris Death on 14 Mar 2004, 19:03:03
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

Title: Re:Error message: Anybody know what this is?
Post by: WELSH on 14 Mar 2004, 20:20:40
nope, just tried the BAZBO thing, and the error still exists.  Any other ideas?

Cheers.
Title: Re:Error message: Anybody know what this is?
Post by: icarus_uk on 14 Mar 2004, 21:04:43
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.
Title: Re:Error message: Anybody know what this is?
Post by: Tasku on 14 Mar 2004, 22:44:31
LOL  :D
Title: Re:Error message: Anybody know what this is?
Post by: Chris Death on 14 Mar 2004, 23:22:54
When you've removed the bazbo bunker, did you also remove
the file called: and_WW2MG42.pbo ?

~S~ CD
Title: Re:Error message: Anybody know what this is?
Post by: WELSH on 15 Mar 2004, 20:19:32
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.
Title: Re:Error message: Anybody know what this is?
Post by: SEAL84 on 16 Mar 2004, 05:24:00
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.
Title: Re:Error message: Anybody know what this is?
Post by: stoppelhopser on 30 Apr 2004, 17:30:42
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....?