Jump to content
Sign in to follow this  
sakura_chan

updating base class randomness :x

Recommended Posts

So I have this addon, it is really simple from a config standpoint.

class cfgwhatever
{
       class Default;
       class mynewclass : Default
       {
               mynewstuff = whatever;
       };
};

super simple.

HOWEVER

using this same code produces a few cases of "updating base class" reports in the .rpt :(

I have like 20 or 30 new classes that inherit from class Default, but 5 random ones show up in the .rpt, which I know isn't an error per-say, but is annoying to see your username in there. Its also infuriating that I can't figure out what is different about these five entries. Bis, please, what am I doing wrong?

Edited by Sakura_Chan

Share this post


Link to post
Share on other sites

a) dont change the existing class inheritance tree

b) make sure to have requiredAddons right

c) class cfgwhatever; => class cfgwhatever

Share this post


Link to post
Share on other sites

oops didn't mean for that ; to be there. It might be required addons...

---------- Post added at 03:49 AM ---------- Previous post was at 02:52 AM ----------

Okay I figured it out, thanks to you. Turns out that a few of the .cpp files have calls to inherit a class from the offending config file, but didn't have the correct required addon entry. I even found an instance where 2 files were requiring each other haha. Interesting that the .rpt error just tells you what class was missing, but won't tell you who needs 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  

×