Midnightclub

[SOLVED] How to get Admin menu working with ExAd

23 posts in this topic

I installed the 'ExAd' package yesterday but now my infiSTAR admin menu isn't working, error in the .rpt is 'infiSTAR_AdminMenu.hpp is not in your MPMission or you forgot to #include it'. I'm 99% sure this is down to my description.ext

It looks like this at the bottom currently:

Spoiler


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

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

I've tried adding the infistar admin menu include into the 'cfg functions' section but that causes the server to loop at 'reading mission file' as does adding all of the other excludes. I've tried moving it to the very bottom of the file and it makes no difference, I can remove the 'Cfgfunctions' section w/ everything below and the menu works but then exad doesn't. Any assistance appreciated, or if someone could post the end of their description.ext (if they're using exad and infistar) that would be great. Or is infistar just not compatible with exad at the moment? 

Share this post


Link to post
Share on other sites
Advertisement

Yes, it was working perfectly til I added from 'class CfgFunction' and everything below it into the description.ext. At that point, exad was working correctly but the admin menu wasn't, you can remove it and the admin menu instantly starts working but then exad doesn't and vice versa. Thanks for the reply

Edited by Midnightclub

Share this post


Link to post
Share on other sites
1 hour ago, Midnightclub said:

I installed the 'ExAd' package yesterday but now my infiSTAR admin menu isn't working, error in the .rpt is 'infiSTAR_AdminMenu.hpp is not in your MPMission or you forgot to #include it'. I'm 99% sure this is down to my description.ext

It looks like this at the bottom currently:

  Hide contents


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

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

I've tried adding the infistar admin menu include into the 'cfg functions' section but that causes the server to loop at 'reading mission file' as does adding all of the other excludes. I've tried moving it to the very bottom of the file and it makes no difference, I can remove the 'Cfgfunctions' section w/ everything below and the menu works but then exad doesn't. Any assistance appreciated, or if someone could post the end of their description.ext (if they're using exad and infistar) that would be great. Or is infistar just not compatible with exad at the moment? 

///////////////////////////////////////////////////////////////////////////////
// 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 "ExAdClient\ExAd.cpp"
#include "infiSTAR_AdminMenu.hpp"
#include "CfgRemoteExec.hpp"

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

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

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

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

 

copy mine m8 config,cpp is best left with space an #include "ExAdClient\ExAd.cpp" above #include "infiSTAR_AdminMenu.hpp"

 

also your mpmissions ExAdClient folder file ExAd.cpp should be like this

/*  
    ExAd.cpp

    Copyright 2016 Jan Babor

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/


//#include "Core\ExAd.cpp"
//#include "VirtualGarage\ExAd.cpp"
//#include "AdminEvents\ExAd.cpp"
//#include "Hacking\ExAd.cpp"
//#include "Grinding\ExAd.cpp"
//#include "HaloParachute\ExAd.cpp"

 

and your CfgFunctions.cpp like this

/*  
    CfgFunctions.cpp

    Copyright 2016 Jan Babor

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/


class ExAd
{
    tag = "ExAd";
    #include "Core\CfgFunctions.cpp"
    #include "VirtualGarage\CfgFunctions.cpp"
    //#include "AdminEvents\CfgFunctions.cpp"
    #include "Hacking\CfgFunctions.cpp"
    #include "Grinding\CfgFunctions.cpp"
    #include "HaloParachute\CfgFunctions.cpp"    
    #include "XM8\CfgFunctions.cpp"    
    #include "StatsBar\CfgFunctions.cpp"    
};

also your CfgRemoteExec.cpp should look like this

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

 

didn't get round to updating my tutorial

Hope this helps

Edited by johnyboy2o11

Share this post


Link to post
Share on other sites
22 minutes ago, johnyboy2o11 said:

///////////////////////////////////////////////////////////////////////////////
// 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 "ExAdClient\ExAd.cpp"
#include "infiSTAR_AdminMenu.hpp"
#include "CfgRemoteExec.hpp"

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

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

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

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

 

copy mine m8 config,cpp is best left with space an #include "ExAdClient\ExAd.cpp" above #include "infiSTAR_AdminMenu.hpp"

 

also your mpmissions ExAdClient folder file ExAd.cpp should be like this

/*  
    ExAd.cpp

    Copyright 2016 Jan Babor

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/


//#include "Core\ExAd.cpp"
//#include "VirtualGarage\ExAd.cpp"
//#include "AdminEvents\ExAd.cpp"
//#include "Hacking\ExAd.cpp"
//#include "Grinding\ExAd.cpp"
//#include "HaloParachute\ExAd.cpp"

 

and your CfgFunctions.cpp like this

/*  
    CfgFunctions.cpp

    Copyright 2016 Jan Babor

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/


class ExAd
{
    tag = "ExAd";
    #include "Core\CfgFunctions.cpp"
    #include "VirtualGarage\CfgFunctions.cpp"
    //#include "AdminEvents\CfgFunctions.cpp"
    #include "Hacking\CfgFunctions.cpp"
    #include "Grinding\CfgFunctions.cpp"
    #include "HaloParachute\CfgFunctions.cpp"    
    #include "XM8\CfgFunctions.cpp"    
    #include "StatsBar\CfgFunctions.cpp"    
};

also your CfgRemoteExec.cpp should look like this

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

 

didn't get round to updating my tutorial

Hope this helps

Thanks for the post, just changed my files to look identical to yours but still the same problem unfortunately. I followed your guide originally which got ExAd working, it's just the admin menu issue I'm left with now 

Share this post


Link to post
Share on other sites
10 minutes ago, Midnightclub said:

Thanks for the post, just changed my files to look identical to yours but still the same problem unfortunately. I followed your guide originally which got ExAd working, it's just the admin menu issue I'm left with now 

is this file in your root mpmissions  root folder infiSTAR_AdminMenu.cpp

and @ExileServer\addons  a3_infiSTAR_Exile,pbo and is your 

adminUIDandAccess[] =
{
    {
        {"your number"

Edited by johnyboy2o11

Share this post


Link to post
Share on other sites

Yes that file is in the mission root folder. That .pbo is not in the ExileServer\addons folder, it's in @infiSTAR_Exile\addons folder as per InfiSTAR's instructions. And yes my UID is added to the file

Edited by Midnightclub

Share this post


Link to post
Share on other sites

thats where you went wrong trust me it goes in  @ExileServer\addons where exileserver and serverconfig along with dms zcp and theres some Exad pbos there too

a3_infiSTAR_Exile.pbo

delete  @infiSTAR_Exile\addons folder and remove from server.bat if youve added it in there

Edited by johnyboy2o11

Share this post


Link to post
Share on other sites

I don't think that's correct. I've just done it anyway and still have the same problem, for reference this is in the infistar readme provided with the download

"04. Move the whole "@infiSTAR_Exile" including the dll files and the addons\a3_infiSTAR_Exile.pbo to your ARMA3_SERVER_FOLDER"

 

infistar was working perfectly before adding everything under 'Cfgfunctions' in the .ext file 

Edited by Midnightclub

Share this post


Link to post
Share on other sites

armalog.dll

armalog_x64.dll

go in @ExileServer folder

and a3_infiSTAR_Exile.pbo goes in @ExileServer\addons folder

are you using the latest infiSTAR.de_EXILE_v0079_17.06.2017-16-59-00

Edited by johnyboy2o11

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.