Jump to content
Sign in to follow this  
mycatsaid

DooACS/CBA/Server Settings Causing Server Lag

Recommended Posts

Hello, I recently added CBA and DooACS to my server to try protect it from the average script exploit. But we've been getting some unusual lag spikes, and it's maybe because of that.

I run a domination server, 40 man, on a dedicated server 4x 2.8ghz Dual Core.

I only run CBA because my server has arma 2 installed as well but our mission only requires OA but in the mod line it still says Arma 2 as well but doesnt require it and then DooACS.

I kinda need this script running.

Also does anyone have some good bandwidth settings for my server. Maybe that could be causing lag too because I changed that recently too.

language="English";

adapter=-1;

3D_Performance=1;

Resolution_W=0;

Resolution_H=0;

Resolution_Bpp=0;

Windowed=0;

MinBandwidth=10000000;

MaxBandwidth=2147483647;

MaxMsgSend=1024;

MaxSizeGuaranteed=1024;

MaxSizeNonguaranteed=64;

MinErrorToSend=0.0040000002;

MaxCustomFileSize=0;

Also server settings.. I know people say about verify sig 2 but It stills kicks people who have BAF/PMC.

// Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.

maxPlayers=40;

// Time interval (in seconds) between each message

motdInterval=25;

// Do not allow players with duplicate id's to connect

Kickduplicate=1;

// If set to 1, player has to use exactly the same -mod= startup parameter as the server.

equalModRequired=0;

// Enables persistent battlefield

// This is dependent on the mission specifiying persistence, otherwise has no effect.

persistent=1;

// Anti-cheat

battlEye = 1;

// Gamespy reporting url for public server list inclusion

reportingIP="arma2pc.master.gamespy.com";

// If specified player connects/disconnects and player id's are written to file.

// The loffile is persistant and appends data on server restart.

logFile="server_console.log";

// Enables network traffic logging, client IP etc

netlog=1;

// Set the timestamp format used on each report line in server-side RPT file.

// Possible values are "none" (default),"short","full".

timeStampFormat=full;

// VOTING SETTINGS

// start voting when 1 players connect.

voteMissionPlayers=1;

// 25% or more players need to vote for mission to become effective

// set to 1.5 to turn off missions voting

voteThreshold=1.5;

// VOICE SETTINGS

// If set to 1, Voice over Net will not be available

disableVoN=0;

// Enabling VonID displays player name to all clients when client VON is in use.

VonID=1;

// Quality from 1 to 10

// See http://community.bistudio.com/wiki/ArmA:_Multiplayer#VOIP_support for codec info. 7 is the best.

vonCodecQuality=7;

// INGAME SETTINGS

// Enables ingame scoreboard.

NetStats=1;

// Enables death messages ingame

DeathMessages=1;

// SCRIPTING ISSUES

onUserConnected="";

onUserDisconnected="";

doubleIdDetected="";

// some ArmA specific stuff - signature verification

// Enables signature verification for addons

// This will prevent pbo hacks by only allowing pbo's that pass server's public key checks

verifySignatures=1;

//list of files to check for identity

checkfiles[]={"HWTL\dta\data3d.pbo","dta\data3d.pbo"};

// some ArmA specific stuff - signature verification

onUnsignedData = "kick (_this select 0)"; // unsigned data detected

//onHackedData = "ban (_this select 0)"; // tampering of the signature detected

onDifferentData=""; // data with a valid signature, but different version than the one present on server detected

Current ones.

Any help would be appreciated. Thanks!

Edited by mycatsaid

Share this post


Link to post
Share on other sites

CHANGE

checkfiles[]={"HWTL\dta\data3d.pbo","dta\data3d.pbo"};

=>

checkfiles[]={};

verifySignatures=1;

=>

verifySignatures=2;

//onHackedData = "ban (_this select 0)";

=>

onHackedData = "kick (_this select 0)";

REMOVE

// Enabling VonID displays player name to all clients when client VON is in use.
VonID=1;

// INGAME SETTINGS// Enables ingame scoreboard.
NetStats=1;

// Enables death messages ingame
DeathMessages=1;

// SCRIPTING ISSUES
onUserConnected="";
onUserDisconnected="";
doubleIdDetected="";

