
Originally Posted by
bluey82d
More info.
Gametracker shows the correct IP for the server.
Gamespy does not. Gamespy is showing another WAN IP our firewall uses, I am trying to use a routing rule to force the outbound data to Gamespy to use the correct external WAN IP so that we can log in right, but so far it is not working as the browser view of the server links to the wrong IP address.
So it is somewhat "firewall" related in some way, but I am not entirely sure what port the server broadcasts its presence to Gamespy on. Thought it was 10558 and routed this, but this might not be quite right? ....
Use -ip=<nnn.nnn.nnn.nnn> switch in your arma2oaserver script. Add it in OTHERPARAMS like this
Code:
OTHERPARAMS='-switch=1 -switch=2 -ip=nnn.nnn.nn.nn'
As for the cfg some things you want to be configured better there.
Example
Code:
//
// server.cfg
//
// comments are written with "//" in front of them.
// GLOBAL SETTINGS
hostname = "AAF I44 Operations - AustralianArmedForces.Org"; // 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 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[] = {
"","",
"Welcome to the AAF i44 Operationns Server",
"We are looking for mature new recruits - Join us Now !",
"http://australianarmedforces.org/",
"TS3 Server for recruits: ts.ausarma.org:9987"
};
motdInterval = 5; // Time interval (in seconds) between each message
// JOINING RULES
//checkfiles[] = {}; // Outdated.
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 $
verifySignatures = 2; // Verifies .pbos against .bisign files. Valid values 0 (disabled), 1 (prefer v2 sigs but accept v1 too) and 2 (only v2 $
equalModRequired = 0; // Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server.
//requiredBuild = 90242; // Require clients joining to have at least build 12345 of game, preventing obsolete clients to connect
// VOTING
voteMissionPlayers = 0; // 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 = 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.
timeStampFormat = "full"; // Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"shor$
BattlEye = 1; // 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$
// SIGNATURE VERIFICATION
onUnsignedData = "kick (_this select 0)"; // unsigned data detected
onHackedData = "kick (_this select 0)"; // tampering of the signature detected
onDifferentData = ""; // data with a valid signature, but different version than the one present on server detected
class Missions {
};
As for arma2oa.cfg
Code:
language="English";
adapter=-1;
3D_Performance=1;
Resolution_W=800;
Resolution_H=600;
Resolution_Bpp=32;
Windowed=0;
viewDistance=3000;
terrainGrid=50;
MaxMsgSend=32;
MaxSizeGuaranteed=1024;
MaxSizeNonguaranteed=256;
MaxBandwidth=2147483647;
MinErrorToSend=0.001;
MinErrorToSendNear=0.0099999998;
MaxCustomFileSize=0;
Note that this is for 100Mbit quad core 16GB ram server.