Jump to content
Sign in to follow this  
seththefirst

Arma 2 dedicated server - MaxCustomFileSize

Recommended Posts

Hi guys,

i need help with the configuration of my server.

Can someone tell me, why i cant have the MaxCustomFileSize working?

If i put this 0, this works, and everyone who have any custom sound, cant connect, but, if i put any value, the server ignore this, and always keep the 50kb limit.

Im puting here, my server config.

Thx all =)

Command Line

arma2server.exe -config=server.cfg -nomap -port=2332 -cfg=arma2.cfg

Arma2.cfg

language="Spanish";
adapter=-1;
3D_Performance=93750;
Resolution_Bpp=32;
MaxCustomFileSize = 8000000;

Server.cfg

//
// server.cfg
//
// comments are written with "//" in front of them.



// GLOBAL SETTINGS
port=2317;
hostname="[ES]Vikingos-ClanVikingos.es-NewLightSystems.com";	// The name of the server that shall be displayed in the public server list
password="";						// Password for joining, eg connecting to the server
passwordAdmin="***";					// Password to become server admin. When you're in Arma MP and connected to the server, type '#login PASSWORD'
reportingIP="armedass.master.gamespy.com";		// This is the default setting. If you change this, your server might not turn up in the public list. Leave empty for private servers
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[]={
"", "", "", 
"Bienvenido al servidor ARMA2 de www.clanvikingos.es",
"Respeta las normas del modo de juego",
"Prohibido estar afk mucho tiempo o reclutar en el server",
"Puedes utilizar nuestro Teamspeak-Canal PUBLICO",
"IP 213.149.249.45:8811 pass gsf",
"Proveedor de servidor de juegos www.NewLightSystems.com"
};
motdInterval=5;						// Time interval (in seconds) between each message



// JOINING RULES
checkfiles[]={						// Checks if these files are equal to the servers files. If one or more is not, player will be kicked from server
"HWTL\dta\data3d.pbo",
"dta\data3d.pbo"
};
maxPlayers=20;						// 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=0;					// Verifies the players files by checking them with the .bisign signatures. Works properly from 1.08 on
equalModRequired=0;					// If set to 1, player has to use exactly the same -mod= startup parameter as the server.



// 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=0;						// If set to 1, Voice over Net will not be available
vonCodecQuality=7;					// Quality from 1 to 10
persistent=1;						// If 1, missions still run on even after the last player disconnected.


// SCRIPTING ISSUES
onUserConnected="";					// self-explaining
onUserDisconnected="";
doubleIdDetected="";
regularCheck="";


// 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
BattlEye=1; //Server to use BattlEye system

// MISSIONS CYCLE (see below)
class Missions {
};

Edited by seththefirst

Share this post


Link to post
Share on other sites
Did you restart the server and try then

of course mate... ^^

thats why im here, because ive tried everything i could try... :P

I already tried to use this variable with the -cfg and with the -config, and with both.

And the server seems to ignore the value.

But if i put the value = 0, the server uses this... :P

Share this post


Link to post
Share on other sites

//
// comments are written with "//" in front of them.



// GLOBAL SETTINGS
hostname="Tangodown.nl Arma2";	// The name of the server that shall be displayed in the public server list
maxPlayers=16;						// May not be changed, i3D.net will apply this for you.
password="";						// Password for joining, eg connecting to the server
passwordAdmin="xxxxxxxxxxxxxx";					// Password to become server admin. When you're in Arma MP and connected to the server, type '#login '
reportingIP="armedass.master.gamespy.com";		// This is the default setting. If you change this, your server might not turn up in the public list. Leave empty for private servers
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[]={
"", "", "", 
"Welkom op de server TANGODOWN.NL",
"Kom op Teamspeak 94.103.145.156:6000",
       "Have respect for other players and the game",
       "For everyone WE PLAY AS A TEAM IF YOU ARE RAMBO PLEASE LEAVE",
       " ",  
       " ",
       " ",
       " ",
       "RULES ARE SIMPLE PLAY TOGHETER!!",
       "TEAMKILLERS WILL BE BANNED",
       "INFORM YOURE TEAMMATES WHERE TARGETS ARE",
       "ABOVE ALL HAVE FUN"   


};
motdInterval=20;						// Time interval (in seconds) between each message



// JOINING RULES
checkfiles[]={						// Checks if these files are equal to the servers files. If one or more is not, player will be kicked from server
"HWTL\dta\data3d.pbo",
"dta\data3d.pbo"
};
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=0;					// Verifies the players files by checking them with the .bisign signatures. Works properly from 1.08 on
equalModRequired=0;					// If set to 1, player has to use exactly the same -mod= startup parameter as the server.



// VOTING
voteMissionPlayers=1;  					// Tells the server how many people must connect so that it displays the mission selection screen.
voteThreshold=1.5;					// 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=7;					// Quality from 1 to 10
persistent=1;						// If 1, missions still run on even after the last player disconnected.



// SCRIPTING ISSUES
onUserConnected="";					// self-explaining
onUserDisconnected="";
doubleIdDetected="";
regularCheck="";

// 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
BattlEye=1; //Server to use BattlEye system

// MISSIONS CYCLE (see below)
class Missions {
};


This is mine maybe you could copy it and try this (of course change the things to you're satisfaction

Share this post


Link to post
Share on other sites

thx orton, but in your config file, i cant see the variable to define the max custom sound file...

i thought i need to put this at arma2.cfg, no?

Share this post


Link to post
Share on other sites
-----

Seth,

Custom file size is defined in arma2.cfg.

Make sure you copy the arma2.cfg into the same folder where your server.cfg is.

It should work like that.

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  

×