• 0
Sign in to follow this  
SireConflexe

Error et launch of the server

Question

Hi all,

I just tried to install an exile server following the guide made by S. (updated for 1.0.4).

I strictly follow each instruction. It's the first time I try to run an arma server, but I got knowledge in computer science.

I am getting the below error :

File exile_server_config\config.cpp, line 5 : /CfgPatches/exile_server_config.requiredVersion: Member already defined.

  •  
  •  

error.PNG

I looked at the config files and didn't find any problem. Anyone got an idea ?

Any help would be so appreciated !

Share this post


Link to post
Share on other sites

3 answers to this question

  • 1

From that error it appears you have this:

Spoiler
class CfgPatches
{
class exile_server_config
{
requiredVersion = 0.1;
requiredAddons[] = {};
units[] = {};
weapons[] = {};
magazines[] = {};
ammo[] = {};
};

};

defined twice,

what I would suggest is either checking config.cpp inside your exile_server_config.pbo manually, or using text crawler, or some similar app which will check all files inside that folder for any "class CfgPatches" mention.

Alternatively you can try commenting it  with /* infront and */ after in config.cpp and let that other class CfgPatches loads, to see what will happen, but I would rather suggest you find that second instance, make sure both are the same and than comment one of those two out as mentioned above.

Or you can start all over from scratch ;D

Even though I can't figure out how you managed to do that by following pretty straight forward instructions, but I guess we all did all kind of weird stuff when we were setting up our 1st server (at least I know I did  XD).

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, Brenner said:

From that error it appears you have this:

  Reveal hidden contents
class CfgPatches
{
class exile_server_config
{
requiredVersion = 0.1;
requiredAddons[] = {};
units[] = {};
weapons[] = {};
magazines[] = {};
ammo[] = {};
};

};

defined twice,

what I would suggest is either checking config.cpp inside your exile_server_config.pbo manually, or using text crawler, or some similar app which will check all files inside that folder for any "class CfgPatches" mention.

Alternatively you can try commenting it  with /* infront and */ after in config.cpp and let that other class CfgPatches loads, to see what will happen, but I would rather suggest you find that second instance, make sure both are the same and than comment one of those two out as mentioned above.

Or you can start all over from scratch ;D

Even though I can't figure out how you managed to do that by following pretty straight forward instructions, but I guess we all did all kind of weird stuff when we were setting up our 1st server (at least I know I did  XD).

Thanks to you, I found my error ! I got the exile_server_config.pbo file in two differents directory, and both were recognised, and that's why it was defined twice. (yeah I know, I'm dumb)

Thanks cap !

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.