• 0
Sign in to follow this  
AiRiC

Error message in RPT Need an extra eyeball

Question

Trying to get Ext Base mod on server and have 1 error message "I hope". Need another set of eyes because I cant see it.

ErrorMessage: File mpmissions\Exile.Altis\config.cpp, line 59: /: '#' encountered instead of '{'

 

Pastebin

 

Edited by AiRiC

Share this post


Link to post
Share on other sites

12 answers to this question

Advertisement
  • 0
27 minutes ago, WURSTKETTE said:

');

To help.Thats a fresh Config with an attempt of adding Ext Base.

 

Edited by AiRiC

Share this post


Link to post
Share on other sites
  • 0

ErrorMessage: File mpmissions\\Exile.Altis\\config.cpp, line 59: /: \'#\' encountered instead of \'{\'

    #include "EBM\\recipes.hpp"

Should be like

{

    #include "EBM\\recipes.hpp"

};

 

Look at yours and adjust. I think that's what it s but try it.

Edited by jimmya3
possible answer

Share this post


Link to post
Share on other sites
  • 0

Thanks, Jimmya3 I forgot how fun it was to hunt for missing commas and whatnot...

But if thats the case the other 4 additions would be wrong as well...going by the Ext Base Install Instructions.:

Add the following line at the top of the CfgCraftingRecipes inside your config.cpp of your mission:
#include "EBM\recipes.hpp" 
Add the following line at the top of the CfgInteractionMenus inside your config.cpp too:
#include "EBM\menus.hpp"
Add the following line at the top of the CfgTraderCategories inside your config.cpp too:
#include "EBM\traders.hpp"
Add the following line at the top of the CfgExileArsenal inside your config.cpp of your mission:
#include "EBM\prices.hpp"

Edited by AiRiC

Share this post


Link to post
Share on other sites
  • 0

For instance, heres how I have my most wanted added in

 

{
        #include "MostWanted_Client\NetworkMessages.hpp"
};

Like I said, I'm not sure if that is the problem but this is how each of those need to be added you leaving it to start with just { and not closing it right after with };

Try it and if it doesn't work then just undo it. I'm just giving you some advice as this is the format I have some of mine.

 

class CraftingRecipes

{
	#include "EBM\Recipes.hpp"
};

{

class BreachingChargeBigMomma: Exile_AbstractCraftingRecipe
{
	name = "Breaching Charge (Concrete)";
	pictureItem = "Exile_Item_BreachingCharge_BigMomma";
	returnedItems[] =

 

Edited by jimmya3

Share this post


Link to post
Share on other sites
  • 0

Ive tried several different times. Went back to stock Config and added them in your way again. Still not loading...

Spoiler

class CfgCraftingRecipes
{
    
    #include "EBM\recipes.hpp" 
    
};

{
    
class BreachingChargeBigMomma: Exile_AbstractCraftingRecipe
{
    name = "Breaching Charge (Big Momma)";
    pictureItem = "Exile_Item_BreachingCharge_BigMomma";
    returnedItems[] =
    {
        {1, "Exile_Item_BreachingCharge_BigMomma"}
    };
    tools[] =
    {
        "Exile_Item_Foolbox"
    };
    components[] = 
    {
        {3, "Exile_Item_BreachingCharge_Metal"},
        {1, "Exile_Item_MobilePhone"},
        {1, "Exile_Item_DuctTape"},
        {1, "Exile_Item_ZipTie"}
    };
};

 

New Config  

New Rpt

Share this post


Link to post
Share on other sites
  • 0

It should be...

Spoiler

class CfgCraftingRecipes
{
    #include "EBM\recipes.hpp" 
class BreachingChargeBigMomma: Exile_AbstractCraftingRecipe
{
    name = "Breaching Charge (Big Momma)";
    pictureItem = "Exile_Item_BreachingCharge_BigMomma";
    returnedItems[] =
    {
        {1, "Exile_Item_BreachingCharge_BigMomma"}
    };
    tools[] =
    {
        "Exile_Item_Foolbox"
    };
    components[] = 
    {
        {3, "Exile_Item_BreachingCharge_Metal"},
        {1, "Exile_Item_MobilePhone"},
        {1, "Exile_Item_DuctTape"},
        {1, "Exile_Item_ZipTie"}
    };
};

You had an extra opening bracket { and an extra closing bracket, and semi colon }; after #include "EBM\recipes.hpp" which isn't needed. Check the others to make sure you haven't made the same mistake.

Edited by MetalHead

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.