• 0
InspectorGadget

Setting up ExAd

Question

Ive istalled everything i want from ExAd but i get an error from my description.ext

ErrorMessage: File mpmissions\__cur_mp.Altis\description.ext, line 107: /CfgXM8.CfgRemoteExec: Member already defined.

Here is what it looks like

Spoiler

///////////////////////////////////////////////////////////////////////////////
// Server Settings - Modify at will
///////////////////////////////////////////////////////////////////////////////
author = "Exile Mod Team";
onLoadName = "Exile Mod";
onLoadMission= "www.exilemod.com";
loadScreen = "exile_assets\texture\mod\logo.paa"; 
disableChannels[] = {0, 2};
OnLoadIntro = "";
OnLoadIntroTime = false;
OnLoadMissionTime = false;

class Header
{
    gameType = Survive; // Do NOT change this
    minPlayers = 1;
    maxPlayers = 100;
};

///////////////////////////////////////////////////////////////////////////////
// Exile Settings - Do not change these!
///////////////////////////////////////////////////////////////////////////////
forceRotorLibSimulation = 2;
skipLobby = 1;
joinUnassigned = 1;
respawn = "BASE";
respawnDelay = 120;
respawnDialog = 0;
respawnOnStart = 0;
respawnButton = 1; 
respawnTemplates[] = {"Exile"};
corpseManagerMode = 0;
corpseLimit = 20;
corpseRemovalMinTime = 1800;
corpseRemovalMaxTime = 3600;
wreckManagerMode = 0;
wreckLimit = 2;
wreckRemovalMinTime = 60;
wreckRemovalMaxTime = 360;
scriptedPlayer = 1;
disabledAI = 1;
enableItemsDropping = 0;
briefing = 0;
debriefing = 0;
allowFunctionsLog = 1;
enableDebugConsole = 0; 
allowFunctionsRecompile = 0;
showSquadRadar = 0;
showUAVFeed = 0;
reviveDelay = 6;
reviveForceRespawnDelay = 3;
reviveBleedOutDelay = 120;

showHUD[] = 
{
    true,   // Scripted HUD (same as showHUD command)
    true,   // Vehicle + soldier info
    true,   // Vehicle radar 
    true,   // Vehicle compass
    true,   // Tank direction indicator
    false,  // Commanding menu
    false,  // Group Bar
    true,   // HUD Weapon Cursors
    false   // Squad Radar
};

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

#include "ExAdClient\ExAd.cpp"

class CfgFunctions
{
    #include "ExAdClient\CfgFunctions.cpp"
};

class RscTitles
{
    #include "ExAdClient\RscTitles.cpp"
};

class CfgHints
{
    #include "ExAdClient\CfgHints.cpp"
};

class CfgNetworkMessages
{
    #include "ExAdClient\CfgNetworkMessages.cpp"
};

class CfgRemoteExec
{
    class Functions
    {
        mode = 1;
        jip = 0;
        
        class ExileServer_system_network_dispatchIncomingMessage { allowedTargets=2; };
        class ExAdServer_fnc_clientRequest { allowedTargets=2; };
    };
    class Commands 
    {
        mode=0; 
        jip=0; 
    };
};
 

Any ideas ? (i am new to this)

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

you need to delete that form end:

class CfgRemoteExec
{
    class Functions
    {
        mode = 1;
        jip = 0;
        
        class ExileServer_system_network_dispatchIncomingMessage { allowedTargets=2; };
        class ExAdServer_fnc_clientRequest { allowedTargets=2; };
    };
    class Commands 
    {
        mode=0; 
        jip=0; 
    };
};

Becous you have it already here  #include "CfgRemoteExec.hpp"

also you need to look for file CfgRemoteExec.hpp in your Exile.Altis directory (or whatever the map is) and put this function there

        class ExAdServer_fnc_clientRequest { allowedTargets=2; };

 

Edited by Senpaixde

Share this post


Link to post
Share on other sites
  • 0

And i need to add 

class ExAdServer_fnc_clientRequest { allowedTargets=2; };

to my CfgremoteExec in order for ExAd to work ?

Share this post


Link to post
Share on other sites
  • 0
Quote

And i need to add 


class ExAdServer_fnc_clientRequest { allowedTargets=2; };

to my CfgremoteExec in order for ExAd to work ?

yes :3

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.