Read: http://community.bistudio.com/wiki/server.cfg

DooACS won't help you much.

Better sniff/log the network traffic and ip ban ppl on keywords in the traffic.

Share this post


Link to post
Share on other sites
DooACS won't help you much.

Better sniff/log the network traffic and ip ban ppl on keywords in the traffic.

Packet sniffing is definitely the best way to go, but I wouldn't go as far as saying DooACS doesn't help much. DooACS will _not_ get rid of EVERY single hacker, but it'll get rid of the kids who google "arma hacks" and download the first one on the page. That right there is a large majority of them.

Also, you may want to add this to the config (this won't fix your issue, but it's still a good idea):

regularCheck = "{}";

Share this post


Link to post
Share on other sites

it's much safer to simply remove regularCheck line from server config,

so the default setting is used ...

Share this post


Link to post
Share on other sites

Is there a place where I can get V2 sig keys for addons? I just want the common sound mods in my server.

Also does V2 still kick pmc/baf users?

Share this post


Link to post
Share on other sites

> does V2 still kick pmc/baf users

Yes, but 1.60 should be out soon and your team could use the beta patches meanwhile.

> get V2 sig keys for addons

In the end the effective approach is to (re)sign them with your own key for your server to get v2 sigs.

Share this post


Link to post
Share on other sites
> does V2 still kick pmc/baf users

Yes, but 1.60 should be out soon and your team could use the beta patches meanwhile.

> get V2 sig keys for addons

In the end the effective approach is to (re)sign them with your own key for your server to get v2 sigs.

But our server is windows o_0 Isn't the beta patch for linux?

Also I havent a clue how to use that DSUtilis2 to sign the keys.

Also we have an insurgency server running as well and that is not on our box and we still exprience lag spikes.

Edited by mycatsaid

Share this post


Link to post
Share on other sites

a) for a windows server you simply need to install the beta patch on a client and upload the beta folder

b) you need to create a new key (put that on the server) and sign the pbos with it. the players now need to get the new sign files and put them next to the pbos.

quite a hassle and only realistically working if you use six updater or yoma tools to let ppl easily sync

Share this post


Link to post
Share on other sites
a) for a windows server you simply need to install the beta patch on a client and upload the beta folder

b) you need to create a new key (put that on the server) and sign the pbos with it. the players now need to get the new sign files and put them next to the pbos.

quite a hassle and only realistically working if you use six updater or yoma tools to let ppl easily sync

Where can I get the beta patch from? Sorry..

Share this post


Link to post
Share on other sites
it's much safer to simply remove regularCheck line from server config,

so the default setting is used ...

In my experience, regularCheck has randomly kicked legit clients (without any addons). I'd like to enable it, but in its current state I can't - same with the v2 sigs (PMC/BAF).

Share this post


Link to post
Share on other sites

I installed the beta patch on my server but then removed it from my client.

First time when I had the patch installed in client I got kicked.

20:06:22 Player MyCatSaid: Wrong signature for file expansion\addons\structures_e.pbo

Second time without beta patch in my client.

20:07:42 Player MyCatSaid: Wrong signature for file pmc\addons\sounds_pmc.pbo

Share this post


Link to post
Share on other sites

Did you apply a2 v1.10?

PMC signatures with v2 active have issues yep. People have to use the beta patch.

Share this post


Link to post
Share on other sites
Did you apply a2 v1.10?

PMC signatures with v2 active have issues yep. People have to use the beta patch.

I turned signatures off and it still kicked me.

Share this post


Link to post
Share on other sites
Just set verifysig to 0.

Did you have the server off when trying to make changes? Either you didn't have it off or you're doing something wrong.

Share this post


Link to post
Share on other sites
Did you have the server off when trying to make changes? Either you didn't have it off or you're doing something wrong.

All I did was apply the beta patch to my client. Copy over the files to the server and then change the startup line to run the beta.

Share this post


Link to post
Share on other sites

Can anyone give me a hand with the basic.cfg I need to get some good settings for my server.

Share this post


Link to post
Share on other sites

mate there are many many threads out there about it.

yes you will have to check a couple to find a good one, but its there.

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  

×