Jump to content
Sign in to follow this  
PreedSwe

How to prevent people without A2 to join our CO server?

Recommended Posts

We recently changed our mission over to Combined Operations and added A2 weapons and vehicles. However, players who dont have CO can still connect and play even if they only have OA, this causes issues like you might guess.. How do I make it so that they get kicked when trying to join with missing content?

Share this post


Link to post
Share on other sites
if (isNil (getText (configFile >> "CfgPatches" >> <insert A2 CfgPatches entry>))) exitWith
{
    disableUserInput true;
    hint "You need ArmA 2 to play our mission!";
};

Share this post


Link to post
Share on other sites

Or just play an ArmA 2 object randomly on the map through the editor... Or edit the mission.sqm manually and add a Arma 2 config name in there.. It will instantly kick them saying you're missing dependency blah blah.

Share this post


Link to post
Share on other sites

start your server with Tophe's ArmA2 Dedicated Server Tool (TA2DST) . with this tool you have many options for that you want to do.

Share this post


Link to post
Share on other sites

I don't see how only OA users would be able to join an A2+OA (CO) mission. What are the 'issues' that you're experiencing?

Share this post


Link to post
Share on other sites

^ yeah if you have A2 content in the mission OA-only players should get booted with a msg "you cannot play this mission it is dependant on...blah blah"

Share this post


Link to post
Share on other sites
if (isNil (getText (configFile >> "CfgPatches" >> <insert A2 CfgPatches entry>))) exitWith
{
    disableUserInput true;
    hint "You need ArmA 2 to play our mission!";
};

Unfortunately we have scripting that disableUserInput false; every few seconds to prevent hackers doing that...

---------- Post added at 03:39 PM ---------- Previous post was at 03:38 PM ----------

Or just play an ArmA 2 object randomly on the map through the editor... Or edit the mission.sqm manually and add a Arma 2 config name in there.. It will instantly kick them saying you're missing dependency blah blah.

I tried that.. I placed a Tractor... They still get in.. Messages are shown in chat when they connect, stuff like missing config for huntingrifle etc....

---------- Post added at 03:40 PM ---------- Previous post was at 03:39 PM ----------

start your server with Tophe's ArmA2 Dedicated Server Tool (TA2DST) . with this tool you have many options for that you want to do.

It's a linux server..

Share this post


Link to post
Share on other sites

But do they actually get in on the server?

I've never seen a user fully join a server and play with missing content.

Share this post


Link to post
Share on other sites

^ yeah, I've never seen that either. The thing I can think of, maybe the people connecting have some sort of lite content, but not full CO. I've never seen anyone be able to play with missing content...ever. Also, I find it hard to believe that since you guys just switched over from vanilla A2 1.11 to CO, that some participants only have OA standalone and are missing A2. Or maybe I mis understood... did you guys switch over to co from standalone OA?

Edited by Iceman77

Share this post


Link to post
Share on other sites

okay then make 100% sure people don't have some sort of lite content running.That's what I'm thinking.Maybe some sort of free version? Idk, i'm not familiar with Arma2 free or any lite content for that matter.

Share this post


Link to post
Share on other sites

Having addon signature checking on should do the trick most of the time.

Share this post


Link to post
Share on other sites
But do they actually get in on the server?

I've never seen a user fully join a server and play with missing content.

If there is no A2 content in the mission file then they can join. That, however, does not mean the mission doesn't use CO content. Remember you can spawn weapons and vehicle through scripting. So those with only A2 content will be fighting invisible enemies and some .rpt files will probably be large, since some computers don't know units all the others and the server are talking about.

Share this post


Link to post
Share on other sites

Then adding something very specific from A2 would be enough. I believe the tractor is also available in OA

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×