• 0
Sign in to follow this  
digitalstorm

Could i get a look at this plz.

Question

just put in the RHS mods and the pbo altis config.cpp put in the list of things i needed to add and now this meg /   12:37:40 Steam AppId from steam_appid.txt: 107410
12:37:40 Error context GREFWeapons",
12:37:40 ErrorMessage: File mpmissions\__cur_mp.Altis\config.cpp, line 6013: '/CfgTraders/Exile_Trader_Armory.': '"' encountered instead of '='
12:37:40 Application terminated intentionally
ErrorMessage: File mpmissions\__cur_mp.Altis\config.cpp, line 6013: '/CfgTraders/Exile_Trader_Armory.': '"' encountered instead of '='

Share this post


Link to post
Share on other sites

10 answers to this question

  • 0

Hello @digitalstorm,

Simple!  You have a TYPO!  Where?  WE DO NOT KNOW!

ONLY YOU do!

You MUST go thru EVERY LINE YOU ADDED and EXAMINE IT!

There IS a typo...SOMEWHERE!

Yes, it says 'Line 6013', this USUALLY IS MISLEADING!  It USUALLY means it is this line (or more times than not), lines ABOVE THAT ONE, has the issue.  TYPICALLY, it will be in that 'area'.  So, if that area is called, for example, 'Class Weapons' and this line is in that area, it is in the area 'Class Weapons'.  Do note, this is MOST OF THE TIME.  You might have to examine several areas ABOVE that one.

:)

Share this post


Link to post
Share on other sites
  • 0

Well hi,and thx you for the fast return on the meg, i can tell you where its at,and no line 6013 is fine its in here am working on it wright now,would you want to help me ? here it is       

class CfgTraders
{
    /**
     * Weapons, scopes, silencers, ammo
     */
    class Exile_Trader_Armory
    {
        name = "ARMORY";
        showWeaponFilter = 1;
        categories[] = 
        {
            "PointerAttachments",
            "BipodAttachments",
            "MuzzleAttachments",
            "OpticAttachments",
            "Ammunition",
            "Pistols",
            "Shotguns",
            "SubMachineGuns",
            "LightMachineGuns",
            "AssaultRifles",
            "SniperRifles"
        };"GREFWeapons",
            "RHSAmmunition",
            "RHSAssaultRifles",
            "RHSBipodAttachments",
            "RHSLightMachineGuns",
            "RHSMuzzleAttachments",
            "RHSOpticAttachments",
            "RHSPistols",
            "RHSPointerAttachments",
            "RHSSniperRifles",
    };

    /**
     * Satchels, nades, UAVs, static MGs
     */
    class Exile_Trader_SpecialOperations
    {
        name = "SPECIAL OPERATIONS";
        showWeaponFilter = 1; // for noob tubes
        categories[] = 
        {
            "Flares",
            "Smokes",
            "UAVs",
            "StaticMGs",
            "Explosives",
            "Navigation"
        };"RHSLauncherAmmo",
            "RHSMines"
    };

    /**
     * Uniforms, vests, helmets, backpacks
     */
    class Exile_Trader_Equipment
    {    
        name = "EQUIPMENT";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Headgear",
            "Glasses",
            "Uniforms",
            "Vests",
            "Backpacks",
            "FirstAid"
        };"GREFHeadgear",
            "GREFUniforms",
            "GREFVests",
            "RHSHeadgear",
            "RHSUniforms",
            "RHSVests",    
    };

    /**
     * Cans, cans, cans
     */
    class Exile_Trader_Food
    {
        name = "FAST FOOD";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Food",
            "Drinks",
            "NonVeganFood"
        };
    };

    /**
     * Light bulbs, metal, etc.
     */
    class Exile_Trader_Hardware
    {
        name = "HARDWARE";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Hardware",
            "Tools"
        };
    };

    /**
     * Sells cars and general vehicles
     */
    class Exile_Trader_Vehicle
    {
        name = "VEHICLE";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Cars",
            "Trucks"
        }; "GREFArmed",
            "GREFUAZArmed",
            "RHSVehicles",
    };

    /**
     * Sells choppers and planes
     */
    class Exile_Trader_Aircraft
    {
        name = "AIRCRAFT";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Choppers", 
            "Planes"
        }; 
            "RHSChoppers",
            "RHSPlanes",

Share this post


Link to post
Share on other sites
Advertisement
  • 0

You do not have your added items correct.  examine the ORIGINAL listing and make your MATCH EXACTLY.

Original:

 class Exile_Trader_Equipment
    {    
        name = "EQUIPMENT";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Headgear",
            "Glasses",
            "Uniforms",
            "Vests",
            "Backpacks",
            "FirstAid"
        };
    };

 

Yours:

 class Exile_Trader_Equipment
    {    
        name = "EQUIPMENT";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Headgear",
            "Glasses",
            "Uniforms",
            "Vests",
            "Backpacks",
            "FirstAid"
        };"GREFHeadgear",
            "GREFUniforms",
            "GREFVests",
            "RHSHeadgear",
            "RHSUniforms",
            "RHSVests",    
    };

 

 

 

All of your added crap is OUTSIDE OF THE BRACKETS for one thing.  What else is wrong?  I do not know.  That is for YOU to discover!

;)

 

Share this post


Link to post
Share on other sites
  • 0

Could it be this i added this also last night..i got this from a hell of a youtuber here is his link i had a hard time on this one becuz of how fast it did this vid   www.youtube.com/watch?v=CwRikmQKbAE       

Desktop Screenshot 2018.10.20 - 17.48.42.55.png

Desktop Screenshot 2018.10.20 - 17.55.53.30.png

Share this post


Link to post
Share on other sites
  • 0

You STILL have at least one syntax error!  And who knows lie after you fix that one!  ;)

 

Try this on ALL FILES YOU MODIFIED! (i.e. sqm, sqf, sqs)

 

It is not 'perfect' and will not tell you what line the error is on, BUT it WILL tell you if you have missing to too many 'things'.  And this is 100% better than what you got now!

:)

 

Share this post


Link to post
Share on other sites
  • 0
On ‎10‎/‎20‎/‎2018 at 10:44 PM, digitalstorm said:

Could it be this i added this also last night..i got this from a hell of a youtuber here is his link i had a hard time on this one becuz of how fast it did this vid   www.youtube.com/watch?v=CwRikmQKbAE       

Desktop Screenshot 2018.10.20 - 17.48.42.55.png

 

you haven't closed the function/class call

class CfgExileArsenal
{

//anything you want here

};

you missed }; on the end

 

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.