Results 1 to 3 of 3

Thread: updating base class randomness :x

  1. #1

    updating base class randomness :x

    So I have this addon, it is really simple from a config standpoint.
    Code:
    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?
    Last edited by Sakura_Chan; Nov 14 2011 at 07:52.

  2. #2
    a) dont change the existing class inheritance tree
    b) make sure to have requiredAddons right
    c) class cfgwhatever; => class cfgwhatever

  3. #3
    Gunnery Sergeant Sakura_Chan's Avatar
    Join Date
    Feb 1 2007
    Location
    Canada town
    Posts
    503
    Author of the Thread
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •