[47LG] Cavadus

[SOLVED] Infistar: Member Already Defined Error

5 posts in this topic

So in my log I have the following error:

Warning Message: File mpmissions\__cur_mp.Tanoa\description.ext, line 86: .CfgRemoteExec: Member already defined.

And here's the pertinent code from my description.ext:

#include "config.cpp"
#include "CfgRemoteExec.hpp"
#include "infiSTAR_AdminMenu.hpp"

class CfgRemoteExec
{
    class Functions
    {
        mode = 1;
        jip = 0;

        class ExileServer_system_network_dispatchIncomingMessage
        {
            allowedTargets = 2;
        };
    };

    class Commands
    {
        mode = 0;
        jip = 0;
    };
};

Since I'm doing an #include for CfgRemoteExec do I still need the class declaration here?

Every player that joins the server gets this as a dismissable pop-up error when they join the server and I'd like to resolve that.

Share this post


Link to post
Share on other sites
Advertisement

From the readme.txt

Quote

06. Go to "infiSTAR.de_Exile\MPMission"
    - move all the files into your currently used MPMission
    - Open the description.ext in your MPmission with a notepad
    
    - find "class CfgRemoteExec {};" (might also have something within the {} curly brackets)
    - remove it!
    - now add these 2 lines in the file:
    #include "CfgRemoteExec.hpp"
    #include "infiSTAR_AdminMenu.hpp"

 

:-D

 

Share this post


Link to post
Share on other sites
Advertisement
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.