OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: ceeeb on 07 Nov 2008, 12:39:30

Title: Solved: MP testing on a single computer in 1.14
Post by: ceeeb on 07 Nov 2008, 12:39:30
Hello all,
  After a long break without any ArmA, I've decided to have another dabble. During this time 1.14 has been released. I used to be able to run a dedicated server and two clients on a single computer to test MP missions, so long as kickDuplicate == 0 in the server config. When I attempt to join the server with my second client in 1.14, I get a "CD key in use" error and the client disconnects. In previous versions I received an message but was not disconnected. Has something changed in ArmA's copy protection, or am I missing something?  ???

Cheers,
  fasad
Title: Re: MP testing on a single computer in 1.14
Post by: Spooner on 07 Nov 2008, 19:16:19
Yes, ArmA now has BattlEye running, which will also kick you for duplicate keys, regardless of you asking ArmA to ignore your duplicates. Just add this to your server.cfg and things will be back to normal:
Code: [Select]
BattlEye=0;
Title: Re: MP testing on a single computer in 1.14
Post by: ceeeb on 07 Nov 2008, 23:20:43
Hmm, I added the BattleEye line to my config, without any change. The second client still disconnects.
Title: Re: MP testing on a single computer in 1.14
Post by: Spooner on 08 Nov 2008, 02:19:30
It is BattlEye, not BattleEye, in case you made that mistake. Otherwise, what I told you came straight out of my own server.cfg, so I can't think why that might have gone wrong.
Title: Re: MP testing on a single computer in 1.14
Post by: Odin on 08 Nov 2008, 22:43:25
I have the same problem as ceeb on this, I have followed all the OFPEC directions http://www.ofpec.com/ed_depot/mptutorial/#subsection_localTesting (http://www.ofpec.com/ed_depot/mptutorial/#subsection_localTesting) but still it crashes,  :dunno:
Title: Re: MP testing on a single computer in 1.14
Post by: Spooner on 08 Nov 2008, 23:44:50
Yeah, that tutorial was written before BattlEye was added, so you do need to additionally disable BattlEye as described above.

Still, this should not crash your game. If you don't have it set up properly, then all it will do is kick repeated users of the same key (that is, in this case, the second client being run from the same PC).
Title: Re: MP testing on a single computer in 1.14
Post by: ceeeb on 09 Nov 2008, 01:34:14
Hmmm,
My config definitely contains "BattlEye" rather than BattleEye. Could someone please post a known working server config file?

Okay, got it working. I was missing a ; at the end of a declaration before the BattlEye one, so it was never actually being used.
Cheers for your help  :good:

my server.cfg:
Code: [Select]
hostname="Test Server";
password="password";
passwordAdmin="adminPassword";
reportingIP="<>";
logFile="server_console.log";
motd[]={"Welcome to the Test Server"};
motdInterval=1;
checkfiles[]={ "HWTL\dta\data3d.pbo","dta\data3d.pbo"};
maxPlayers=32;
kickduplicate=0;
verifySignatures=0;
equalModRequired=0;
BattlEye=0;
voteMissionPlayers=1;
voteThreshold=1;
disableVoN=1;
vonCodecQuality=0;
persistent=0;
onUserConnected="";
onUserDisconnected="";
doubleIdDetected="";
regularCheck="";
onUnsignedData = "";
onHackedData = "";
onDifferentData="";
class Missions {};
Title: Re: Solved: MP testing on a single computer in 1.14
Post by: Odin on 15 Dec 2008, 05:26:56
"Sorry to bump"

Thank-you ceeeb!! My test server is a go'er now  :clap: :good:

Odin