Wobbley
-
Content Count
5 -
Joined
-
Last visited
-
Medals
Posts posted by Wobbley
-
-
I finally got some time to mess with Arma II servers today, and it's doing my head in. It says the server is running and it reports no erros anywhere, yet the server is not up :S I run an Ubuntu server and this is what i do after everything is installed and I run it:
Terminal:
dean@RoIServer:~/a2server$ ./arma2oaserver start
Starting ArmA 2 server...
dean@RoIServer:~/a2server$ nohup: redirecting stderr to stdout
./arma2oaserver status
Server should be running...
The arma2oaserver file:
#!/bin/bash
#
# armaserver: ArmA 2 Linux Dedicated Server Control Script
# © 2010 BIStudio
# ArmA 2 binary version must be 1.04 or later
#
#=======================================================================
#======== CONFIGURATION PARAMETERS ========
#======== MUST BE EDITED MANUALLY TO FIT YOUR SYSTEM PARAMETERS ========
#=======================================================================
ARMA_DIR=/home/dean/a2server/arma2operationarrowhead
CONFIG=a2oaserver.cfg
PORT=2302
PIDFILE=${ARMA_DIR}/${PORT}.pid
RUNFILE=${ARMA_DIR}/${PORT}.run
LOGFILE=${ARMA_DIR}/log.${PORT}.txt
SERVER=${ARMA_DIR}/server
OTHERPARAMS=-cpucount=2
#=======================================================================
ulimit -c 1000000
case "$1" in
start)
if [ -f ${RUNFILE} ]; then
$0 stop
fi
echo "Starting ArmA 2 server..."
# file to mark we want server running...
echo "go" >${RUNFILE}
# launch the background watchdog process to run the server
nohup </dev/null >/dev/null $0 watchdog &
;;
stop)
echo "Stopping ArmA 2 server..."
if [ -f ${RUNFILE} ]; then
# ask watcher process to exit by deleting its runfile...
rm -f ${RUNFILE}
fi
# and terminate ArmA 2 server process
if [ -f ${PIDFILE} ]; then
kill -TERM $(< ${PIDFILE})
if [ -f ${PIDFILE} ]; then
rm -f ${PIDFILE}
fi
fi
;;
status)
if [ -f ${RUNFILE} ]; then
echo "Server should be running..."
else
echo "Server should not be running..."
fi
if [ -f ${PIDFILE} ]; then
PID=$(< ${PIDFILE})
echo "PID file exists (PID=${PID})..."
if [ -f /proc/${PID}/cmdline ]; then
echo "Server process seems to be running..."
fi
fi
;;
check)
echo -n "ArmA 2 directory: ${ARMA_DIR} "
if [ -d ${ARMA_DIR} ]; then
echo "OK"
else
echo "MISSING!"
fi
echo -n "Server executable: ${SERVER} "
if [ -x ${SERVER} ]; then
echo "OK"
else
echo "ERROR!"
fi
echo "Port number: ${PORT}"
echo -n "Config file: ${CONFIG} "
if [ -f ${CONFIG} ]; then
echo "OK"
else
echo "MISSING!"
fi
echo "PID file: ${PIDFILE}"
echo "RUN file: ${RUNFILE}"
;;
restart)
$0 stop
$0 start
;;
watchdog)
# this is a background watchdog process. Do not start directly
while [ -f ${RUNFILE} ]; do
# launch the server...
cd ${ARMA_DIR}
echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Starting server (port ${PORT})..."
${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE} ${OTHERPARAMS}
if [ -f ${RUNFILE} ]; then
echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server died, waiting to restart..."
sleep 5s
else
echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server shutdown intentional, watchdog terminating"
fi
done
;;
*)
echo "$0 (start|stop|restart|status|check)"
;;
esac
The Config file:
//
// server.cfg
//
// comments are written with "//" in front of them.
// GLOBAL SETTINGS
hostname = "AAAAaaaaAAAA"; // The name of the server that shall be displayed in the public server list
password = ""; // Password for joining, eg connecting to the server
passwordAdmin = "xyz"; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz'
reportingIP = "armedass.master.gamespy.com"; // This is the default setting. If you change this, your server
//reportingIP = arma2pc.master.gamespy.com"; // In case of ArmA2 might not turn up in the public list. Leave empty for private servers
//reportingIP = "arma2oapc.master.gamespy.com"; // For 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 Testing",
"Server Settings: Veteran, Crosshair = off, 3rdPerson = off, MapInfo = off, VoN = off, CustomFiles = 200KByte, Voting = 33%, PersistentMaps = on",
"We are looking for fun - Join us Now !",
"http://www.mypage.org/",
"",
"You should use mumble, its better than",
"TS2 Server for recruits: mypage.org:8767"
};
motdInterval = 5; // Time interval (in seconds) between each message
// JOINING RULES
checkfiles[] = {}; // Outdated.
maxPlayers = 30; // 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 = 1; // Verifies the players files by checking them with the .bisign signatures. Works properly from 1.08 on
equalModRequired = 0; // Outdated. 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 = 1; // If set to 1, Voice over Net will not be available
vonCodecQuality = 0; // 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
class Missions
{
class COOP_HikeInTheHills
{
template="MPE1_HikeInTheHills.Takistan";// omit the .pbo suffix
difficulty="regular";// difficulty: recruit, regular, veteran or mercenary (see CfgDifficulties in the main game config)
};
class COOP_LaserShow
{
template="MPE1_LaserShow.Takistan";
difficulty="regular";
};
class COOP_Littlebird
{
template="MPE1_Littlebird.Takistan";
difficulty="regular";
};
class COOP_OneShotOneKill
{
template="MPE1_OneShotOneKill.Takistan";
difficulty="regular";
};
class COOP_SteelPanthers
{
template="MPE_SteelPanthers.Takistan";
difficulty="regular";
};
class CTI_MountainWarfare
{
template="MPE_MountainWarfare.Takistan";
difficulty="regular";
};
class CTI_MountainWarfare3Sided
{
template="MPE_MountainWarfare3Sided.Takistan";
difficulty="regular";
};
class CTI_UrbanWarfare
{
template="MP_UrbanWarfare.Zargabad";
difficulty="regular";
};
class SCont_SectorControl
{
template="MPE_SectorControl.Zargabad";
difficulty="veteran";
};
class DM_Dogfighters
{
template="MPE1_Dogfighters.Takistan";
difficulty="veteran";
};
class Team_HuntersHunted
{
template="MPE1_HuntersHunted.Takistan";
difficulty="veteran";
};
};
I have opened UDP ports 2302 - 2305. I have also checked locally to see if it's there, but nothing :S Any help would be appreciated!
-
So if i need to understand you correctly in my server folder should contain these files before i start setting up with ./install unzip etc.
the server trg.bz2 file
OA folder with Addons, Common, Expansion and Dta folders
CO folder with Addons, Common, Expansion and Dta folders
Will I need anything else? You have to understand I know nothing about the arma series or how it's addon expansions were made. I am merely doing this for some friends. I got the games though :D
-
My point is I do not own the game in any way, I simply wish to host it for a group of friends. Oh well I guess I can get it if Steam still has a discount. Thanks for the help though :)
-
Hey
I am having some issues setting up the A2:OA server. Some of the members in our community started playing the game and wondered if i could set a server up on the linux box. I followed the instruction in the A2OA Linux Server beta 1.59.79548 thread, but I assume I also need the game or some kind of game files? When i tried doing ./server I got loads of errors.
Errors I got if it matters (some of them as i did not output to text file and only had terminal)
Cannot register string STR_CONTROLLER_SENSITIVITY_MEDIUM - global stringtable no t found
Cannot register string STR_CONTROLLER_SENSITIVITY_HIGH - global stringtable not found
Cannot register string STR_MAP_NOTES - global stringtable not found
Cannot register string STR_MAP_PLAN - global stringtable not found
Cannot register string STR_UI_EDITOR_INT_EDIT2D - global stringtable not found
Cannot register string STR_UI_EDITOR_INT_EDIT3D - global stringtable not found
Cannot register string STR_MSG_NUMBER_EXPECTED - global stringtable not found
Cannot register string STR_LOG_CURRENT_TASK - global stringtable not found
Cannot register string STR_LOG_GEAR - global stringtable not found
Cannot register string STR_LOG_TEAM_SWITCH - global stringtable not found
Cannot register string STR_LOG_KICKOFF - global stringtable not found
Cannot register string STR_LOG_BAN - global stringtable not found
Cannot register string STR_LOG_MUTE - global stringtable not found
Cannot register string STR_LOG_CANCEL_MUTE - global stringtable not found
Cannot register string STR_LOG_EDIT - global stringtable not found
Cannot register string STR_LOG_DELETE - global stringtable not found
Cannot register string STR_LOG_TITLE_OBJECTIVE - global stringtable not found
Cannot register string STR_LOGSUBJECT_CONVERSATION - global stringtable not foun d
Cannot register string STR_CONTROLS_PRESETS - global stringtable not found
Cannot register string STR_CONTROLS_CUSTOM - global stringtable not found
Cannot register string STR_DISP_INT_LOAD_FORMAT - global stringtable not found
Cannot register string STR_DISP_INT_RETRY_FORMAT - global stringtable not found
Cannot register string STR_DISP_INT_RESTART_FORMAT - global stringtable not foun d
Cannot register string STR_MSG_PLAY_WITHOUT_SAVES - global stringtable not found
Cannot register string STR_MSG_MP_NOT_SIGNED_IN - global stringtable not found
Cannot register string STR_MSG_MP_NO_PRIVILEGES - global stringtable not found
Cannot register string STR_MSG_NOT_SIGNED_IN - global stringtable not found
Cannot register string STR_MSG_LIVE_NOT_SIGNED_IN - global stringtable not found
Cannot register string STR_MSG_NO_STORAGE_DEVICE - global stringtable not found
Cannot register string STR_MSG_NO_STORAGE_DEVICE_SHORT - global stringtable not found
Cannot register string STR_MSG_STORAGE_CHANGED - global stringtable not found
Cannot register string STR_MSG_STORAGE_REMOVED - global stringtable not found
Cannot register string STR_MSG_SAVE_FAILED - global stringtable not found
Cannot register string STR_MSG_LIVE_DISCONNECTED - global stringtable not found
Cannot register string STR_MSG_LIVE_STATS_WARN - global stringtable not found
Cannot register string STR_DISP_ME_LOAD - global stringtable not found
Cannot register string STR_DISP_ME_RETRY - global stringtable not found
Cannot register string STR_DISP_REVERT - global stringtable not found
Cannot register string STR_UI_POSITION_DISTANCE - global stringtable not found
Cannot register string STR_UI_OBJECT_DISTANCE - global stringtable not found
Cannot register string STR_TRACK_IR - global stringtable not found
Cannot register string STR_FREETRACK - global stringtable not found
Cannot register string STR_ENABLE_CONTROLLER - global stringtable not found
Cannot register string STR_DISABLE_CONTROLLER - global stringtable not found
Cannot register string STR_CUSTOMIZE_CONTROLLER_TITLE - global stringtable not f ound
Cannot register string STR_INPUT_DEVICE_STICK_AXIS_X - global stringtable not fo und
Cannot register string STR_INPUT_DEVICE_STICK_AXIS_Y - global stringtable not fo und
Cannot register string STR_INPUT_DEVICE_STICK_AXIS_Z - global stringtable not fo und
Cannot register string STR_INPUT_DEVICE_STICK_ROT_X - global stringtable not fou nd
Cannot register string STR_INPUT_DEVICE_STICK_ROT_Y - global stringtable not fou nd
Cannot register string STR_INPUT_DEVICE_STICK_ROT_Z - global stringtable not fou nd
Cannot register string STR_INPUT_DEVICE_STICK_SLIDER_1 - global stringtable not found
Cannot register string STR_INPUT_DEVICE_STICK_SLIDER_2 - global stringtable not found
Cannot register string STR_ACTION_SURRENDER - global stringtable not found
Cannot register string STR_ACTION_GET_OVER - global stringtable not found
Cannot register string STR_ADDON_ACTIONS_INSTALL_CORE - global stringtable not f ound
Cannot register string STR_ADDON_ACTIONS_INSTALL_MOD - global stringtable not fo und
Cannot register string STR_ADDON_ACTIONS_PLAY_MISSION - global stringtable not f ound
Cannot register string STR_ADDON_ACTIONS_TRY_ENTITY - global stringtable not fou nd
Cannot register string STR_ADDON_ACTIONS_TRY_WEAPON - global stringtable not fou nd
Cannot register string STR_MSG_ADDON_NOT_FOUND - global stringtable not found
Cannot register string STR_MSG_ADDON_CANNOT_OPEN - global stringtable not found
Cannot register string STR_MSG_ADDON_UNKNOWN_PRODUCT - global stringtable not fo und
Cannot register string STR_INCOMPATIBLE_LOAD_GAME_ATTEMPT - global stringtable n ot found
Warning Message: No entry '.CfgWorlds'.
Warning Message: No entry '.groupNameFormat'.
Warning Message: '/' is not a value
Warning Message: No entry '.CfgInGameUI'.
Warning Message: No entry '.MPTable'.
Warning Message: No entry '.color'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array
Warning Message: No entry '.colorSelected'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array
Warning Message: No entry '.colorTitleBg'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array
Warning Message: No entry '.colorWest'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array
Warning Message: No entry '.colorEast'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array
Warning Message: No entry '.colorCiv'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array
Warning Message: No entry '.colorRes'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array
Warning Message: No entry '.shadow'.
Warning Message: '/' is not a value
Warning Message: No entry '.CfgWorlds'.
Warning Message: No entry '.initWorld'.
Warning Message: '/' is not a value
Warning Message: No entry '.scriptsPath'.
Warning Message: '/' is not a value
Warning Message: No entry '.CfgVoiceTypes'.
Warning Message: No entry '.CfgVoiceMask'.
Warning Message: No entry '.UserActionsConflictGroups'.
Warning Message: No entry '.UserActionGroups'.
Warning Message: No entry '.CfgDifficulties'.
Warning Message: No entry '.default'.
Warning Message: '/' is not a value
Warning Message: No entry '.CfgAISkill'.
Warning Message: No entry '.AimingSpeed'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.AimingAccuracy'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.AimingShake'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.Endurance'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.SpotDistance'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.SpotTime'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.Courage'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.ReloadSpeed'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.Commanding'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.General'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.CfgExperience'.
Warning Message: No entry '.ranks'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.destroyUnit'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.destroyEnemy'.
Warning Message: '/' is not a value
Warning Message: No entry '.destroyFriendly'.
Warning Message: '/' is not a value
Warning Message: No entry '.destroyCivilian'.
Warning Message: '/' is not a value
Warning Message: No entry '.destroyStatic'.
Warning Message: '/' is not a value
Warning Message: No entry '.renegadeLimit'.
Warning Message: '/' is not a value
Warning Message: No entry '.playerKilled'.
Warning Message: '/' is not a value
Warning Message: No entry '.commandCompleted'.
Warning Message: '/' is not a value
Warning Message: No entry '.commandFailed'.
Warning Message: '/' is not a value
Warning Message: No entry '.followMe'.
Warning Message: '/' is not a value
Warning Message: No entry '.destroyYourUnit'.
Warning Message: '/' is not a value
Warning Message: No entry '.missionCompleted'.
Warning Message: '/' is not a value
Warning Message: No entry '.missionFailed'.
Warning Message: '/' is not a value
Warning Message: No entry '.CfgInGameUI'.
Warning Message: No entry '.DebugFont'.
Warning Message: No entry '.font'.
Warning Message: '/' is not a value
Warning Message: No entry '.CfgFonts'.
Warning Message: No entry '.CfgFontFamilies'.
Warning Message: No entry '.'.
Warning Message: No entry '.fonts'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.size'.
Warning Message: '/' is not a value
Warning Message: No entry '.CfgWhistleSound'.
Warning Message: No entry '.sound'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.downTime'.
Warning Message: '/' is not a value
Warning Message: No entry '.silentTime'.
Warning Message: '/' is not a value
Warning Message: No entry '.upTime'.
Warning Message: '/' is not a value
String id -1 is not registered
20:10:38
Warning Message: No entry '.CfgDefaultSettings'.
Warning Message: No entry '.defaultVisibility'.
Warning Message: '/' is not a value
Warning Message: No entry '.CfgDefaultSettings'.
Warning Message: No entry '.defaultTerrainGrid'.
Warning Message: '/' is not a value
Warning Message: No entry '.RadioChannels'.
Warning Message: No entry '.GlobalChannel'.
Warning Message: No entry '.level'.
Warning Message: '/' is not a value
Warning Message: No entry '.noise'.
Warning Message: '/' is not a value
Warning Message: No entry '.micOuts'.
Warning Message: '/' is not a value
Warning Message: No entry '.pauseAfterWord'.
Warning Message: '/' is not a value
Warning Message: No entry '.pauseInNumber'.
Warning Message: '/' is not a value
Warning Message: No entry '.pauseAfterNumber'.
Warning Message: '/' is not a value
Warning Message: No entry '.pauseInUnitList'.
Warning Message: '/' is not a value
Warning Message: No entry '.pauseAfterUnitList'.
Warning Message: '/' is not a value
Warning Message: No entry '.CfgVoice'.
Setting up a Linux server
in ARMA 2 & OA - Servers & Administration
Posted · Edited by Wobbley
Thanks for that one Defunkt :)
I got the server file to run but getting the same error as before now where I am missing tons of files. I am going to play around with it a bit and see how the hierarchy has to be. I don't understand why i am having such a hard figuring this out as this is not the first server I set up, granted it is the first Arma server. I decided to drop trying to get OA running, and just see if i can get the base Arma II going.
EDIT: Well I got the Arma II server going on the first go without issues >.> Let's see if I can get OA going