I´m editing that becouse I´m usig my own pc as a private server and I dont wanna change some of that parameters every time the play begins. If is your case edit server.cfg and copy and paste the code en the secction
// MISSIONS CYCLE (see below)
I show you as look like my cfg:
//
// server.cfg
//
// comments are written with "//" in front of them.
// GLOBAL SETTINGS
hostname = "MY SERVER NAME"; // The name of the server that shall be displayed in the public server list
password = "123456"; // Password for joining, eg connecting to the server
passwordAdmin = "123456admin"; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz'
//reportingIP = "armedass.master.gamespy.com"; // For ArmA1 publicly list your server on GameSpy. Leave empty for private servers
//reportingIP = "arma2pc.master.gamespy.com"; // For ArmA2 publicly list your server on GameSpy. Leave empty for private servers
reportingIP = "arma2oapc.master.gamespy.com"; // For Arma2: Operation Arrowhead
logFile = "server_console.log"; // Tells ArmA-server where the logfile should go and what it should be called
// WELCOME MESSAGE ("message of the day")
// It can be several lines, separated by comma
// Empty messages "" will not be displayed at all but are only for increasing the interval
motd[] = {
"Wellcome to my server",
"",
"",
"", "",
"", "",
""
};
motdInterval = 5; // Time interval (in seconds) between each message
// JOINING RULES
checkfiles[] = {}; // Outdated.
maxPlayers = 6; // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.
kickDuplicate = 1; // Each ArmA version has its own ID. If kickDuplicate is set to 1, a player will be kicked when he joins a server where another player with the same ID is playing.
verifySignatures = 2; // Verifies .pbos against .bisign files. Valid values 0 (disabled), 1 (prefer v2 sigs but accept v1 too) and 2 (only v2 sigs are allowed).
equalModRequired = 0; // Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server.
//requiredBuild = 12345 // Require clients joining to have at least build 12345 of game, preventing obsolete clients to connect
// VOTING
voteMissionPlayers = 1; // Tells the server how many people must connect so that it displays the mission selection screen.
voteThreshold = 0.33; // 33% or more players need to vote for something, for example an admin or a new map, to become effective
// INGAME SETTINGS
disableVoN = 1; // If set to 1, Voice over Net will not be available
vonCodecQuality = 0; // since 1.62.95417 supports range 1-20 //since 1.63.x will supports range 1-30 //8kHz is 0-10, 16kHz is 11-20, 32kHz is 21-30
persistent = 1; // If 1, missions still run on even after the last player disconnected.
timeStampFormat = "short"; // Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"short","full".
BattlEye = 0; // Server to use BattlEye system
// SCRIPTING ISSUES
onUserConnected = ""; //
onUserDisconnected = ""; //
doubleIdDetected = ""; //
//regularCheck = "{}"; // Server checks files from time to time by hashing them and comparing the hash to the hash values of the clients. Causes heavy I/O, uncomment to disable feature - READ WARNING ABOVE - makes cheating possible!
// SIGNATURE VERIFICATION
onDifferentData = ""; // data with a valid signature, but different version than the one present on server detected
Where to post the follwing code
in ARMA 2 & OA : ADDONS - Configs & Scripting
Posted · Edited by sa1vi
wanna write spoiler
I´m editing that becouse I´m usig my own pc as a private server and I dont wanna change some of that parameters every time the play begins. If is your case edit server.cfg and copy and paste the code en the secction
// MISSIONS CYCLE (see below)
I show you as look like my cfg:
//
// server.cfg
//
// comments are written with "//" in front of them.
// GLOBAL SETTINGS
hostname = "MY SERVER NAME"; // The name of the server that shall be displayed in the public server list
password = "123456"; // Password for joining, eg connecting to the server
passwordAdmin = "123456admin"; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz'
//reportingIP = "armedass.master.gamespy.com"; // For ArmA1 publicly list your server on GameSpy. Leave empty for private servers
//reportingIP = "arma2pc.master.gamespy.com"; // For ArmA2 publicly list your server on GameSpy. Leave empty for private servers
reportingIP = "arma2oapc.master.gamespy.com"; // For Arma2: Operation Arrowhead
logFile = "server_console.log"; // Tells ArmA-server where the logfile should go and what it should be called
// WELCOME MESSAGE ("message of the day")
// It can be several lines, separated by comma
// Empty messages "" will not be displayed at all but are only for increasing the interval
motd[] = {
"Wellcome to my server",
"",
"",
"", "",
"", "",
""
};
motdInterval = 5; // Time interval (in seconds) between each message
// JOINING RULES
checkfiles[] = {}; // Outdated.
maxPlayers = 6; // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.
kickDuplicate = 1; // Each ArmA version has its own ID. If kickDuplicate is set to 1, a player will be kicked when he joins a server where another player with the same ID is playing.
verifySignatures = 2; // Verifies .pbos against .bisign files. Valid values 0 (disabled), 1 (prefer v2 sigs but accept v1 too) and 2 (only v2 sigs are allowed).
equalModRequired = 0; // Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server.
//requiredBuild = 12345 // Require clients joining to have at least build 12345 of game, preventing obsolete clients to connect
// VOTING
voteMissionPlayers = 1; // Tells the server how many people must connect so that it displays the mission selection screen.
voteThreshold = 0.33; // 33% or more players need to vote for something, for example an admin or a new map, to become effective
// INGAME SETTINGS
disableVoN = 1; // If set to 1, Voice over Net will not be available
vonCodecQuality = 0; // since 1.62.95417 supports range 1-20 //since 1.63.x will supports range 1-30 //8kHz is 0-10, 16kHz is 11-20, 32kHz is 21-30
persistent = 1; // If 1, missions still run on even after the last player disconnected.
timeStampFormat = "short"; // Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"short","full".
BattlEye = 0; // Server to use BattlEye system
// SCRIPTING ISSUES
onUserConnected = ""; //
onUserDisconnected = ""; //
doubleIdDetected = ""; //
//regularCheck = "{}"; // Server checks files from time to time by hashing them and comparing the hash to the hash values of the clients. Causes heavy I/O, uncomment to disable feature - READ WARNING ABOVE - makes cheating possible!
// SIGNATURE VERIFICATION
onDifferentData = ""; // data with a valid signature, but different version than the one present on server detected
// MISSIONS CYCLE (see below)
class Missions {
class WarfareV2_073LiteCO_Chernarus {
template = "WarfareV2_073LiteCO.Chernarus";
difficulty = "veteran";
class Params {
//---Parameter for v2.071
//boolean = false,true
WFBE_C_AI_MAX = 6;
// soldados que puede llevar la IA
//possible values = 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,35,40,45,50,60,70,80,90,100
WFBE_C_PLAYERS_AI_MAX = 12;
// soldados que podemos llevar
WFBE_C_ARTILLERY = 3;
// 0 desactivado, 3 short, 2 medium, 1 long
WFBE_C_STRUCTURES_ANTIAIRRADAR = 0;
// antirradar. 0 deshabilitado. 1 habilitado
WFBE_C_RESPAWN_DELAY = 15;
// respawn en segundos
WFBE_C_TOWNS_AMOUNT = 2;
// valores: 0,1,2,3,4
// texts :Extra_Small,Small,Medium,Large,Full
WFBE_C_TOWNS_DEFENDER = 3;
// dificultad resistencia. 0 nula, 4 imposible
WFBE_C_TOWNS_OCCUPATION = 2;
WFBE_C_TOWNS_REINFORCEMENT_DEFENDER = 1;
// refuerzos de resistencia
WFBE_C_ECONOMY_FUNDS_START_EAST = 3200;
WFBE_C_ECONOMY_FUNDS_START_WEST = 3200;
// dinero inicial
WFBE_C_ECONOMY_SUPPLY_START_EAST = 3600;
WFBE_C_ECONOMY_SUPPLY_START_WEST = 3600;
// SV iniciales
WFBE_C_ENVIRONMENT_STARTING_HOUR = 7;
// hora de inicio (0-23)
WFBE_C_ENVIRONMENT_WEATHER = 3;
// tiempo atmosférico dinámico
WFBE_C_UNITS_CLEAN_TIMEOUT = 600;
// desaparición de cadáveres
WFBE_C_UNITS_EMPTY_TIMEOUT = 3600;
// desaparición de vehÃculos
WFBE_C_GAMEPLAY_HANDLE_FRIENDLYFIRE = 1;
// fuego amigo (estructuras) activado
WFBE_C_GAMEPLAY_TEAMSWAP_DISABLE = 1;
// se puede cambiar de equipo
};
};
};
To run the server I created a short cut with this properties:
"C:\Program Files (x86)\Steam\SteamApps\common\arma 2 operation arrowhead\Expansion\beta\arma2oaserver.exe" -config=server.cfg -cpuCount=2 -exThreads=2 -maxmem=800 -noCB