Irok

[SOLVED] Prevent players from joining if they not have the correct mods

16 posts in this topic

How is this possible??

I tryed to put in mod name in the config inside "exile_server_config.pbo" Where it says requierd addons.

But this dosent work.. Players can still join even if they do not have correct mods installed

Anyone got a sulotion on this?

 

/Irok

Edited by Irok

Share this post


Link to post
Share on other sites

You can do this easily in Server\@ExileServer\config.cfg

onUnsignedData                         = "kick (_this select 0)";    
onHackedData                         = "kick (_this select 0)";
onDifferentData                     = "kick (_this select 0)"; // This one kicks players that aren't running with same mods as server under -mod=

 

Share this post


Link to post
Share on other sites
Advertisement

Ok i tryed to put like this: 

onDifferentData                     = "kick (_this select 1)";

But it dosent work.. Do i have to put in something else?

I found one thing and that is line 20..

equalModRequired                     = 0;   I tryed to put this to 1 but then no one can join even with the right mods.. :(

Edited by Irok

Share this post


Link to post
Share on other sites

You need to have the keys for the mods you want in the keys folder and leave out keys for mods you dont want.

equalModRequired                     = 1;

 

if players getting kicked they have wrong mod version or corrupt data

 

Share this post


Link to post
Share on other sites

Ok, tryed that

Couldent get that to work either :(

Im trying to Join my self and it dosent work.. And i know i have the correct mods. Couse i downloaded them from armaholic both for me and the server..

/Irok

Edited by Irok

Share this post


Link to post
Share on other sites

you need to configure the mission file (mission.sqm) to specify which mods are required

 

eg. for the All in Arma Chernarus map:

    addOns[] = {"aia_desert2_config","aia_misc_config","exile_client","aia_misc3_config","aia_buildings_config","aia_misc_e_config","aia_misc_data","cabuildings_misc"};
    addOnsAuto[] = {"exile_client"};

 

Edited by second_coming

Share this post


Link to post
Share on other sites

YEAH THIS IS THE WAY I WANT TO DO IT!!!

But i dont know what words tp put in.. I have Tryk uniforms, Cup Weapons, asdg_jr and Ryan Zombies..

Do you know what words i need to put in for thoose addons??

Thx for answering second_coming

/Irok

[SOLVED]

I just grabbed words from pbo's that are inside mod/addons :) And now it is working!!!

YAAAAY!!

Thx for the help everyone!!

/Irok

Edited by Irok

Share this post


Link to post
Share on other sites

you need to configure the mission file (mission.sqm) to specify which mods are required

 

eg. for the All in Arma Chernarus map:

    addOns[] = {"aia_desert2_config","aia_misc_config","exile_client","aia_misc3_config","aia_buildings_config","aia_misc_e_config","aia_misc_data","cabuildings_misc"};
    addOnsAuto[] = {"exile_client"};

 

What is the difference between addOns and addOnsAuto?

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.