PDA

View Full Version : [tutorial] Tutorial: How to run ArmA3 on a dedicated server



Pages : [1] 2

Terox
Mar 5 2013, 22:03
CONTENTS

Setting up your server


What you need
how you do it


Links


Information
useful Tools
Useful Addons


Selecting between Stable & Dev Builds, full or Dedi package installs
Server Admin Commands
Running Dedicated Server and client on same machine
Running multiple servers on one machine
Location of files
Re-locating MpMissions
Bandwidth Optimisation
Port Forwarding
Trouble Shooting & Help


Best way to use this thread
Live chat help
What cannot be done
Known Issues


Example files


CONFIG_Vanilla.cfg
Arma3.cfg
.Arma3Profile


Advanced configuration


-profiles
AutoServer_Restart.bat File
Firedeamon


Changelog


This tutorial was originally intended for setting up a server using the client arma3.exe and -server command line paramneter.
Since then, the ArmA3server.exe has been released, the tutorial has now been reworked to reflect that and only appertains to the useage of the ArmA3server.exe
The tutorial is intended for the lowest level of knowledge and skill, I make no apologies to those who think it is patronising. if you do, why are you reading a tutorial :j:

Updated Saturday 12th April 2014 up too and including the following post
:icon_arrow: Updated to this point (http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-on-a-dedicated-server&p=2665563&viewfull=1#post2665563)




SETTING UP YOUR SERVER

What you need

1 Standalone Windows server (2008 or later) (Sound and GPU not required)
1 Steam Account
Ownership of ArmA3
According to this THIS POST (http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-server-on-a-dedicated-server&p=2403284&viewfull=1#post2403284) you can run the ArmA3server on Win2003 now


This is how you do it.

Take note.
There are additions within these instructions that you may not need, if you only intend running 1 instance of an Arma3 server on your machine
However, adding these superfluous commands and content will not be detrimental to single instance servers
Directory paths are all customisable but for the sake of this tutorial, all file examples and command lines used will be consistent with the tutorial instructions


Login as Administrator: (You will need to run Arma3server.exe as "Administrator" or "System". Battleye requires it.)
Install the latest version of DirectX
Create the following empty directories

D:\Apps\Steam
D:\Games\ArmA3\A3Master
D:\Games\ArmA3\A3Files


Download steamcmd.exe (http://media.steampowered.com/client/steamcmd_win32.zip) and save it to your targetted Steam install directory (E.g D:\Apps\Steam)
Run the steamcmd.exe. (This will download and install the required steam files to your custom steam directory)
Create an ArmA3_Steam_updater.cmd file, (Example shown below) and save it to D:\Games\ArmA3\A3Files
Run the ArmA3_Steam_updater.cmd file
Just after logging into Steam, the console window will hang and ask for a validation key
Steam will have automatically sent you an email with this validation code, which you then need to input at the command prompt
The Update console window should then continue to run and install ArmA3 ((DEV or STABLE) version to the target directory as defined in the .cmd file) eg (D:\Games\ArmA3\A3Master)
Create a shortcut for the ArmA3Server.exe on the server desktop
Add the following parameters to the Target Line in the shortcut tab of the newly created desktop shortcut

-port=2302 (Required if running multiple server instances)
"-profiles=d:\Games\Arma3\A3Master"
-config=CONFIG_Vanilla.cfg
-world=empty
so it looks something similar to the following
"D:\Games\Arma3\A3Master\arma3server.exe" "-profiles=d:\Games\Arma3\A3Master" -port=2302 -config=CONFIG_Vanilla.cfg -world=empty


Add firewall rules for the UDP ports (See below for -Port information)
Create a simple Notepad document called "CONFIG_vanilla.cfg" and save it to the root folder of your ArmA3 install on the server D:\Games\ArmA3\A3Master (See below for ".cfg" content)
Then start up your shortcut, check the server runs. (You will see a console pop up in your desktop after a few seconds)
Close the console window down, then you will need to edit the following files which will have been created

D:\Games\Arma3\A3Master\Users\Adminstrator\Administrator.Arma3Profile
D:\Games\Arma3\A3Master\Users\Administrator\Arma3.cfg
(See below for example files)


Restart the server
Start up your client Arma3 (Running the same branch as the server, (eg Stable or DEV) and you should then be able to see your server in the server browser (Filters are available to reduce the server list)
Login to your server using the password you defined in CONFIG_Vanilla.cfg by typing "/" to open the chat window and then type (#login ADMINPASSWORD followed by enter
Once logged in you will be presented with a mission list, select one of the missions to start the game
Prove the stability of your server by running BIS missions initially before you start adding user made content




SUPPORTING INFORMATION

USEFUL LINKS

INFORMATION

SteamCmd Tutorial (https://developer.valvesoftware.com/wiki/SteamCMD)
Dedicated Server status & Changelog (http://forums.bistudio.com/showthread.php?148288-Dedicated-server-status)
kellys-heroes Dedicated Server Guide (http://www.kellys-heroes.eu/files/tutorials/dedicated/arma3dedicated.php#one)
In Game Server commands (http://community.bistudio.com/wiki/In_Game_Server_Commands)
In Game Admin commands (http://community.bistudio.com/wiki/Multiplayer_Server_Commands)
ArmA2 Dedicated server (http://community.bistudio.com/wiki/Arma_2:_Dedicated_Server)
Commandline Parameters (http://community.bistudio.com/wiki/Arma2:_Startup_Parameters)
Basic.cfg (http://community.bistudio.com/wiki/basic.cfg)
Difficulty settings (http://community.bistudio.com/wiki/server.armaprofile)
Server Configuration (http://community.bistudio.com/wiki/ArmA:_Server_configuration)
simlink GUI: (https://code.google.com/p/symlinker/)

USEFUL TOOLS


Arma-Server-Monitor (http://forums.bistudio.com/showthread.php?155881-Arma-Server-Monitor-(very-small-but-useful))
Firedeamon (http://www.firedaemon.com/)
Arma 3 Restarter.exe server monitor (http://www.armaholic.com/page.php?id=19125)
:icon_arrow: ***ArmA3 server using TA2DST Method (http://www.youtube.com/watch?v=37ifEKAZqlM&feature)
A U-tube video tutorial by Kirkwood364 which uses Tophe's Arma 2 Dedicated Server Tool to administer and run an A3 server
(Links for all the files required are available in the 1st comment of his Utube video)

USEFUL ADDONS
Zeu_ServerSkill
DETAILED INFORMATION (http://forums.bistudio.com/showthread.php?152393-zeu_ServerSkill-(Serverside-AI-skill-setting-addon-with-userconfig-configuration))
This addon, installed serverside only, allows redefining skill setting on both the server (and remotely to the clients). This fixes the issue of not being able to reset Skill and precision settings and makes the AI less lethal

Zeu_ServerBriefing
DETAILED INFORMATION (http://forums.bistudio.com/showthread.php?149882-zeu_A3ServerBriefing-(-A-Serverside-addon))
This addon, installed serverside only, injects an additional section to the clients briefing. You can edit the userconfig file to state exactly what information you want in this section.
Typical useage

Your teamspeak details
Your web address
Server rules


TICKETS RAISED that need your Vote_
0009221 (http://feedback.arma3.com/view.php?id=9221)
0009383 (http://feedback.arma3.com/view.php?id=9383)
0009381 (http://feedback.arma3.com/view.php?id=9381)
0009111 (http://feedback.arma3.com/view.php?id=9111)
0009106 (http://feedback.arma3.com/view.php?id=9106)




SELECTING DEVELOPMENT OR STABLE BUILD

Edit the ArmA3_Steam_Updater.cmd and run it

To select Development version

SET A3BRANCH=107410 -beta development

To roll back to stable build

SET A3BRANCH=107410

To use the Dedicated server package (Stable branch only)
This has a smaller diskspace footprint than the full client installs

SET A3BRANCH=233780 -beta
In your root install, make sure your steamappid.txt file entry is 107410 (Do not use 233780)

Important Feature
since 12th March 2013
the development branch and the stable branch versions are no longer compatible. this means:

Only DEV clients can connect to a DEV server
Only Stable clients can connect to stable servers

Important Feature
since ? 2014
A dedicated server package is now available which has a smaller disk space footprint than the full client install
Most if not all client only required files have been removed. Graphics, sounds etc
This package is only available on the stable branch.
Use SET A3BRANCH=233780 -beta
Leave the steamappid.txt file entry as 107410


SERVER ADMIN COMMANDS

(Known to work, (highlighted in Green))
Not working: (Highlighted in red)
Untested (Highlighted in black)

reference: In Game Admin commands (http://community.bistudio.com/wiki/Multiplayer_Server_Commands)

SERVER MANAGEMENT


#login < password > : Admin login
#logout : Admin logout
#lock : Lock server (Auto unlocks at end of mission)
#unlock : Unlocks server
#missions : Stops mission, reloads mission list
#reassign : Moves all players from their unit selection slots back into the lobby
#restart : returns the mission to the unit selection screen, with all players in their slots ansd restarts the mission
#shutdown: shuts the server down
#Init : Reloads file defined by -config command line parameter


PLAYER MANAGEMENT

#userlist : Displays the list of users on the server (use pgup to scroll up)
#kick < Server Player ID > (First entry for a player using #userlist)
#kick < nickName > (Second entry for a player using #userlist
#kick < Player UID > (Third entry for a player using #userlist)

#exec kick < Server Player ID > (First entry for a player using #userlist)
#exec kick < nickName > (Second entry for a player using #userlist
#exec kick < Player UID > (Third entry for a player using #userlist)

#exec ban < Server Player ID > (First entry for a player using #userlist)
#exec ban < nickName > (Second entry for a player using #userlist
#exec ban < Player UID > (Third entry for a player using #userlist)


DEBUGGING

#monitor 10 : Activates the server monitor which reports Bandwidth and memory useage Every * seconds via chat window)
#monitor 0 : Deactivates the server monitor
#debug off : Deactivates debugging
#debug 30 : Debug reporting interval (Default is 10 seconds
#debug von
#debug console
#debug checkFile expansion\Dta\ui.pbo
#debug userSent <username>
#debug userInfo <username>
#debug userQueue <username>
#debug JIPQueue <username>
#debug totalSent 10




RUNNING DEDICATED SERVER & CLIENT ON SAME MACHINE

Only known issue, is to make sure you start the server up before you start the steam client
Failing to do this causes steam port issues and your client wopnt be able to connect to the server



RUNNING MULTIPLE SERVERS ON SAME MACHINE

This is possible and there are a few methods to accomplish this.
Each server instance requires

Its own unique set of ports
Its own profile
Its own config


This POST (http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-server-on-a-dedicated-server&p=2402555&viewfull=1#post2402555) explains it more in depth

In addition each method has some pro's and cons
To select the preferred methodology that suits your requirements you need to have considered the following

The useage of the "Keys" folder
The useage of the "MpMissions" folder
Available Hard drive space
Update management


METHOD 1

see THIS POST (http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-server-on-a-dedicated-server&p=2401936&viewfull=1#post2401936) for more detailed information

This is copy of the master install into a different directory
As may times as you have space for
Pros

Most robust
Unique MpMissions folder
Unique "keys" folder
Allows ability to run seperate instances of different branches of the game, (E.g Dev or Stable)

Cons

Uses more drive space
requires more effort to create and automate the updating process


METHOD 2

This uses 1 master install folder and has renamed arma3server.exe's in sub folders of the master
see THIS POST (http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-server-on-a-dedicated-server&p=2401951&viewfull=1#post2401951) for more detailed information

Pros Comparison to Method 1

Uses less space than Method 1
Updating will be easier

Cons Comparison to Method 1

Not very Robust
Shares MpMissions folders with all the other exe's (Will create a very cluttered MpMissions folder and allows admins to select addon required missions for a mod this server instance isn't running
Shares "keys" folder with all other exe's (This can cause an issue when running various differing -mod servers)
Will not allow you to run seperate instances of different branches of the game


METHOD 3

This is a hybrid of method 1, in that it is essentially a "Virtual" copy of the master install in a different directory
the difference being that many folders are sim linked (http://en.wikipedia.org/wiki/Symbolic_link) to the initial Master directory
simlink GUI: (https://code.google.com/p/symlinker/)

Pros Comparison to Method 1

Uses less drive space (As you wont have multiple copies of the addons folder)
Allows for unique MpMissions folder if desired
Allows for unique "keys" folder if desired
Updating will be easier

Cons Comparison to Method 1

Requires more effort to initially create the simlinks and directories
Will not allow you to run seperate instances of different branches of the game at the same time, (E.g Dev or Stable)


METHOD 4

You could of course mix n match all 3 methods to suit your specific requirements




LOCATION OF FILES (When setting parameters)

Just to clarify here is an example file structure and location of files if you set certain parameters

Command line entry: -profiles

NOTE: If running Firedeamon, the user will be "SYSTEM", for most other scenarios it will be "Administrator"
The below example is for Firedeamon.
Files automatically created during exe.start if they don't already exist are highlighted in Blue

"-profiles=d:\Games\Arma3\A3Master"

d:\Games\Arma3\A3Master\Users\SYSTEM\SYSTEM.Arma3Profile
d:\Games\Arma3\A3Master\Users\SYSTEM\SYSTEM.vars.Arma3Profile
d:\Games\Arma3\A3Master\Users\SYSTEM\Arma3.cfg
d:\Games\Arma3\A3Master\MPMissions\ ? Think this was auto created can't remember
d:\Games\Arma3\A3Master\arma3.rpt

Command line entry: -config

if you then add a -config parameter as in the example below, you will need to manually create the file and edit it accordingly

Using this example will look for the file in the root directory of the virtual server it is for
-config=CONFIG_Vanilla.cfg

You can also use a full path and place it wherever you want
-config=d:\Games\Arma3\A3Master\CONFIG_Vanilla.cfg

In the "CONFIG_Vanilla.cfg, if you add the line
logFile = "A3Master.log";
The logfile will automatically be created as

d:\Games\Arma3\A3Master\A3Master.log

Command line entry: -netlog
This will automatically create the following file
d:\Games\Arma3\A3Master\mpStatistics.log



RE-LOCATING MPmIssions (For example to a dropbox)

To define a different location for your MpMissions, such as a drop box location, carry out the following steps.


Either Move your MpMissions to its new location or just delete it. (Don't leave a copy in the original location)
run cmd tool on your server to create the link, use "" around the directories
example
mklink /J "D:\Games\Arma3\A3Master\mpmissions" "C:\Users\user\Desktop\Dropbox\mpmissions"


Credits to

Banshee (His original post) (http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-server-on-a-dedicated-server&p=2321980&viewfull=1#post2321980)
Kinsman (His original post) (http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-server-on-a-dedicated-server&p=2342338&viewfull=1#post2342338)




BANDWIDTH OPTIMISATION
This is done by defining the values in your users\****\***arma3.cfg file
There is no "How to set up for best performance" tutorial that works well
There is a lot of guessing, theory etc. and a thread that is trying to get to the bottom of it

here are some useful links. The top link is the best to get you up and running
The rest at the moment, is mainly discussion
WIKI: Tweaking Tips (Best guide at the moment) (http://community.bistudio.com/wiki/ArmA:_Tweaking_Tips)
Tutorial Server bandwidth and Optimisation (http://forums.bistudio.com/showthread.php?156684-Tutorial-Server-bandwidth-amp-Optimisation) (Discussion thread, will eventually become a tutorial, i hope
SEPERATE DISCUSSION THREADS

All about MinBandwidth (http://forums.bistudio.com/showthread.php?156687-All-about-MinBandwidth&p=2413476#post2413476)
All about MaxBandwidth (http://forums.bistudio.com/showthread.php?156689-All-about-MaxBandwidth&p=2413478#post2413478)
All about MaxMsgSend (http://forums.bistudio.com/showthread.php?156690-All-about-MaxMsgSend&p=2413486#post2413486)
All about MaxSizeGuaranteed (http://forums.bistudio.com/showthread.php?156691-All-about-MaxSizeGuaranteed&p=2413487#post2413487)
All about MaxSizeNonguaranteed (http://forums.bistudio.com/showthread.php?156692-All-about-MaxSizeNonguaranteed&p=2413489#post2413489)
All about MinErrorToSend (http://forums.bistudio.com/showthread.php?156693-All-about-MinErrorToSend&p=2413492#post2413492)
All about MinErrorToSendNear (http://forums.bistudio.com/showthread.php?156694-All-about-MinErrorToSendNear&p=2413493#post2413493)
All about maxPacketSize (http://forums.bistudio.com/showthread.php?156695-All-about-MaxPacketSize&p=2413498#post2413498)


This is the best basic guideline that will get you up and running



PORT FORWARDING (ArmA3) (Firewalls)

ArmA3 uses the same default ports as ArmA2 with the addition of 2 steam ports. So if you intend running A2 and A3 servers on the same machine, you need to edit the ports used
Default ports are all UDP and as follows

2302 (Arma3 Game port)
2303 (Server reporting for both Gamespy and Steam)
2305 (Von)
8766 (Steam port)
27016 (Steam query port)



To define the ArmA3 Game port used,
state -port= **** in your command line arguments (Where *** is the new initial ArmA3 Game eg 2302)

and to define your Steam ports
add the following lines to your CONFIG_Vanilla.cfg (editing the actual port numbers as required)

// STEAM
steamport=8766;
steamqueryport=27016;

If you are running multiple servers, i would suggest the following format

SERVER 1

2300 UDP (steamport)
2301 UDP (Steam query port)
2302 UDP (used for game)
2303 UDP (used for server reporting)
2304 UDP (? no information available for this port useage)
2305 UDP (used for VoN transmissions)

so open ports 2300-2305
and leave at least 10 ports between the next server set

SERVER 2

2320 UDP (steamport)
2321 UDP (Steam query port)
2322 UDP (used for game)
2323 UDP (used for server reporting)
2324 UDP (? no information available for this port useage)
2325 UDP (used for VoN transmissions)

so open ports 2320-2325
leave at least 10 ports then repeat the process for No3 server etc



Server showing ping of 2500 in server browser


easily solveable, on server firewall set enabled for any ICMP V4 incoming
(or specifically ""Destination Unreachable" , ""Echo request"", ""Time Exceeded"", ""Source Quench"", ""Redirect"")
also make sure you allow NAT traversal for this rule in the firewall



F.A.Q

coming soon



TROUBLE SHOOTING

Steps to take
First element to decide is:
Does the issue show itself from

a) Clientside perspective (i.e a client trying to join the server, or maybe viewing the game browser etc)
b) Serverside perspective (Issues that can only be seen from backend (RDP) access


Now that you have a better understanding of where the issue lies, be confident that this tutorial works, because it does. many admins have used it to set up there servers succesfully. So it is likely you skipped over some steps or didnt read the instructions carefully enough (Like we all do):o
There may of course be errors somewhere. if they are please let me know so I can update this. Others are likely to have also suffered the same fate.


For any initial query Read through this first post (It is updated with posted content as and when required)
If your query is not answered here, then follow the "Updated to this post" link at the top of this post and read on from there
If you still have no answer then post on the thread and we will try and get a solution

You will need to provide us with the following information before we can help, without it we are just guessing
Do Not try to run addons or custom missions until you have proven a Vanilla install
Copy of the RPT file (Ideally on Pastebin)
Copy of the Config_Vanilla.cfg (Ideally on Pastebin)
Command line used
Your issue in detail
Steps you have taken to resolve
Type of setup, eg

O/S,
number of servers running on the same box
How you are connecting to it, eg LAN, remotely via the Internet or if on the same machine




You could also join the Server Admins Skype group channel, where you will get live help

IMPORTANT
To help others please post back any solutions you find. Not all server admins are highly trained IT Technicians (Including me)

LIVE Chat help
For Live help, join the Skype group channel

all server hosters, we have Skype channel for collaborative work of server admins, add me on Skype and demand access, slap me on IRC, try hit me over email or so ... thanks

What cannot be done


ArmA3 -server on Win 2003 0/s Apparently you can now, see THIS POST (http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-server-on-a-dedicated-server&p=2403284&viewfull=1#post2403284)
****.ArmA3profile defining...... difficulty="*****"; or difficultyMP="*****";eg "Veteran" has no effect, all missions will run in regular mode unless manually redefined in mission selection screen



**********************************

Known Issues


Error! app 107410 is 0x1: (This occurs when you have run out of drive space or possibly memory, and is first seen after an steam update of the game)
My server has 2500ms ping in server browser: (This is caused by running the steam client as Non Administrator) see http://feedback.arma3.com/view.php?id=9374

easily solveable, on server firewall set enabled for any ICMP V4 incoming
(or specifically ""Destination Unreachable" , ""Echo request"", ""Time Exceeded"", ""Source Quench"", ""Redirect"")
also make sure you allow NAT traversal for this rule in the firewall
Server keeps crashing (Admins report servers as being stable, so this is likely to be one of the following unless this is a widespread issue caused by a recent patch)

Recently uploaded mission has critical errors (Normally description.ext entry)
Use of 3rd party content, eg user made missions or addons
Server not capable of handling the resources required, badly configured or underpowered


DirectX

Windows Web Server 2008 - Error message: arma3.exe - Entry Point Not Found.The procedure entry point CreateDXGIFactory1 could not be located in the dynamic link library dxgi.dll.
Reporting Post (http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-server-on-a-dedicated-server&p=2326515&viewfull=1#post2326515)
Solution Post (http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-server-on-a-dedicated-server&p=2334434&viewfull=1#post2334434)
Bug Tracker Ticket (http://feedback.arma3.com/view.php?id=579)



Windows 2008 server with this issue, the following may resolve it
Nobody has yet reported being able to run a -server with 2003



This problem has been solved

Our server original operating system: Windows Server 2008 Enterprise (Simplified Chinese) SP1

Run steam and ArmA 3 Alpha occur same error message: ...CreateDXGIFactory1 could not be located in the dynamic link library dxgi.dll...

First, download and install directx_11_redist (http://down10b.zol.com.cn/game_tool/directx_11_redist.zip?key=d1b78ccac1e79d362cd54c8a4ca42e00),the problem persists

Then upgrade Windows Server to SP2, still error... :cryy:

Last, download and install Windows6.0-KB971512-x86 (http://download.microsoft.com/download/B/A/F/BAF2D238-529A-4C54-AD31-BAFFE001F91E/Windows6.0-KB971512-x86.msu),the problem is solved!:yay:

For reference


ArmA2 and ArmA3 servers conflict if they use the same ports. on the same machine.
It can cause one of the servers to use a different port automatically which will not have been defined in your firewall outbound rules and therefore not visible to the outside world
this is easily remedied by stating a different port number in your startup params, eg -port=2312 (Leave at least 10 ports between servers)
So your target line would then look something like

"D:\Games\ArmA3\A3Master\arma3server.exe" -port = 2312 -config=CONFIG_Vanilla.cfg
.

ArmA3server package loading Arma3 client data when both are installed on the same machine
if you run Arma 3 Dedicated server data package on a system where the client is also installed there is a possibility the server will load the full client data instead of the server package, this is caused by precedence check in the registry, the solution/workaroud to this issue is to use a -mod= parameter in the command line even if you aren't using any mods (The -mod= ensures the server loads the game data from the server.exe root folder)
Examples of allowed useage

-mod=
-mod=@<hidden>
-mod=@<hidden>;@<hidden>







EXAMPLE FILES

Arma3_Steam_Updater.cmd


@<hidden> off

SETLOCAL ENABLEDELAYEDEXPANSION

:: DEFINE the following variables where applicable to your install

SET STEAMLOGIN=mylogin mypassword
SET A3BRANCH=233780 -beta
:: For stable use SET A3BRANCH=107410
:: For Dev use SET A3BRANCH=107410 -beta development
:: For Dedi server stable package use SET A3BRANCH=233780 -beta
:: Note, the missing qotation marks, these need to be wrapped around the entire "+app_data......"

SET A3Path=D:\Games\ArmA3\A3Master
SET STEAMPATH=D:\apps\Steam


:: _________________________________________________________

echo.
echo You are about to update ArmA3
echo Dir: %A3Path%
echo Branch: %A3BRANCH%
echo.
echo Key "ENTER" yo procede
pause
%STEAMPATH%\steamcmd.exe +login %STEAMLOGIN% +force_install_dir %A3Path% +"app_update %A3BRANCH%" validate +quit
echo .
echo Your ArmA3 is now up to date
echo key "ENTER" to exit
pause




CONFIG_Vanilla.cfg


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

// STEAM

steamport =2300;
steamqueryport =2301;

// GLOBAL SETTINGS

hostname = "My Server: My Teamspeak address"; // The name of the server that shall be displayed in the public server list
//password = "ServerAccessPassword"; // Password for joining, eg connecting to the server
passwordAdmin = "AdminPassword"; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz'
reportingIP = "arma3pc.master.gamespy.com"; // This is the default setting. Leave empty for private servers if you do not want your server listed publicly
logFile = "A3Master.log";
verifySignatures = 2;

// 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



// Leave commented out for initial run
// incorrect value will cause server to hang
motd[]={
"",
"",
"",
"__________ SYSTEM MESSAGES __________",
"Welcome to My Server",
"IMPORTANT Verify Signatures is enabled",
"",
"TS3 Server: teamspeak.mydomain.com",
"Web: www.mywebsite.com",
"TS3 Server: teamspeak.zeus-community.net",
"__________ END OF MESSAGE __________"
};


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



// JOINING RULES
maxPlayers = 40; // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.
// 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
//voteMissionPlayers = 0;

// INGAME SETTINGS
disableVoN = 0; // If set to 1, Voice over Net will not be available
vonCodecQuality = 8; // Quality from 1 to 10
persistent = 1; // If 1, missions still run on even after the last player disconnected.


/*
// MISSIONS CYCLE (see below)
class Missions
{
class Mission1
{
template="co_xx_mymission.stratis";
difficulty="Regular";
};
};
*/

kickDuplicate = 1;
equalModRequired = 0;
requiredSecureId = 2;
timeStampFormat = "short";

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

// SIGNATURE VERIFICATION
onUnsignedData = "kick (_this select 0)"; // unsigned data detected
onHackedData = "kick (_this select 0)"; //"ban (_this select 0)"; // tampering of the signature detected
onDifferentData = "";



**********************************


****.Arma3Profile

edit to suit


version=2;

viewDistance=3000;
preferredObjectViewDistance=3000;
terrainGrid=12.5;
activeKeys[]=
{
};


class Difficulties
{
class recruit
{
class Flags
{
Armor=1;
FriendlyTag=0;
EnemyTag=0;
MineTag=1;
HUD=1;
HUDPerm=1;
HUDWp=1;
HUDWpPerm=1;
HUDGroupInfo=1;
AutoSpot=1;
Map=1;
WeaponCursor=1;
AutoGuideAT=1;
ClockIndicator=1;
3rdPersonView=1;
UltraAI=0;
CameraShake=0;
UnlimitedSaves=1;
DeathMessages=1;
NetStats=1;
VonID=1;
ExtendetInfoType=1;
};
skillFriendly=0.6;
skillEnemy=0.6;
precisionFriendly=0.28;
precisionEnemy=0.28;
};
class regular
{
class Flags
{
Armor=1;
FriendlyTag=1;
EnemyTag=0;
MineTag=1;
HUD=1;
HUDPerm=1;
HUDWp=1;
HUDWpPerm=1;
HUDGroupInfo=1;
AutoSpot=1;
Map=1;
WeaponCursor=1;
AutoGuideAT=1;
ClockIndicator=1;
3rdPersonView=1;
UltraAI=0;
CameraShake=1;
UnlimitedSaves=1;
DeathMessages=1;
NetStats=1;
VonID=1;
ExtendetInfoType=1;
};
skillFriendly=0.6;
skillEnemy=0.6;
precisionFriendly=0.28;
precisionEnemy=0.28;
};
class veteran
{
class Flags
{
Armor=0;
FriendlyTag=0;
EnemyTag=0;
MineTag=1;
HUD=1;
HUDWp=1;
HUDWpPerm=1;
HUDGroupInfo=1;
AutoSpot=0;
WeaponCursor=0;
ClockIndicator=1;
3rdPersonView=1;
UltraAI=0;
CameraShake=0;
DeathMessages=0;
NetStats=1;
VonID=1;
ExtendetInfoType=0;
};
skillFriendly=0.6;
skillEnemy=0.6;
precisionFriendly=0.28;
precisionEnemy=0.28;
};
class mercenary
{
class Flags
{
HUD=1;
AutoSpot=0;
WeaponCursor=0;
DeathMessages=0;
NetStats=1;
VonID=1;
};
skillFriendly=0.6;
skillEnemy=0.6;
precisionFriendly=0.28;
precisionEnemy=0.28;
};
};

difficulty="veteran";

**********************************

Arma3.cfg



language="English";
adapter=-1;
MinBandwidth=800000;
MaxBandwidth=25000000;
MaxMsgSend=384;
MaxSizeGuaranteed=512;
MaxSizeNonguaranteed=256;
MinErrorToSend=0.003;
MaxCustomFileSize=100000;
Windowed=0;
serverLongitude=0;
serverLatitude=52;
serverLongitudeAuto=0;
serverLatitudeAuto=52;




ADVANCED CONFIGURATION

-Profiles

-Profiles is used to load and save files to a different directory to that of the initial root install
This would be used when you want to run a "copy" of the initial ArmA2 install as it will load configs and Mpmissions in that "Copied" folder
This is used to run multiple instances of A3 servers on the same machine.


Example -profiles command line entry
"-profiles=d:\Games\ArmA3\A3Master"

**********************************
AUTO SERVER RESTART .BAT File


Here`s a nice little batch file that I created to auto-restart server if it has crashed:


::Made by eRazeri
@<hidden> off
:start
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3server.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3server.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
echo Server monitored is not running, will be started now
start "" /wait "D:\Games\Arma3\A3Master\arma3server.exe" -config=CONFIG_Vanillar.cfg "-profiles=G:Games\ArmA3\A3Master" -world=empty
echo Server started succesfully
goto started
:loop
cls
echo Server is already running, running monitoring loop
:started
C:\Windows\System32\timeout /t 10
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3server.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3server.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
C:\Windows\System32\taskkill /im arma3server.exe
goto start

**********************************

Firedeamon

Programs tab

d:\Games\Arma3\A3Master\Arma3server.exe
Working Directory: d:\Games\Arma3\A3Master
Parameters: -port=2302 "-profiles=d:\Games\Arma3\A3Master" -config=Config_Vanilla.cfg -world=empty



Auto Restart Script, although firedeamon will do this for you if configured correctly


Ok I got Firedeamon working where it will automatically restart the server if it closes.
First:
Create a batch file and name it "arma3servercheck.bat" using notepad or notepad+.
Place the following in it:


@<hidden> off
tasklist | findstr /i arma3server.exe
if %errorlevel% neq 0 goto restart
goto end
:restart
start "" "server.bat"
:end
exit


Then create your "server.bat" file using the launch parameters of your choosing.
Example (this is what we are using to run our ARMA 3 Wasteland server):

NOTE: Both of these files MUST be saved in the same location as your ARMA3server.exe, otherwise you need to change the file directory to "arma3server.exe" in each. Also note that if you are using this process you should have exit on the last line of the server.bat otherwise you will come back to a messy server with a lot of cmd windows open (depending on how many times your server shut down).

In FireDeamon create a service with the arma3servercheck.bat file and have it have a start-up time of 60000ms and a pre-launch delay of 60000ms. Also in the "Upon Program Exit:" Have it set to Restart the Program at 60000ms. All of those settings are overkill I am sure, but it makes it were every minute the process runs to see if arma3server.exe is running, and if not starts it up. Hope this helps some people, and if anybody comes up with a better solution please let me know!



CHANGELOG


Version 1.01

Added info about defining a different port if running an A2 and an A3 server on the same machine
Added "Known Issues about Windows 2003 server and Direct X (No solution as yet)
Added links to WIKI for folks who were unable to find the obvious information


Version 1.02

reformatted , reorganised initial post
Added example files
Added firedeamon section
Added Port forwarding section
Added Autorestart section
Added Running Client and Server on same machine section


Version 1.03

Updated "How To" instructions, added initial start up to be in online mode and run as Administrator
Added additional commandline params
Added to troubleshooting: Known issues


Version 1.04

Added "How to run development version
Updated troubleshooting: with fix for DirectX issue
Updated troubleshooting: with "How best to use this thread"


Version 1.05
Date: 17th March 2013

Added Section: "LOCATION OF FILES (When setting parameters)"
Added Section: "RE-LOCATING MPMissions (For example to a dropbox)"
Added "VerifySignatures = 2" into config.cfg (My bad, why I forgot to add this I will never know) IMPORTANT Please add to config


Version 1.06
Date: 23rd March 2013

Added Section: "Server Admin Commands)"


Version 1.07
Date: 26th May 2013

Major rewrite of tutorial modifying for useage of ArmA3server.exe and multiple server instances
Added section for Multi Server set up on the same machine


Version 1.08
Date: 27th May 2013

Syntax error in the ArmA3_Steam_Updater.cmd
changed


SET A3BRANCH="233780 -beta"
:: For stable use SET A3BRANCH="107410"
:: For Dev use SET A3BRANCH="107410 -beta development"
:: For Dedi server stable package use SET A3BRANCH="233780 -beta"


+app_update %A3BRANCH%
to


SET A3BRANCH=233780 -beta
:: For stable use SET A3BRANCH=107410
:: For Dev use SET A3BRANCH=107410 -beta development
:: For Dedi server stable package use SET A3BRANCH=233780 -beta
:: Note, the missing quotation marks, these need to be wrapped around the entire "+app_data......" line

"+app_update %A3BRANCH%"


Version 1.09
Date: 29th May 2013

Win2003 can now be used
Tidy up of initial thread, no consistency in Directory defintitions


Version 1.10
Date: 25th June 2013

Changed filenames ArmA3Alpha...... to ArmA3 to reflect beta release changes
Added Server bandwidth optimisation section ( very good help link)
Added "Running Server and client on same machine"


Version 1.11
Date: 25th August 2013

Added known issues entry to explain the steam error Error! app 107410 is 0x1


Version 1.12
Date: Feb 2014

Added information about the dedicated server package for the stable branch


Version 1.13
Date: 9th April 2014

Added information to the troubleshooting section and the Known issues section
Specifically information about running a client install and a server install on the same machine


Version 1.14
Date: 12th April 2014

Clarified requirement to run ArmA3server.exe as administrator. (This is a requirement of Battleye)

Grillob3
Mar 5 2013, 23:30
Can you run HC too like that? -client

cuel
Mar 5 2013, 23:42
Is dedicated available for linux yet?

adamjm
Mar 6 2013, 00:05
This works well. Just a note for those wondering this does run headless so you won't have an issue if you don't have a monitor and proper gpu in your server.

redshirt_ensign
Mar 6 2013, 01:00
First off, thank you very much for OP!

I have set this up remotely on my server but just wondering about how to do mission selection or difficulty config? I am not at home so cannot connect with client to test/admin it and I can see people just connecting then disconnecting so I guess it is currently without a mission. There is no RPT file I can see either.

Also, is RCON an option? I cannot see any battleye folder.

EDIT: OK it looks like some more savvy users have connected long enough to start a mission and it is now getting more connections. Still wondering about RCON and/or server console logging.

Zeasatice
Mar 6 2013, 01:32
for some reason it is not picking up the config file but its starting it as a server this is my target line (it also did this on arma 2 and i had to use tophes for it to work right)
"C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe" -server -config=A3test.cfg

Gixxer77
Mar 6 2013, 02:16
for some reason it is not picking up the config file but its starting it as a server this is my target line (it also did this on arma 2 and i had to use tophes for it to work right)
"C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe" -server -config=A3test.cfg


That is strange, right now the only things I can think to check would be that your .cfg file has been placed into the root of your
Arma 3 folder and that you didnt accidentally save the file as 'yourarma3config'.cfg.txt

I know it might seem silly but a slip of the mouse has caused me to do this before.

ryanfish
Mar 6 2013, 03:23
Thanks for sharing :)

GossamerSolid
Mar 6 2013, 03:29
Is dedicated available for linux yet?

You're a funny guy.

We don't even really have a dedicated server binary for windows yet, linux is far off methinks.

AussieStig
Mar 6 2013, 03:46
Hey guys, just a quick question. Are you required to create a new steam account, and purchase another copy of the the A3 alpha for your dedicated server? Or can you just use your own steam account on the server?

froggyluv
Mar 6 2013, 04:07
Then set your Steam account on the server to OFFLINE Mode
Then start up your shortcut
Start up your client steam version of A3 and you should then be able to see and join your server and play on it


]

Got it all cept this part. So your saying put Steam in OFFLINE Mode (unsure of how to do this) and then launch server..? Correct? Then place Steam back online and launch Client game? Need a little light shed here please..

P.S: Im assuming I can launch Dedi from same PC I play with like Arma2

Shizweak
Mar 6 2013, 04:12
Got it all cept this part. So your saying put Steam in OFFLINE Mode (unsure of how to do this) and then launch server..? Correct? Then place Steam back online and launch Client game? Need a little light shed here please..

P.S: Im assuming I can launch Dedi from same PC I play with like Arma2

No, this relates to using the same key/steam account to run a server instance (on a separate server) with Steam in Offline mode, while using the same Steam account on your local PC to connect to said server. There is no dedicated server binaries at the moment, so running a local server and client will most likely be impossible at the time being.

Kudos to the OP, set a server up in a few minutes with the provided instructions!

froggyluv
Mar 6 2013, 04:14
Ahh, ok thanks anyways :)

Clawhammer
Mar 6 2013, 06:24
Do i really have to Login with my Steam Account on the Server?

TonyGrunt
Mar 6 2013, 06:35
Do i really have to Login with my Steam Account on the Server?
At the moment the arma3.exe requires a account with ArmA 3 to start, so use your own account in offline mode or buy a second copy.

Patriot123
Mar 6 2013, 06:37
Server arma 3 need DX11??? Why? O_O

Kinsman
Mar 6 2013, 06:44
its because this is NOT a server, its a dodgy workaround to trick your own client/account into running as a Server. So no doubt the Steam Pre-Requisite checks are still being applied.

There is no Server Binary yet, and with any luck they will just use the Steam CMD tool to deliver the server when its ready. This will negate the need to run Steam on the remote server at all.

ParadoxParadoxon
Mar 6 2013, 06:53
I have a Problem to Run a second or more Servers... Steam starts only one.... :/
Anyone can help me?

TonyGrunt
Mar 6 2013, 07:10
If you mean starting a 2nd server under the same pc, steam seems to block a second (or more) instance of arma3.exe running under a account.
I think there is no workaround to running 2 or more servers on single pc without using virtual servers. Maybe something could be done with running another steam instance in another windows account.

CHB68
Mar 6 2013, 07:46
Works fine Terox! Thank you very much Sir ! :)

Inch
Mar 6 2013, 08:25
To those whom are complaining about DirectX, Steam/ARMA 3 upon install, installs DirectX Redist in the game directory. You can load this upon start up with the following switch -mod=DirectX
Also, to the owner of this thread, Steam Offline mode only works 100% when you SAVE your login details.

Hope this helps.
Thanks.

BigRed
Mar 6 2013, 08:52
I know it's super old but we are running Windows Server 2003 and even after updating and using -mod=DirectX I still get this:
http://www.dragon-knights.info/images/misc/Untitled.jpg

Thanks in advance for any help

Inch
Mar 6 2013, 08:56
I know it's super old but we are running Windows Server 2003 and even after updating and using -mod=DirectX I still get this:
http://www.dragon-knights.info/images/misc/Untitled.jpg

Thanks in advance for any help

Try installing this.
http://www.microsoft.com/en-gb/download/details.aspx?id=8109

But to be blunt Windows Server 2003 is a tad pre-dated.

[GNC]Lord_MDB
Mar 6 2013, 15:27
we also have a Windows 2003 Server RC2.
Have done everything as it says in the first post
But the exe will not start. Does the game necessarily directix 11 for Arma 3?

Zrix
Mar 6 2013, 17:21
hm, I can't find where to actually log in with the admin password, can't see the normal buttons.

halp?

Pescadorrr
Mar 6 2013, 17:49
Try installing this.
http://www.microsoft.com/en-gb/download/details.aspx?id=8109

But to be blunt Windows Server 2003 is a tad pre-dated.


I've tried to do this and it does not work ... Any idea?

JayAre
Mar 6 2013, 18:15
I have windows server 2003 as well, when I click the icon the process shows up in task manager for a fraction of a second then closes. But on my local machine(win7) I got it to work fine, so I think I am missing some kind of dependency but it's not telling me. Any ideas?

DTKSense
Mar 6 2013, 18:23
Arma 3 Alpha Installationsanleitung Für Windows Server [Deutsch/HD]


http://www.youtube.com/watch?v=7zhvr9r4DyU

hellstorm77
Mar 6 2013, 18:44
i have a silly question how do you login as admin

[GNC]Lord_MDB
Mar 6 2013, 20:09
So when I go to the Windows event log missing DX11 (d3d11.dll). Does one need so at least Win2008?
as the operating system or can manage it somehow?

chrizzo
Mar 6 2013, 21:32
how can i login as admin to my own server?

Terox
Mar 6 2013, 21:49
how can i login as admin to my own server?
Updated the initial thread with an answer to this.

basically you simply add "#login SERVERADMINPASSWORD" in any of the chats, global, side, group, command, vehicle etc



The initial post has been updated to answer all the questions that to this point have been raised and also added the advice given by some posters to keep all the information available condensed into the first post
Changelog @<hidden> version 1.1


Some questions some of you may already know

Has anybody managed to get a working solution for a firedeamon service?
I have managed to get A3 to start up via a FD service but it starts up the console and wont let me shut the console down via FD

Has anybody managed to use the -profile switch and while doing so managed to load missions in the MPmissions folder in the folder that the -profile points too ?

jerryhopper
Mar 6 2013, 22:36
At the moment the arma3.exe requires a account with ArmA 3 to start, so use your own account in offline mode or buy a second copy.
how about copying & rename the exe, and start that one too?

rundll.exe
Mar 6 2013, 22:42
Somehow my -server dies right after starting, while the game runs fine from steam
I see the server console window very briefly, and it then dies. The .rpt only put this:

Is this different from any of you, just after starting the server?


=====================================================================
== C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe
== "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe" -server -config=A3TestServer.cfg

Exe timestamp: 2013/03/05 23:35:37
Current time: 2013/03/07 00:23:21

Type: Public Alpha
Branch: Stable
Version: 0.5.102571
=====================================================================

Item STR_DISP_OPT_DISABLED listed twice
Item STR_WORD_DIST100 listed twice
Item STR_WORD_DIST1000 listed twice
Item STR_WORD_DIST200 listed twice
Item STR_WORD_DIST500 listed twice
Item STR_WORD_DIST2000 listed twice
Item str_disp_hintc_continue listed twice
Updating base class Default->GdtAsphalt, by a3\map_data\config.bin/CfgSurfaces/carpet/
Updating base class Default->GdtStratisDirt, by a3\map_data\config.bin/CfgSurfaces/mud/
Updating base class RscControlsGroup->RscControlsGroupNoScrollbars, by a3\ui_f\config.bin/RscDisplayMain/controls/ModIcons/
Updating base class RscPicture->RscPictureKeepAspect, by a3\ui_f\config.bin/RscDisplayMain/IconPicture/
Updating base class RscListBox->RscCombo, by a3\ui_f\config.bin/RscDisplayCustomizeController/Steepness/
PhysX3 SDK Init started ...
... PhysX3 SDK Init ended
String STR_DN_STONE not found
String STR_DN_STONE not found

If I put a console logging file I see that it puts "Host Identity created", and then nothing more. Any ideas?

[GNC]Lord_MDB
Mar 6 2013, 22:58
The arma.exe seems to absolutely need DX11.
Even the re-install directx does nothing.
I really hope that the dedi server.exe not require DX11

redshirt_ensign
Mar 6 2013, 23:20
Has anyone else noticed an alarmingly high amount of data usage on their a3 servers?

Mine (when only running 10 players) seemed to be pushing out 4-5x more MB of traffic than my a2oa wasteland server (with 40-60 players) :eek:
Rough estimate I think I was seeing in the region of 2GB an hour.

Also, I am obviously missing something (probably because I normally run linux dedi) but where is the RPT file getting created?? I don't seem to get one :confused:

Terox
Mar 7 2013, 00:15
Also, I am obviously missing something (probably because I normally run linux dedi) but where is the RPT file getting created?? I don't seem to get one :confused:


Ref the .rpt.

I am using a -profile switch at the moment. My .RPT is being created in the folder it points too

MasterofNothing
Mar 7 2013, 00:54
Hey guys, just a quick question. Are you required to create a new steam account, and purchase another copy of the the A3 alpha for your dedicated server? Or can you just use your own steam account on the server?

I'd like to know this as well. I can't run the game and the server at the same time, for obvious reasons (same .exe).

indepth
Mar 7 2013, 00:55
I guys...

My server is running following the exact instruction listed here, but im unable to get it listed in the server list.
Do you need to use reportingip="something.gamespy"; ?

When i start the server without any config file, only the -server argument. I see it in the server list.

tnx
Hugo

Bravo17
Mar 7 2013, 02:11
Has anybody managed to get a working solution for a firedeamon service?
I have managed to get A3 to start up via a FD service but it starts up the console and wont let me shut the console down via FD


Having a similar problem to this with TCAdmin - Server starts, TCA doesn't see it so tries to start another copy, Steam throws up an error window that it can't run two copies, TCA still can't see it, so tries to start another copy, steam throws up another window etc etc.

TCA also won't shut down the server since it never gets the process id which stays as 0

almaxkiller
Mar 7 2013, 03:52
Having a similar problem to this with TCAdmin - Server starts, TCA doesn't see it so tries to start another copy, Steam throws up an error window that it can't run two copies, TCA still can't see it, so tries to start another copy, steam throws up another window etc etc.

TCA also won't shut down the server since it never gets the process id which stays as 0

That is the same issue I have when I try to use FD and a batch file. If anybody comes up with a solution I/we would love to see it!

dcthehole
Mar 7 2013, 03:55
Anyone else missing alot of DLL's when trying to run the server on Windows 2008 R2?

Grillob3
Mar 7 2013, 04:53
Hey guys, just a quick question. Are you required to create a new steam account, and purchase another copy of the the A3 alpha for your dedicated server? Or can you just use your own steam account on the server?

Nope, just go offline on steam

spacenavy90
Mar 7 2013, 06:05
This is probably a very obvious question but I'd like to hear what people have to say.

What are the pros/cons to hosting from a dedicated server rather than just hosting it from your client?

iOGC_Aenigma
Mar 7 2013, 06:19
Most people's dedicated servers have a very good connection to the Internet which obviously helps reduce lag. Having a server process running on its own helps performance over hosting a session and playing in the same client. A dedicated server can be left running indefinitely too.

Sent from my HTC One X using Tapatalk 2

Grillob3
Mar 7 2013, 08:06
Just set up and played with dedicated server+Headless client+my game on the same machine! with steam off line! Performance was very good but needs more test and a better mission. But my 6 cpu cores were working for 40-90%. I used TDLN_co80_stratis_slaughter mission. All working good like i was doing on arma 2 and mso missions!

Lordprimate
Mar 7 2013, 08:41
hmm ... I have steam in offline mode.. all the correct data in my .cmd to launch the server.

I still cannot launch both server and client in offline mode..

Burgerlolz
Mar 7 2013, 08:41
Anyone else missing alot of DLL's when trying to run the server on Windows 2008 R2?

Negative, the ping shows up as 2500 on my side, any idea how to solve this ?

.kju [PvPscene]
Mar 7 2013, 09:02
Please add to the first post:
http://community.bistudio.com/wiki/ArmA:_Dedicated_Server
http://community.bistudio.com/wiki/ArmA:_Server_configuration

antonyraven
Mar 7 2013, 09:18
i finaly have arma 3 jippie

Terox
Mar 7 2013, 11:54
Hey guys, just a quick question. Are you required to create a new steam account, and purchase another copy of the the A3 alpha for your dedicated server? Or can you just use your own steam account on the server?

The first post states that you only need 1 copy of ArmA3
The installed steam account on the server is run in offline mode
Your client on your PC is run in Online Mode

I will try and keep the first post updated with the queries and advice offered in this thread so it is all condensed into one post


Those of you that are having problems seeing your server in the game browser but are seeing the console on your remote desktops check your Firewall settings. UDP ports need to be opened

Firewall issues

By default the Armed Assault server is reporting to Gamespy and it also uses the Gamespy server to negotiate a NAT traversal. If this does not work reliably for you (e.g. when running behind very strict firewall), you may need to open and/or forward following incoming ports:
port UDP (used for game)
port+1 UDP (used for server reporting)
port+3 UDP (used for VoN transmissions)
Following outgoing ports need to be open as well:
port UDP (used for game)
port+3 UDP (used for VoN transmissions)
Default value of port is 2302, but you may change it by -port command line argument.




Those of you that haven't set your bandwidth up or have no goal post values to work with.

My server uses a Xeon X5570 on a 100mb line
It can run 3 arma2 servers all at the same time with anything up to around 60 players spread across the 3 servers
So the following values should be good for a 60 player A3 server albeit in its Alpha stage at the moment and therefore poorly optimised
These values need to be added to your "Arma3Alpha.cfg" Check your user/documents folder to find the file
The server seems to be running fairly stable and I am currently happy with my values

These may not be ideal for your server, check the following link for more information

http://community.bistudio.com/wiki/basic.cfg




MinBandwidth=800000;
MaxBandwidth=25000000;
MaxMsgSend=384;
MaxSizeGuaranteed=512;
MaxSizeNonguaranteed=256;
MinErrorToSend=0.003; // the bigger the number the more the warping effect you will see

Polaris
Mar 7 2013, 11:57
I've also noticed that regardless of where you copy/paste the installation it will still run the .exe and server cfg from the Steam installation directory.

eRazeri
Mar 7 2013, 14:22
Here`s a nice little batch file that I created to auto-restart server if it has crashed:


::Made by eRazeri
@<hidden> off
:start
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
echo Server monitored is not running, will be started now
start "" /wait "C:\Steam\SteamApps\common\Arma 3\arma3.exe" -server -nosound -nosplash -nopause -config=C:\server.cfg -cpuCount=4 -maxMem=8192 -exThreads=7
echo Server started succesfully
goto started
:loop
cls
echo Server is already running, running monitoring loop
:started
C:\Windows\System32\timeout /t 10
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
goto start

almaxkiller
Mar 7 2013, 14:26
Ok I got Firedeamon working where it will automatically restart the server if it closes.

First:
Create a batch file and name it "arma3servercheck.bat" using notepad or notepad+.
Place the following in it:

@<hidden> off
tasklist | findstr /i arma3.exe
if %errorlevel% neq 0 goto restart
goto end
:restart
start "" "server.bat"
:end
exit

Then create your "server.bat" file using the launch parameters of your choosing.
Example (this is what we are using to run our ARMA 3 Wasteland server):

"arma3.exe" -server -ip=199.19.105.215 -port=2398 "-config=wasteland\server.cfg" "-profiles=wasteland" "-name=wasteland" "-cfg=wasteland\basic.cfg" -noPause -noSound -cpuCount=2 -exThreads=1 -maxMem=2048
exit



NOTE: Both of these files MUST be saved in the same location as your ARMA3.exe, otherwise you need to change the file directory to "arma3.exe" in each. Also note that if you are using this process you should have exit on the last line of the server.bat otherwise you will come back to a messy server with a lot of cmd windows open (depending on how many times your server shut down).

In FireDeamon create a service with the arma3servercheck.bat file and have it have a start-up time of 60000ms and a pre-launch delay of 60000ms. Also in the "Upon Program Exit:" Have it set to Restart the Program at 60000ms. All of those settings are overkill I am sure, but it makes it were every minute the process runs to see if arma3.exe is running, and if not starts it up. Hope this helps some people, and if anybody comes up with a better solution please let me know!

wingsgb
Mar 7 2013, 15:04
Here`s a nice little batch file that I created to auto-restart server if it has crashed:


::Made by eRazeri
@<hidden> off
:start
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
echo Server monitored is not running, will be started now
start "" /wait "C:\Steam\SteamApps\common\Arma 3\arma3.exe" -server -nosound -nosplash -nopause -config=C:\server.cfg -cpuCount=4 -maxMem=8192 -exThreads=7
echo Server started succesfully
goto started
:loop
cls
echo Server is already running, running monitoring loop
:started
C:\Windows\System32\timeout /t 10
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
goto start

were do you place this code?

eRazeri
Mar 7 2013, 15:13
were do you place this code?

In a batch file named for example "autorestarter.bat".
You can run it anywhere just check that the paths of the exe and config are correct.
Also remember to change parameters accordingly.

wingsgb
Mar 7 2013, 16:13
In a batch file named for example "autorestarter.bat".
You can run it anywhere just check that the paths of the exe and config are correct.
Also remember to change parameters accordingly.


thankyou

jumpartist
Mar 7 2013, 22:44
so what are we putting in for the reporting line? arma2alphapc ? I cant imagine we are reporting arma2oapc

Terox
Mar 7 2013, 23:11
so what are we putting in for the reporting line? arma2alphapc ? I cant imagine we are reporting arma2oapc

I think its using a steam browser and auto reports at the moment, just make sure your UDP ports are open

---------- Post added at 00:11 ---------- Previous post was at 23:59 ----------

[00:09:58] terox__: This is how i currentl;y have my FD service running
Program Field: C:\Program Files (x86)\Steam\SteamApps\common\Arma 3\arma3.exe
Parameters: -server "-profiles=d:\Games\ArmA3\A3_No1" -config=d:\Games\ArmA3\A3_No1\No1_Vanilla.cfg

I have 2 issues
1) Cannot stop the ArmA3 console via stopping the service
2) Wont load the missions in the MPMissions folder in the profile location (Still loads them from the initial Steam Installation location)

Lokyi
Mar 7 2013, 23:12
Here`s a nice little batch file that I created to auto-restart server if it has crashed:


::Made by eRazeri
@<hidden> off
:start
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
echo Server monitored is not running, will be started now
start "" /wait "C:\Steam\SteamApps\common\Arma 3\arma3.exe" -server -nosound -nosplash -nopause -config=C:\server.cfg -cpuCount=4 -maxMem=8192 -exThreads=7
echo Server started succesfully
goto started
:loop
cls
echo Server is already running, running monitoring loop
:started
C:\Windows\System32\timeout /t 10
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
goto start

THIS. Is fscking brilliant dude. Just put it on our server and it works perfectly. 10 out of 10.

adman
Mar 7 2013, 23:34
For those who want to run the workaround dedicated server and client at the same time on the same computer using the same steam account, do the following:

1) Launch your shortcut that starts the dedicated server.
2) Open task manager. (ctrl+alt+del in XP or ctrl+shift+esc in vista/7)
3) Open processes tab, find steam.exe and end process.
4) Launch steam again and then launch Arma 3 (client).

Works for me. I can run the game as normal and have the dedicated server in the background. If your client crashes and you try launch it again, you will get the usual steam error telling you the game is already running. Just repeat steps 2-4. Very handy if you're hosting a server for friends or public on your home computer and suddenly your client crashes. This has already happened to me and is why I went looking for this separate server solution.

Here's my question though. What command do you write in the A3TestServer.cfg (or whatever you name it as), that allows you to set the mission to be played. At the moment it will start the server but will go to the mission select screen. How can I pre-select the mission from the cfg file? I have my own mission I would like to keep as the only mission on my server and repeat it once mission is complete. Thanks.

blinger
Mar 8 2013, 00:36
bottom of server.cfg...

change 404Wasteland_Arma3.Stratis to the mission you want. You can cycle multiple missions however I do not have that code. google is your friend





// MISSIONS CYCLE (see below)
class Missions
{
class Wasteland_Chernarus
{
template="404Wasteland_ArmA3.Stratis";
difficulty="Regular";
};
};

Spunkybd
Mar 8 2013, 01:18
How do you set a server to a specific mission 24/7.

I have no control panel i am hosting this on a S08R2 machine.

Burgerlolz
Mar 8 2013, 02:25
Here`s a nice little batch file that I created to auto-restart server if it has crashed:


::Made by eRazeri
@<hidden> off
:start
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
echo Server monitored is not running, will be started now
start "" /wait "C:\Steam\SteamApps\common\Arma 3\arma3.exe" -server -nosound -nosplash -nopause -config=C:\server.cfg -cpuCount=4 -maxMem=8192 -exThreads=7
echo Server started succesfully
goto started
:loop
cls
echo Server is already running, running monitoring loop
:started
C:\Windows\System32\timeout /t 10
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
goto start

This is very good but is there a line I could add to kill the server once it crash (aka the "Arma3.exe has stopped responding windows") because otherwise it won't reboot.

Found it C:\Windows\System32\taskkill but no idea how to set that up , help would be greatly appreciated.

eRazeri
Mar 8 2013, 05:51
This is very good but is there a line I could add to kill the server once it crash (aka the "Arma3.exe has stopped responding windows") because otherwise it won't reboot.

Found it C:\Windows\System32\taskkill but no idea how to set that up , help would be greatly appreciated.

Easiest would be to disable windows error reporting completely then it won`t hang.

EDIT:

Or you could add

C:\Windows\System32\taskkill /im arma3.exe
before the "goto start" line

Burgerlolz
Mar 8 2013, 07:19
Easiest would be to disable windows error reporting completely then it won`t hang.

EDIT:

Or you could add

C:\Windows\System32\taskkill /im arma3.exe
before the "goto start" line

I haven't found a way to fully disable it on windows server 2008, it basicly just disable the reporting error part, not the actual message telling you to wait or to close UI, added this command line and it does nothing.

domuk
Mar 8 2013, 08:49
I have the same problem, the script is great but when the server crashes you get a box that tells you its crashed and you have to click close for it to kill the application, otherwise the script thinks it still running. I also have windows reporting turned off and I still get this problem.

Daisai
Mar 8 2013, 09:36
You're a funny guy.

We don't even really have a dedicated server binary for windows yet, linux is far off methinks.

Well considering that linux is the most stable OS for servers it would make more sence to first make a dedicated server software for linux and after that make one for windows.
Also linux is free, so you dont have to buy a other copy of windows if you want to set up a server pc for this game.

Which then would result in more people having dedicated servers.

Terox
Mar 8 2013, 10:44
Well considering that linux is the most stable OS for servers it would make more sence to first make a dedicated server software for linux and after that make one for windows.
Also linux is free, so you dont have to buy a other copy of windows if you want to set up a server pc for this game.

Which then would result in more people having dedicated servers.

B.I have a history of releasing Windows server Dedi first, followed sometime later by Linux. Unfortunately for some I don't see them changing their practice. I do believe from a developers point of view, its easier to write the binary for windows first and then convert to Linux, rather than the other way around.
We used to run Linux servers instead, but due to their working practice, we were always weeks, months behind everyone else, so we switched. Also a lot of apps that are created by the community tend to be windows apps, so it makes it easier all around to run a windows server so that these apps can communicate with it

]NTRUDER
Mar 8 2013, 10:51
Ok I got Firedeamon working where it will automatically restart the server if it closes.

First:
Create a batch file and name it "arma3servercheck.bat" using notepad or notepad+.
Place the following in it:


Then create your "server.bat" file using the launch parameters of your choosing.
Example (this is what we are using to run our ARMA 3 Wasteland server):



NOTE: Both of these files MUST be saved in the same location as your ARMA3.exe, otherwise you need to change the file directory to "arma3.exe" in each. Also note that if you are using this process you should have exit on the last line of the server.bat otherwise you will come back to a messy server with a lot of cmd windows open (depending on how many times your server shut down).

In FireDeamon create a service with the arma3servercheck.bat file and have it have a start-up time of 60000ms and a pre-launch delay of 60000ms. Also in the "Upon Program Exit:" Have it set to Restart the Program at 60000ms. All of those settings are overkill I am sure, but it makes it were every minute the process runs to see if arma3.exe is running, and if not starts it up. Hope this helps some people, and if anybody comes up with a better solution please let me know!

Thanks for this mate, seems to work great :)

Cepheus74
Mar 8 2013, 11:42
Hi all,

Some great work being done here. I have hit a little snag. Below you will find the start command and cfg I am using. I can connect fine, but a mission will not start. Thanks in advance for any help.

C:\Program Files (x86)\Steam\SteamApps\common\Arma 3>arma3.exe -server -nosound -nosplash -nopause -config=wasteland\server.cfg -profiles=wasteland -name=wasteland



// GLOBAL SETTINGS
hostname = "VIPER CORPS"; // The name of the server that shall be displayed in the public server list
password = "viper2013"; // Password for joining, eg connecting to the server
passwordAdmin = "<REMOVED>"; // Password to become server admin.


// 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 Viper Corps Private Server",
"",
"viper-corps.org",
"",
""
};
motdInterval = 5; // Time interval (in seconds) between each message

// JOINING RULES

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

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

// MISSIONS CYCLE (see below)
class Missions
{
class Wasteland_Chernarus
{
template="404Wasteland_ArmA3.Stratis";
difficulty="Regular";
};
};

Terox
Mar 8 2013, 11:58
Hi all,

Some great work being done here. I have hit a little snag. Below you will find the start command and cfg I am using. I can connect fine, but a mission will not start. Thanks in advance for any help.


Try removing all the custom made missions first. Then try selecting one of the vanilla missions. if this works, add 1 user made mission at a time until you find the mission that is causing the issue

---------- Post added at 12:58 ---------- Previous post was at 12:53 ----------

Initial Post Updated to this point Changelog v1.02

Can some of you supply me with

Example configuration files for the bandwidth settings, including the spec of server and pipeline it is attached too.
Eg

a copy of your Arma3Alpha.cfg the basic specs, eg Xeon x5570 and 100mbit line supporting 40 players Forget that, use the default values, it seems altering them doesnt have any significant effect

BrightCandle
Mar 8 2013, 12:16
Hardware:
4x 2.0 Ghz i7 Xeon (SB-E architecture) CPU
8 GB of RAM
100Mbit/s connection

A few notes on performance and such we have determined while running a public server with organised coop play and some TvT with our pistol carnage maps.

- We can't push past 26 players without a server crash eventually happening. 26 Players is 24 hours stable for TvT and coop.
- With the server fully populated and with a reasonable amount of AI (60) we see server FPS that is 20-40.
- Fully populated the server will utilise about 8Mbit/s of upload bandwidth and just 2Mbit/s download.
- The server never goes above 2 cores used fully at any time, ie 200% usage.

We have found no real difference with tweaked Arma 2 network bandwidth settings or all defaults (empty file). The performance is reasonable in both cases and bandwidth usage is mostly unchanged. Tweaking the settings does not fix the crashing on larger numbers of players.

Cepheus74
Mar 8 2013, 12:46
Try removing all the custom made missions first. Then try selecting one of the vanilla missions. if this works, add 1 user made mission at a time until you find the mission that is causing the issue

---------- Post added at 12:58 ---------- Previous post was at 12:53 ----------

Initial Post Updated to this point Changelog v1.02

Can some of you supply me with

Example configuration files for the bandwidth settings, including the spec of server and pipeline it is attached too.
Eg

a copy of your Arma3Alpha.cfg the basic specs, eg Xeon x5570 and 100mbit line supporting 40 players

Thanks, what is the text to put in for the vanilla missions, I cant find this anyone I must be getting blind in my old age. Sorry, but this is my first time running an Arma server, thanks.

Im trying this on a 2008 R2 64bit server with x5650 100mbit+ connection.

Banshee
Mar 8 2013, 12:55
In order to serve your mpmissions from another location than the root game folder, simply delete the folder and create a Junction (aka Symlink) instead.

mklink /J C:\steam\steamapps\common\user\Arma 3\mpmissions C:\Users\user\Desktop\Dropbox\mpmissions

We are using this to replace the standard mpmissions folder with a folder residing in a local dropbox. This way we can easily sync files from our local machines to the server. Those files are loaded into the server on runtime and then locked once the serverprocess gets hold of them (e.g. going to the mission selection). You can delete them from your local dropbox. On the server they'll get deleted once the gameserver has been stopped and unlocked the resources.

Terox
Mar 8 2013, 13:00
Thanks, what is the text to put in for the vanilla missions, I cant find this anyone I must be getting blind in my old age. Sorry, but this is my first time running an Arma server, thanks.

Im trying this on a 2008 R3 65bit server with x5650 100mbit+ connection.

http://community.bistudio.com/wiki/server.cfg explains it

Kinsman
Mar 8 2013, 13:21
Are you saying the Vanilla Arma2 missions work in the Alpha?

I couldnt see any Vanilla Missions actually on the server, so added TDM Deathmatch by Stapo thanks to Alex sending it to me. Stroke of luck really because EVERY other mission we have tried has either crashed, or had fatal flaws. Anyhow, missions is for another place, just wanted to check if Vanilla ones exist for the alpha was all.

Terox
Mar 8 2013, 13:25
ArmA2 missions wont work out of the box for A3.
The reasons.
They will use objects, units weapon classnames that arent avail in A3
They will use islands that arent avail in A3
They need to be ported over by competent mission makers/editors first

Cepheus74
Mar 8 2013, 13:42
I have removed the missions cycles section from my server.cfg file, now players must vote for missions. Is anyone able to be totally clear and provide a server.cfg file that actually works. My server is stuck in creating and I can't start missions. Thank you. Like I said I am yet to find a fully end-to-end guide. Thanks once again.

shan1784
Mar 8 2013, 14:24
I have the same problem, the script is great but when the server crashes you get a box that tells you its crashed and you have to click close for it to kill the application, otherwise the script thinks it still running. I also have windows reporting turned off and I still get this problem.


I was able to fix this on our Windows 2008 box... Just follow the guide at the link below... There is a command to run and two reg entries to update...

http://otland.net/f138/disable-error-dialog-windows-server-2008-vista-68954/

eRazeri
Mar 8 2013, 15:10
I was able to fix this on our Windows 2008 box... Just follow the guide at the link below... There is a command to run and two reg entries to update...

http://otland.net/f138/disable-error-dialog-windows-server-2008-vista-68954/

Or you could just follow this:

1. Open start menu and type “gpedit.msc”. The Local Group Policy editor will appear.
2. Navigate to Computer Configuration / Administrative Templates / Windows Components / Windows Error Reporting
3. Edit the entry for “Prevent display of the user interface for critical errors”
4. Set it to Enabled.

Kinsman
Mar 8 2013, 15:38
Yep, that works, and thanks for the bat, just magic.

BTW does anybody know why some servers are yellow in the browser? and yes, mine is one of them.

Terox
Mar 8 2013, 15:50
Yep, that works, and thanks for the bat, just magic.

BTW does anybody know why some servers are yellow in the browser? and yes, mine is one of them.

one machine is -dev build and the other not possibly

Cepheus74
Mar 8 2013, 16:28
I had Corrupt files, all fixed now.

Server runs fine, and crashes.

It uses around 40% for one person as a baseline on a X5650 2.67GHz 1GB and 250MB memory.

Incus
Mar 8 2013, 17:17
High. I have followed all the given steps.

Ran up my server and got it going.

Console says : 19:02:53 Dedicated host created.
19:02:55 Host identity created.
19:10:53 Player pcpc connecting.
19:10:54 Player pcpc connected (id=14248176).
19:11:40 Player pcpc disconnected.

So some can also connect.

I just seem to not be able to find it in the ingame browser. I am filtering "DLWGamers Dedicated Server" name. Nothing else is set.

Here: is my config.

// GLOBAL SETTINGS
hostname = "DLWGamers Dedicated Server"; // As seen in the Gemspy Browser
password = "dlw"; // Comment out if no password required
passwordAdmin = "<Removed>"; // Password to become server admin.
reportingIP = "arma3pc.master.gamespy.com";

// 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 DLWGamers A3 Alpha server",
"",
"Please join us on our TS = ts.dlwgamers.com",
"",
""
};
motdInterval = 5; // Time interval (in seconds) between each message

// JOINING RULES

maxPlayers = 20; // Maximum amount of players.

// VOTING
voteMissionPlayers = 1; // Tells the server how many people must connect so that it displays the mission selection screen.
voteThreshold = 1; // 33% or more players need to vote for something, for example an admin, new map

// INGAME SETTINGS
disableVoN = 0; // If set to 1, Voice over Net will not be available
vonCodecQuality = 8; // Quality from 1 to 10
persistent = 1; // If 1, missions still runs on even after the last player disconnected.

I have found the server but it is not using the config. It starts up with the name OWNEROR-CD6K7DK
It starts up and I can connect but it has a player count of 0/64 when I want set to 0/20 and is un-pass worded.
Any Suggestions?
#EDIT# Found the problem. The config was saving as a .txt file.

Now how do I add maps? I do not understand this -profile thing!

Kinsman
Mar 8 2013, 20:07
one machine is -dev build and the other not possibly

No, I tried both builds, still yellow both times.

Terox
Mar 8 2013, 20:09
Now how do I add maps? I do not understand this -profile thing!

If you don't know what -profile is then you wont be needing it.
To run user made maps, simply upload them directly to your MpMissions folder located in your AtmA 3 installation directory.

Log back in as admin and you will then be able to load and play on them

blinger
Mar 8 2013, 20:13
Hardware:
4x 2.0 Ghz i7 Xeon (SB-E architecture) CPU
8 GB of RAM
100Mbit/s connection

A few notes on performance and such we have determined while running a public server with organised coop play and some TvT with our pistol carnage maps.

- We can't push past 26 players without a server crash eventually happening. 26 Players is 24 hours stable for TvT and coop.
- With the server fully populated and with a reasonable amount of AI (60) we see server FPS that is 20-40.
- Fully populated the server will utilise about 8Mbit/s of upload bandwidth and just 2Mbit/s download.
- The server never goes above 2 cores used fully at any time, ie 200% usage.

We have found no real difference with tweaked Arma 2 network bandwidth settings or all defaults (empty file). The performance is reasonable in both cases and bandwidth usage is mostly unchanged. Tweaking the settings does not fix the crashing on larger numbers of players.

this is pretty much my summary as well. I can run 65 people for 2-3 hours but it will crash. Sometimes the server lasts for 10-20-30-40 minutes, other times a few hours. My RPT file grows by the second. (running wasteland mission)

Camaris
Mar 8 2013, 21:38
Not sure if its been mentioned, I've managed to get multiple servers running on one machine with simply making multiple copies of my steam directory and updating the start in and target on the shortcuts.

Picture (http://i.imgur.com/Bso6kly.png)

1. Make a copy of your steam directory that you've got the server working on.
2. Paste copied directory.
3. Goto properties on the shortcut and simply update the new target and start in location.
4. Run each shortcut let the server start and just kill the steam process after each one has started.

Pridit
Mar 8 2013, 23:01
I don't understand this messing about trying to get multiple servers running when there's a simple and easy method.

Just create a new text document in the Arma 3 directory (steamapps/common/Arma 3) called "steam_appid" put "107410" inside it, save it then enjoy running multiple instances.

Terox
Mar 8 2013, 23:05
I don't understand this messing about trying to get multiple servers running when there's a simple and easy method.

Just create a new text document in the Arma 3 directory (steamapps/common/Arma 3) called "steam_appid" put "107410" inside it, save it then enjoy running multiple instances.

Would be nice if you could enlighten us more with what this actually does

Camaris
Mar 8 2013, 23:07
I don't understand this messing about trying to get multiple servers running when there's a simple and easy method.

Just create a new text document in the Arma 3 directory (steamapps/common/Arma 3) called "steam_appid" put "107410" inside it, save it then enjoy running multiple instances.

Figured there was a simple way, front page still says can't run multiple instances because of steam; only reason why I mentioned it. Wasn't aware of that method.

Edit: It does seem to work as he says.

Pridit
Mar 8 2013, 23:07
Would be nice if you could enlighten us more with what this actually does
It seems to bypass Steam and just directly launches the application hence the lack of "app already running" message preventing you from opening multiple instances.

This method has also been used in order to play games on Steam before their launch date in other territories, but thanks to Steam encrypting data this has been prevented.

Suspense
Mar 8 2013, 23:42
It seems to bypass Steam and just directly launches the application hence the lack of "app already running" message preventing you from opening multiple instances.

This method has also been used in order to play games on Steam before their launch date in other territories, but thanks to Steam encrypting data this has been prevented.

Seems to work fine.

For anyone that needs simplier instructions,

Create a steam_appid.txt file in your arma 3 root folder
Put 107410 in it, and hit save
Paste/or create a new server config for each new server you want to run
Create a new shortcut of ArmA3.exe for each server, and point it to the individual configs.

Pridit
Mar 9 2013, 00:56
Create a steamappid.txt file in your arma 3 root folder
It has to be called exactly "steam_appid".txt anything else won't work.

WalkerDown
Mar 9 2013, 04:19
You're all confusing ppl.. lol.. is that hard to use the bbcode and the bold? :) The filename is:

steam_appid.txt

Headshotlegende
Mar 9 2013, 11:32
Hi Everybody,

Steam always says "its not possible to play this Game in offline Mode".
What the Hack did i wrong ?
Its a Win2008 R2 Root, and this is the Target in the Shortcut: "D:\Gameserver\Arma 3\Arma3Alpha\SteamApps\common\Arma 3\arma3.exe" -server -config=A3TestServer.cfg

Best Regards
Heady

QuickSplice
Mar 9 2013, 14:43
Everything works beautifully and got the dedicated to work. But it only sends out via LAN and doesn't report to the INTERNET. I can find the server on my client side if I select LAN, but it won't show up INTERNET. Any idea?

Terox
Mar 9 2013, 14:47
Hi Everybody,

Steam always says "its not possible to play this Game in offline Mode".
What the Hack did i wrong ?
Its a Win2008 R2 Root, and this is the Target in the Shortcut: "D:\Gameserver\Arma 3\Arma3Alpha\SteamApps\common\Arma 3\arma3.exe" -server -config=A3TestServer.cfg

Best Regards
Heady

You need to expand on "What the Hack did I wrong".

Are you seeing a console window ?
Are their any .rpt entries that look odd ?
did you forward your ports ?

"" It does not work"" type of statement does not really help anyone to help you.

---------- Post added at 15:47 ---------- Previous post was at 15:45 ----------


Everything works beautifully and got the dedicated to work. But it only sends out via LAN and doesn't report to the INTERNET. I can find the server on my client side if I select LAN, but it won't show up INTERNET. Any idea?

If tou can see the console on the backend, small grey box window, then its most likely a firewall issue
Go back to the front page and make sure you followed all the steps
If you are running a client and a server on the same rig, did you change the port numbers

Firewall ??

reaper021
Mar 9 2013, 15:40
I need help i have a dedi running windows Server 2008 web edition i have dayz servers running on there and arma2 servers but i cannot get arma 3 to run at all i keep getting D3D11.dll errors i have followed every step here to fix this issue but to no fix is there anyone willing to help me out here please if so add me to steam simc47 or pop on my TS3 193.200.158.226:9988 could really do with the help i only want to run 1 server for my clan

Headshotlegende
Mar 9 2013, 15:51
You need to expand on "What the Hack did I wrong".

Are you seeing a console window ?
Are their any .rpt entries that look odd ?
did you forward your ports ?

"" It does not work"" type of statement does not really help anyone to help you.[COLOR="Silver"]

Hey,

thanks for your Answer.
I see nothing, thats it. I've installed Arma 3 via Steam on the Root, editied the Shortcut and created a Server Config File.
I've taken Steam into Offline Mode. I try to start the Server via the arma3.exe Shortcut, and the only Thing that happens is a Steam Message that says
"You cant Play this Game in Offline Mode". No RPT, No Console Logfile, no PID File. Nothing, Steam is preventing to Start anything.
There are up to 4 Arma 2 Servers running on that Machine, so the Ports are forewarded anyways, plus i allowed the arma3.exe to communicate with the Internet.
Firewall is the same that we always do when we set up an Arma Server.

Thank you
Best Regards

Terox
Mar 9 2013, 15:55
Hey,

thanks for your Answer.
I see nothing, thats it. I've installed Arma 3 via Steam on the Root, editied the Shortcut and created a Server Config File.
I've taken Steam into Offline Mode. I try to start the Server via the arma3.exe Shortcut, and the only Thing that happens is a Steam Message that says
"You cant Play this Game in Offline Mode". No RPT, No Console Logfile, no PID File. Nothing, Steam is preventing to Start anything.
There are up to 4 Arma 2 Servers running on that Machine, so the Ports are forewarded anyways, plus i allowed the arma3.exe to communicate with the Internet.
Firewall is the same that we always do when we set up an Arma Server.

Thank you
Best Regards

1) The A3 server is using different ports to the A2 server isnt it
2) Try starting the A3 server in Online mode then after you see the console, switch steam to offline mode. (I think the server was in Online mode the first time I ran it. Since then steam has remained offline and doesnt cause any issues when restarting A3. Maybe that first instance when it runs, it needs to be online

You should only then need to place steam Online on the server to patch it, which is done automatically

If that solves it let me know and i'll update the 1st post to stop any further confusion

Headshotlegende
Mar 9 2013, 16:20
2) Try starting the A3 server in Online mode then after you see the console, switch steam to offline mode. (I think the server was in Online mode the first time I ran it. Since then steam has remained offline and doesnt cause any issues when restarting A3. Maybe that first instance when it runs, it needs to be online

You should only then need to place steam Online on the server to patch it, which is done automatically

If that solves it let me know and i'll update the 1st post to stop any further confusion

This is it, you have to run the first Time with Steam in Online Mode, after the first Start u can take Steam to offline.
Thank you very much.

Best Regards
Heady

almaxkiller
Mar 9 2013, 16:41
Hey OP,
When you quoted in my bat files for firedeamon into your first post, it lost the actual bat file info.

QuickSplice
Mar 9 2013, 17:04
Dedicated Server found via "INTERNET" for other players. I have to look for it via "LAN" because I guess both computers are behind a router.

Here's the issue I'm having. Even though I have the server configuration changed with a host name, the host name isn't displaying on the browser, it's displaying my computer name of the dedicated server as the host name.

Maybe the config file in the wrong folder? Where is it supposed to go?

---------- Post added at 12:51 ---------- Previous post was at 12:50 ----------

Dedicated Server found via "INTERNET" for other players. I have to look for it via "LAN" because I guess both computers are behind a router.

Here's the issue I'm having. Even though I have the server configuration changed with a host name, the host name isn't displaying on the browser, it's displaying my computer name of the dedicated server as the host name.

Maybe the config file in the wrong folder? Where is it supposed to go?

---------- Post added at 13:04 ---------- Previous post was at 12:51 ----------

Fixed it. It was still A3TestServer.cfg.txt


Dedicated Server found via "INTERNET" for other players. I have to look for it via "LAN" because I guess both computers are behind a router.

Here's the issue I'm having. Even though I have the server configuration changed with a host name, the host name isn't displaying on the browser, it's displaying my computer name of the dedicated server as the host name.

Maybe the config file in the wrong folder? Where is it supposed to go?

---------- Post added at 12:51 ---------- Previous post was at 12:50 ----------

Dedicated Server found via "INTERNET" for other players. I have to look for it via "LAN" because I guess both computers are behind a router.

Here's the issue I'm having. Even though I have the server configuration changed with a host name, the host name isn't displaying on the browser, it's displaying my computer name of the dedicated server as the host name.

Maybe the config file in the wrong folder? Where is it supposed to go?

almaxkiller
Mar 9 2013, 17:06
I don't understand this messing about trying to get multiple servers running when there's a simple and easy method.

Just create a new text document in the Arma 3 directory (steamapps/common/Arma 3) called "steam_appid" put "107410" inside it, save it then enjoy running multiple instances.



Seems to work fine.

For anyone that needs simplier instructions,

Create a steam_appid.txt file in your arma 3 root folder
Put 107410 in it, and hit save
Paste/or create a new server config for each new server you want to run
Create a new shortcut of ArmA3.exe for each server, and point it to the individual configs.

I did exactly this and I still get the steam error message. Any ideas?

ryandev00
Mar 10 2013, 07:06
Windows Server 2008 - I get no error, able to startup

Windows Web Server 2008 - I get this error:

arma3.exe - Entry Point Not Found
The procedure entry point CreateDXGIFactory1 could not be located in the dynamic link library dxgi.dll.

Terox
Mar 10 2013, 10:13
Windows Server 2008 - I get no error, able to startup
Windows Web Server 2008 - I get this error:


I think that's something to do with monitor output
You are using the -server switch?

Bravo17
Mar 10 2013, 21:21
I have found a way to shut down the server when stopping the fireDaemon service.

Create a post-service action using the following:

Executable: C:\Windows\System32\taskkill.exe
Working Dir: C:\Windows\System32
Parameters: /fi "WindowTitle eq arma 3*"
Execution Time: 60000
Run Program: After Event
Run Detached: Not selected

You should be able to adjust the WindowTitle Parameter to shutdown only one server if you have multiple servers, as long as they are on different ports.

almaxkiller
Mar 10 2013, 21:35
I have found a way to shut down the server when stopping the fireDaemon service.

Create a post-service action using the following:

Executable: C:\Windows\System32\taskkill.exe
Working Dir: C:\Windows\System32
Parameters: /fi "WindowTitle eq arma 3*"
Execution Time: 60000
Run Program: After Event
Run Detached: Not selected

You should be able to adjust the WindowTitle Parameter to shutdown only one server if you have multiple servers, as long as they are on different ports.


Or you could just create a bat file named ARMA3STOP.bat with the following:
@<hidden> off
echo Shut-Down Operation
REM Kill ARMA3 if running
taskkill /f /IM arma3.exe
timeout /T 3
exit

ryandev00
Mar 10 2013, 22:13
I think that's something to do with monitor output
You are using the -server switch?

Yes, here's the commands I am running arma3.exe against:


arma3.exe -server -config=cfg\server.cfg -cfg=cfg\basic.cfg -port=2302

Nashable
Mar 11 2013, 01:02
one issue im having is that Steam keeps asking for user input, so it will ask if I want to go online or start offline, then it will ask if I want to play Arma 3 or launch in a windowed mode. As I'd prefer to run the whole thing headless does anyone have any tips on how to suppress those dialogs?

Lokyi
Mar 11 2013, 02:51
one issue im having is that Steam keeps asking for user input, so it will ask if I want to go online or start offline, then it will ask if I want to play Arma 3 or launch in a windowed mode. As I'd prefer to run the whole thing headless does anyone have any tips on how to suppress those dialogs?

Are you running Steam under Admin/user that has administrative rights? Not 100% sure, but it sounds like a permissions issue if it keeps asking you over and over.

Terox
Mar 11 2013, 09:31
Update run with following command line:

-server -config=pathToConfig -nosound -nosplash -maxMem=2047

additional lines may also be relevant to you

-port=(AddPortNumber)
"-profiles=AddPathToProfile"
-cfg= PathToBasicConfig

Initial Post Updated to this point

Changelog Version 1.03


Updated "How To" instructions, added initial start up to be in online mode and run as Administrator
Added additional commandline params
Added to troubleshooting: Known issues


If your issues have been resolved can you post the fix and the outcome please for others to see

rundll.exe
Mar 11 2013, 11:15
Shamelessly bumping my post. Can someone please post their RPT output right after starting the server console?

I'm running it on a 64-bit Windows 7 machine, steam in offline mode.


Somehow my -server dies right after starting, while the game runs fine from steam
I see the server console window very briefly, and it then dies. The .rpt only put this:


=====================================================================
== C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe
== "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe" -server -config=A3TestServer.cfg

Exe timestamp: 2013/03/05 23:35:37
Current time: 2013/03/07 00:23:21

Type: Public Alpha
Branch: Stable
Version: 0.5.102571
=====================================================================

Item STR_DISP_OPT_DISABLED listed twice
Item STR_WORD_DIST100 listed twice
Item STR_WORD_DIST1000 listed twice
Item STR_WORD_DIST200 listed twice
Item STR_WORD_DIST500 listed twice
Item STR_WORD_DIST2000 listed twice
Item str_disp_hintc_continue listed twice
Updating base class Default->GdtAsphalt, by a3\map_data\config.bin/CfgSurfaces/carpet/
Updating base class Default->GdtStratisDirt, by a3\map_data\config.bin/CfgSurfaces/mud/
Updating base class RscControlsGroup->RscControlsGroupNoScrollbars, by a3\ui_f\config.bin/RscDisplayMain/controls/ModIcons/
Updating base class RscPicture->RscPictureKeepAspect, by a3\ui_f\config.bin/RscDisplayMain/IconPicture/
Updating base class RscListBox->RscCombo, by a3\ui_f\config.bin/RscDisplayCustomizeController/Steepness/
PhysX3 SDK Init started ...
... PhysX3 SDK Init ended
String STR_DN_STONE not found
String STR_DN_STONE not found

If I put a console logging file I see that it puts "Host Identity created", and then nothing more. Any ideas?

Terox
Mar 11 2013, 13:07
Shamelessly bumping my post. Can someone please post their RPT output right after starting the server console?

I'm running it on a 64-bit Windows 7 machine, steam in offline mode.




RPT



=====================================================================
== C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe
== "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe" -server -profiles=d:\Games\ArmA3\A3_No1 -config=d:\Games\ArmA3\A3_No1\No1_Vanilla.cfg -nosound -nosplash -maxMem=2047 -port=3002

Exe timestamp: 2013/03/05 21:54:04
Current time: 2013/03/11 14:05:52

Type: Public Alpha
Branch: Stable
Version: 0.5.102571
=====================================================================

Item STR_DISP_OPT_DISABLED listed twice
Item STR_WORD_DIST100 listed twice
Item STR_WORD_DIST1000 listed twice
Item STR_WORD_DIST200 listed twice
Item STR_WORD_DIST500 listed twice
Item STR_WORD_DIST2000 listed twice
Item str_disp_hintc_continue listed twice
Updating base class Default->GdtAsphalt, by a3\map_data\config.bin/CfgSurfaces/carpet/
Updating base class Default->GdtStratisDirt, by a3\map_data\config.bin/CfgSurfaces/mud/
Updating base class RscControlsGroup->RscControlsGroupNoScrollbars, by a3\ui_f\config.bin/RscDisplayMain/controls/ModIcons/
Updating base class RscPicture->RscPictureKeepAspect, by a3\ui_f\config.bin/RscDisplayMain/IconPicture/
Updating base class RscListBox->RscCombo, by a3\ui_f\config.bin/RscDisplayCustomizeController/Steepness/
PhysX3 SDK Init started ...
... PhysX3 SDK Init ended
String STR_DN_STONE not found
String STR_DN_STONE not found


If I run -netlog I get the following lines after the "Host identity created"


39.598: 14:13:04 Host identity created.
55.331: Ch(0):st(BW:250,250,0,250,250,0,0,G:3,0/0,0,-1.00,0/0,0,-1.00,0,0,Q:0/0/0,R0.00-0.00,0-0,0-0)
55.591: Ch(1):st(BW:250,250,0,250,250,0,0,G:3,0/0,0,-1.00,0/0,0,-1.00,0,0,Q:0/0/0,R0.00-0.00,0-0,0-0)
71.356: Ch(0):st(BW:250,250,0,250,250,0,0,G:3,0/0,0,-1.00,0/0,0,-1.00,0,0,Q:0/0/0,R0.00-0.00,0-0,0-0)
71.786: Ch(1):st(BW:250,250,0,250,250,0,0,G:3,0/0,0,-1.00,0/0,0,-1.00,0,0,Q:0/0/0,R0.00-0.00,0-0,0-0)

rundll.exe
Mar 11 2013, 13:37
Thanks Terox.

Seems my RPT is the same, so unfortunately this doesn't help me in any way. No errors, no nothing, where do I continue now :eek:

Terox
Mar 11 2013, 14:11
Thanks Terox.

Seems my RPT is the same, so unfortunately this doesn't help me in any way. No errors, no nothing, where do I continue now :eek:


Obvious things which i'm sure you tried

is the A3 process still running or has that died too, not responding etc
Very first time you ran A3 on that machine did you do start up in online mode
Running as Admin?
No other steam clients running elsewhere
Windows fully updated, latest directX etc
tried -nosound, although I think it still loads the drivers anyway

John9612
Mar 11 2013, 17:24
Hi Terox,

New to dedicated servers, i just hired one and i am trying to install Arma 3. i would be grateful if you could give me your skype account no. mine is jc29169.

In the meantime i am crakcing on with your directions on how to set the dedi server up.

Thanks again for your contribution.

Regards

S&H John

Terox
Mar 11 2013, 19:58
Hi Terox,

New to dedicated servers, i just hired one and i am trying to install Arma 3. i would be grateful if you could give me your skype account no. mine is jc29169.

In the meantime i am crakcing on with your directions on how to set the dedi server up.

Thanks again for your contribution.

Regards

S&H John

Join the skype group m8, lots of folks to give advice on there, a lot of them are more technically adept than me
(See first post for instructions, you will need to PM Dwarden)

almaxkiller
Mar 12 2013, 03:33
Anybody have any fixes for this dang Seagull bug yet?

Terox
Mar 12 2013, 09:31
Anybody have any fixes for this dang Seagull bug yet?

New dev build
well actusally a roll back
Version: 0.5.102571

seagull version was (0.5.102980 dev)

so at some point today we will get a fix

rundll.exe
Mar 12 2013, 11:40
Obvious things which i'm sure you tried

is the A3 process still running or has that died too, not responding etc - It does not work after a reboot
Very first time you ran A3 on that machine did you do start up in online mode - Yes, and the game runs fine on this machine (it's my home PC)
Running as Admin? - Tried with and without
No other steam clients running elsewhere - Nope
Windows fully updated, latest directX etc - I think steam installed the DX version that came with A3
tried -nosound, although I think it still loads the drivers anyway - makes no difference

Yeah, I tried all that (answered behind your quote), I'm out of ideas. Thanks for the suggestions anyway. I might have to ask for some more official support on this.

naizarak
Mar 12 2013, 18:10
any networking gurus know what the problem might be:

if i run a dedicated server off my home network, and try to connect from a computer on the same network, the connection fails
if i host the server on the same computer from a different network(neighbor's wifi, yes i have permission), i can connect from my network fine

at first i thought it was a problem with the ports, so i set the server to run with -port=2402, and i forwarded 2402-2405 in my router, but it didn't work.

Inch
Mar 13 2013, 08:52
any networking gurus know what the problem might be:

if i run a dedicated server off my home network, and try to connect from a computer on the same network, the connection fails
if i host the server on the same computer from a different network(neighbor's wifi, yes i have permission), i can connect from my network fine

at first i thought it was a problem with the ports, so i set the server to run with -port=2402, and i forwarded 2402-2405 in my router, but it didn't work.

You might want to forward more then just 2402 to 2405.

try a 10 point difference. 2402 to 2412.

Also is it just your server you fail to connect to or EVERY server?

Terox
Mar 13 2013, 09:37
Just a heads up on a recent change.

If your server runs DEV version, only DEV version clleits will be able to connect
if your server runs Stable, only stable clients will be able to connect

Happy days


@<hidden> rundll.exe, did you manage to sort your issue out?

naizarak
Mar 13 2013, 12:02
Just fails to connect to my server when hosting off the same network, all other servers work fine. I'll try to open a wider range of ports but I doubt that's the issue.

Truth be told I'm just trying to setup a dedicated server so I have a way of testing multiplayer missions. Would it be possible to somehow run the server on my local network and not the internet, sort of how the in-game hosting tool lets you select between your LAN and the internet when creating a new game?

Skydive
Mar 13 2013, 13:09
When connecting to a server on the same internal network as your workstation, you have to connect to the internal IP of the server, not the public IP used with Static NAT or port forwarding. If you use the server browser in ArmA 3 to try to connect, it is attempting to use the Public IP of the server. You will need to click on the "Remote" button and specify the inside (Private) IP of your server and the port you are using. (Default port is 2302)

noseek
Mar 13 2013, 13:59
Known Issues
DirectX

Windows Web Server 2008 - Error message: arma3.exe - Entry Point Not Found.The procedure entry point CreateDXGIFactory1 could not be located in the dynamic link library dxgi.dll.
:icon_arrow: Reporting Post (Not Resolved) (http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-server-on-a-dedicated-server&p=2326515&viewfull=1#post2326515)


This problem has been solved

Our server original operating system: Windows Server 2008 Enterprise (Simplified Chinese) SP1

Run steam and ArmA 3 Alpha occur same error message: ...CreateDXGIFactory1 could not be located in the dynamic link library dxgi.dll...

First, download and install directx_11_redist (http://down10b.zol.com.cn/game_tool/directx_11_redist.zip?key=d1b78ccac1e79d362cd54c8a4ca42e00),the problem persists

Then upgrade Windows Server to SP2, still error... :cryy:

Last, download and install Windows6.0-KB971512-x86 (http://download.microsoft.com/download/B/A/F/BAF2D238-529A-4C54-AD31-BAFFE001F91E/Windows6.0-KB971512-x86.msu),the problem is solved!:yay:

For reference

naizarak
Mar 13 2013, 16:18
When connecting to a server on the same internal network as your workstation, you have to connect to the internal IP of the server, not the public IP used with Static NAT or port forwarding. If you use the server browser in ArmA 3 to try to connect, it is attempting to use the Public IP of the server. You will need to click on the "Remote" button and specify the inside (Private) IP of your server and the port you are using. (Default port is 2302)

Thanks for the reply.

I've tried connecting to the server via my laptop's local IP address, but my computer wasn't able to find any games. Just out of curiosity, isn't the arma 3 server hosting the game over the internet? I thought you could only connect to LAN games if the host were running the lobby over LAN as well.

blade73
Mar 13 2013, 18:43
Just wonder if any have fixed the issue with windows server2003 and the d3d11 error?

Skydive
Mar 13 2013, 19:54
Thanks for the reply.

I've tried connecting to the server via my laptop's local IP address, but my computer wasn't able to find any games. Just out of curiosity, isn't the arma 3 server hosting the game over the internet? I thought you could only connect to LAN games if the host were running the lobby over LAN as well.

There is a good possibility that Windows Firewall (or whichever firewall program you may use) is blocking the ports needed to host the game. Here is a list of the ports that need to be open on the server:

Open these ports: UDP 2300-2400, 47624-47624, 28800-28900; TCP 2300-2400, 47624-47624 (in your router too)

Also be sure you config file contains this line: reportingIP="arma3pc.master.gamespy.com";

ryandev00
Mar 13 2013, 20:00
You should really add the requiredBuild variable to the tutorial's server.cfg file.

tjackpundare
Mar 13 2013, 21:28
You should really add the requiredBuild variable to the tutorial's server.cfg file.

How do you get the server do launch with dev? tried the -dev but wouldn't work

Kremator
Mar 13 2013, 21:46
So currently we cannot run a server if we have the d3d11.dll missing. Apart from waiting for a proper dedi server exe, any solutions ?

Terox
Mar 14 2013, 08:31
Just wonder if any have fixed the issue with windows server2003 and the d3d11 error?

So currently we cannot run a server if we have the d3d11.dll missing. Apart from waiting for a proper dedi server exe, any solutions ?

No know Fix for Win Server 2003
following is for a not up to date version of 2008

:icon_arrow: Page 13, post by noseek (http://forums.bistudio.com/showthread.php?147537-Tutorial-How-to-run-ArmA3-server-on-a-dedicated-server&p=2334434&viewfull=1#post2334434)
has a solution to this



@<hidden> Try reading the first post, specifically check out the sections

RUNNING MULTIPLE SERVERS ON SAME MACHINE
RUNNING CLIENT & SERVER ON SAME MACHINE





How do you get the server do launch with dev? tried the -dev but wouldn't work

To run the Development version

Open Steam
Select library
Right click on ArmA3 & select properties
Select Beta tab
In the drop down box, select "development-Development Build"
ArmA3 will then automatically update if it isnt running


To roll back to stable build
repeat the above procedure, but instead of opting in to the dev build, select the Opt out option
If in the future you want to revert to a stable build, simply undo the option and the ArmA3 version will roll back to the last stable




You should really add the requiredBuild variable to the tutorial's server.cfg file.
Impulse 9 has done some testing on this and states requiredbuild is not functioning as yet .
Since a late patch,

Only DEV clients can connect to a DEV server
Only Stable clients can connect to stable servers


The only issue that could arise is if there were mismatches with a server/client running the same version type branch but running different versions and the client can still connect to the server etc. Nobody has reported anything on this at the moment



The initial post has been updated to this point
All previously posted content that is important should now be in the first post


Changelog Version 1.04


Added "How to run development version
Updated troubleshooting: with fix for DirectX issue
Updated troubleshooting: with "How best to use this thread"


TROUBLE SHOOTING

Best way to use this thread


For any initial query Read through this first post (It is updated with posted content every few days)
If your query is not answered here, then follow the "Updated to this post" link at the top of this post and read on from there
If that does not answer your query, then you may need to read through the entire thread, I may have missed something important. if I have let me know.
If you still have no answer then post on the thread and we will try and get a solution
You could also join the Server Admins Skype group channel, where you will get live help

IMPORTANT
To help others please post back any solutions you find. Not all server admins are highly trained IT Technicians (Including me)

Katos
Mar 14 2013, 11:04
I started hosting the Arma 3 Alpha with Wasteland on my dedicated Win 2008 R2 Web server yesterday - and experience alot of crashes as everyone.

Now my question is, is there any kind of logging and/or error reporting? I have
logFile = "server_wasteland.log"; in my config file, but it doesn't seem to log anything. Is there a config option to set the debug level or something like that to make it actually log something?

As I have some years of programming and hosting experience I might be able to wrap my head around armascript and would like to help, but to do that I have to actually find a spot to start.

Skydive
Mar 14 2013, 11:16
I started hosting the Arma 3 Alpha with Wasteland on my dedicated Win 2008 R2 Web server yesterday - and experience alot of crashes as everyone.

Now my question is, is there any kind of logging and/or error reporting? I have
logFile = "server_wasteland.log"; in my config file, but it doesn't seem to log anything. Is there a config option to set the debug level or something like that to make it actually log something?

As I have some years of programming and hosting experience I might be able to wrap my head around armascript and would like to help, but to do that I have to actually find a spot to start.

In addition to naming a log file in the server config, you also need these lines in the server startup string so it knows where to put / look for the files.

-config=cfg\Wasteland.cfg -cfg=cfg\Arma3Alpha.cfg -profiles=cfg

cfg is the directory in my Arma 3 directory where I have the config files and where my .log and .RPT logs are written.

Katos
Mar 14 2013, 11:26
In addition to naming a log file in the server config, you also need these lines in the server startup string so it knows where to put / look for the files.

-config=cfg\Wasteland.cfg -cfg=cfg\Arma3Alpha.cfg -profiles=cfg

cfg is the directory in my Arma 3 directory where I have the config files and where my .log and .RPT logs are written.
The config files were in my start script already, but will try it with the profiles. It seems like it puts the profiles in "My Documents/Arma 3 Alpha" when not specified, but there is no .log or .RPT either.

Will reply with results when the server is restarted next time.

Skydive
Mar 14 2013, 12:28
The config files were in my start script already, but will try it with the profiles. It seems like it puts the profiles in "My Documents/Arma 3 Alpha" when not specified, but there is no .log or .RPT either.

Will reply with results when the server is restarted next time.

The -profiles switch should fix it for you. This will tell it where to put server.log, (or whatever you named it) mpStatistics.log, arma3.rpt, arma3.bidmp and arma3.mdmp.

Mariodu62
Mar 14 2013, 22:27
You can have multiple server or server+client simply by creating steam_appid.txt with 107410 in it.
Save it into you arma3 folder. To run a server + client, you must start the server before your client.

Those commands in the server.cfg file are working fine

//Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"short","full"
timeStampFormat = "full";

//Enables output of dedicated server console into textfile. Default location of log is same as crash dumps and other logs
logFile = "server1_console.log"; // Tells ArmA-server where the logfile should go and what it should be called

and the server can start with a mission :

For example :

class Missions
{
class teetimeswarfareTBr1
{
template="teetimeswarfareTBr1.Stratis"; // omit the .pbo suffix
difficulty="regular"; // difficulty: recruit, regular, veteran or mercenary (see CfgDifficulties in the main game config)
};

};


Other thing : to have good server performances, don't use core 0.

MarkMods
Mar 14 2013, 22:40
Thanks a lot for this tutorial. Everything is working perfectly fine.
For those others facing problems on a Windows Server 2008 R2: installing the normal directx runtime through the webinstaller should fix the issues :)

ScooBySnaCk
Mar 15 2013, 16:06
Greetings, couple of things I have done/noticed that I saw a lot of questions on: (EDIT: I just saw Marksmods post..yep!)

1. DX and missing dll's. I run Win2008 R2 and just went to the MS web installer for Directx, let it install and that was that.

2. In conjunction with running the .bat file to restart the server if it crashes, I now run a .bat file to kill the server every 5 hours as well because especially on wasteland it just starts to bog.

3. The switches for like cpucount and max mem I think are disregarded completely and I just took them out of the command line argument for the server start up. It still only uses 1 CPU for now which I hope they fix shortly since I run a dual quad core Zeon box. ;)

4. in addition to above if you try anything above -cpucount 4 arma.exe will crash upon start. I tried to be cute and put in 8 and found this out quickly.

All in all I am pretty pleased with the continuing development. There have been some nice FPS fixes just within the last couple of days and the netcode is solid.

Cheers

---------- Post added at 10:06 ---------- Previous post was at 09:30 ----------

Forgot to add this .bat file I run along with the .bat file for restarting server on crash.


:START
C:\Windows\System32\taskkill /im arma3.exe
C:\Windows\System32\timeout /t 18000
GOTO START

That will kill the arma server every 5 hours then of course the other bat file will restart it.

rundll.exe
Mar 16 2013, 09:20
Ok I managed to get the server working on another computer.

However, each time the machine reboots, steam pops up a dialog box, confirming I want to go in offline mode. Does anyone know how to get rid of this dialog box? Then the unattended restart script would work on starting the machine. (I put a shortcut to the .bat in the startup folder). Currently arma3.exe won't start as long as this dialog box is open.

Kinsman
Mar 16 2013, 10:02
The easy answer for me was to just run it Online.

rundll.exe
Mar 16 2013, 11:26
But then I need a second steam account, and purchase another copy if I want to play on my own server. Not really what I'm looking for.

Terox
Mar 16 2013, 16:41
Ok I managed to get the server working on another computer.

However, each time the machine reboots, steam pops up a dialog box, confirming I want to go in offline mode.

Why are you needing a reboot ?

The issue of steam and rebooting hasn't been raised before

Kinsman
Mar 16 2013, 23:35
In order to serve your mpmissions from another location than the root game folder, simply delete the folder and create a Junction (aka Symlink) instead.

mklink /J C:\steam\steamapps\common\user\Arma 3\mpmissions C:\Users\user\Desktop\Dropbox\mpmissions



Where does ths go, in the server.cfg i guess?

---------- Post added at 11:35 AM ---------- Previous post was at 10:40 AM ----------

ok got it working, for anybody else wanting to do this, run cmd tool on your server to create the link, use "" around the directories, and delete your mpmissions folder BEFORE you create the link.

mklink /J "C:\steam\steamapps\common\user\Arma 3\mpmissions" "C:\Users\user\Desktop\Dropbox\mpmissions"

Lokyi
Mar 17 2013, 00:48
There is a good possibility that Windows Firewall (or whichever firewall program you may use) is blocking the ports needed to host the game. Here is a list of the ports that need to be open on the server:

Open these ports: UDP 2300-2400, 47624-47624, 28800-28900; TCP 2300-2400, 47624-47624 (in your router too)

Also be sure you config file contains this line: reportingIP="arma3pc.master.gamespy.com";

Not strictly true on the ports, but if you are using a custom port (-port=xxxx switch) you will most likely know about this already. Ports used are Port, Port + 1, and Port + 3.

The DEFAULT port is 2302, same as Arma2 (why they didn't change this I have no idea). I use 3302 for Arma3, so in my case I'm using -port=3302, which means I need to make sure 3302, 3303, and 3305 are open for business.

Terox
Mar 17 2013, 11:39
Just to clarify here is an example file structure and location of files if you set certain parameters

Command line entry: -profiles

NOTE: If running Firedeamon, the user will be "SYSTEM", for most other scenarios it will be "Administrator"
The below example is for Firedeamon.
Files automatically created during exe.start if they don't already exist are highlighted in Blue

"-profiles=d:\Games\A3\Server_No1"

d:\Games\A3\Server_No1\Users\SYSTEM\SYSTEM.Arma3AlphaProfile
d:\Games\A3\Server_No1\Users\SYSTEM\SYSTEM.vars.Arma3AlphaProfile
d:\Games\A3\Server_No1\Users\SYSTEM\Arma3Alpha.cfg


d:\Games\A3\Server_No1\MPMissions\ ? Think this was auto created can't remember
d:\Games\A3\Server_No1\arma3.rpt

Command line entry: -config

if you then add a -config parameter as in the example below, you will need to manually create the file and edit it accordingly

-config=d:\Games\A3\Server_No1\MyServerConfig.cfg

In the "MyServerConfig.cfg, if you add the line
logFile = "Server_No1.log";
The logfile will automatically be created as

d:\Games\A3\Server_No1\Server_No1.log

Command line entry: -netlog
This will automatically create the following file
d:\Games\A3\Server_No1\mpStatistics.log



Initial Post has been updated to this point

CONTENTS

Setting up your server
What you need
how you do it
Links[/B]
Information
useful Tools
Selecting between Stable & Dev Builds
Running multiple servers on one machine
Running server & client on same machine
Location of files[/B]
Re-locating MpMissions
Port Forwarding[/B]
Trouble Shooting & Help
Best way to use this thread
Live chat help
What cannot be done
Known Issues
Example files[/B]
Arma3Alpha.cfg
Arma3Alpha.cfg
.Arma3AlphaProfile
Advanced configuration[/B]
_profiles
AutoServer_Restart.bat File
Firedeamon
Changelog


Changelog Version 1.05
Date: 17th March 2013


Added Section: "LOCATION OF FILES (When setting parameters)"
Added Section: "RE-LOCATING MPmIssions (For example to a dropbox)"
Added "VerifySignatures = 2" into config.cfg (My bad, why I forgot to add this I will never know) IMPORTANT Please add to config

rundll.exe
Mar 17 2013, 17:41
Why are you needing a reboot ?

The issue of steam and rebooting hasn't been raised before

Because windows sometimes decided It needs a reboot ;) and I wanted to have it 100% unattended. But I guess I'd just have to click the dialog for now.

WalkerDown
Mar 17 2013, 17:55
Excuse me, but windows doesn't decided to reboot (unless you set it to do so), i don't even remember the last time i had to reboot my windows 2008 R2 server. I'm not saying it never happens, but there's certain issues that you cannot solve by the automatization... what if your PSU fails? Do you have a robot installing a new one? ... etc.

ScooBySnaCk
Mar 18 2013, 01:58
"Windows deciding to reboot" = allowing auto updates blah blah ;)

PS: I have nano bots guarding my PDUs

deltahawk5
Mar 18 2013, 11:34
HOW-TO: Run specified missions in -server

I got the information from someone on the ARMA 3 IRC. Works the same as in ArmA2OPAH: See here. (http://community.bistudio.com/wiki/basic.cfg)

Add this to the end of your server config for each map you want in the rotation.

Tested and working on two servers.


class Missions
{
class InsertNameHere // name for the mission, can be anything
{
template = "MissionNameAsListedInFolder"; // Insert mission name here as listed on /arma3/MPMissions/, omit the .pbo suffix
difficulty = "regular"; // difficulty: recruit, regular, veteran & mercenary as specified in *.Arma2profile
param1 = 2; // dress
param2 = 26; // age
class Params
{
Name = 2;
WorkPlace = 0;
Friend = 1;
};
};
};

rundll.exe
Mar 18 2013, 16:10
"Windows deciding to reboot" = allowing auto updates blah blah ;)

PS: I have nano bots guarding my PDUs

Windows updates indeed... But I figured I could disable the auto reboot from that.
Note that I run my server from home (got 100/100 fiber) so a power failure (too much power tools is possible :) ) is a bit more common than in a data center

Lordprimate
Mar 18 2013, 20:05
any word on how to get a headless client to connect to a passworded server.. I cannot get it to connect.. If the server has no password the HC connects fine.. If the server does have a password the HC cannot connect even if I have supplied the launch params with the correct password..??

Hondo_Au
Mar 18 2013, 23:05
Hi Guys,

Need some help with the map rotation. I have added few TDM maps to the server and added it to the .cfg file. So it looks like this.


// MISSIONS CYCLE (see below)
class Missions
{
class WRECKED_TDM_EASTWOODS_DAY
{
template="WRECKED_TDM_EASTWOODS_DAY.Stratis";
difficulty="Regular";
};
class WRECKED_TDM_WESTWOODS_DAY
{
template="WRECKED_TDM_WESTWOODS_DAY.Stratis";
difficulty="Regular";
};
class WRECKED_TDM_WESTWOODS_NIGHT
{
template="WRECKED_TDM_WESTWOODS_NIGHT.Stratis";
difficulty="Regular";
};
class WRECKED_TDM_CAMPMAXWELL_DAY
{
template="WRECKED_TDM_CAMPMAXWELL_DAY.Stratis";
difficulty="Regular";
};
class WRECKED_TDM_SOUTHWOODS_Night
{
template="WRECKED_TDM_SOUTHWOODS_Night.Stratis";
difficulty="Regular";
};
class WRECKED_TDM_AGIAMARINA_NIGHT
{
template="WRECKED_TDM_AGIAMARINA_NIGHT.Stratis";
difficulty="Regular";
};
class WRECKED_TDM_SOUTHWOODS_DAY
{
template="WRECKED_TDM_SOUTHWOODS_DAY.Stratis";
difficulty="Regular";
};
};


is it possible to have these maps to be automatic rotation. At the moment at beginning of each round players get pick map. If no admin is around i dont know who can pick it either.
Is there way to set the server to automatically just cycle through the maps?

Thanks,
Hondo

JoSchaap
Mar 19 2013, 10:32
*deleted

Dirty Haz
Mar 19 2013, 22:00
Is it possible and/or allowed to run the server from the Alpha Lite ver ?

Polarfuchs
Mar 20 2013, 08:04
Hello everyone,

I'm sorry if these are stupid questions but I'm new to adminstration of an ArmA server and didn't find anything on the web or this forum.

1. Trying to find a way to reduce lag on our server I stumbled across these settings:

serverLongitude=-115;
serverLatitude=36;
serverLongitudeAuto=-115;
serverLatitudeAuto=36;

Does this have any meaning? If so, what coordinates go into this setting? The location of the server?

2. Is there any chance of disabling squad AI on coop missions on startup serverside (so nobody has to click the button on mission start)?

Regards,
Polarfuchs

Hammerballz
Mar 20 2013, 08:06
Is it possible and/or allowed to run the server from the Alpha Lite ver ?

Alpha Lite does not contain Multiplayer Features:rolleyes:

rundll.exe
Mar 20 2013, 11:58
Hello everyone,

I'm sorry if these are stupid questions but I'm new to adminstration of an ArmA server and didn't find anything on the web or this forum.

1. Trying to find a way to reduce lag on our server I stumbled across these settings:

serverLongitude=-115;
serverLatitude=36;
serverLongitudeAuto=-115;
serverLatitudeAuto=36;

Does this have any meaning? If so, what coordinates go into this setting? The location of the server?

2. Is there any chance of disabling squad AI on coop missions on startup serverside (so nobody has to click the button on mission start)?

Regards,
Polarfuchs

Hi, the Lat/Long features are used for location based filtering of servers. Most times this auto values are good enough.

Disabling the AI in missions is done in the mission itself, but that also breaks JIP and group respawn I think. You did notice there is a button in the lobby "disable AI" for the admin on the server? That's a single button to disable them all.

rasy
Mar 20 2013, 12:28
onUnsignedData = "kick (_this select 0)"; is not work every mod can in server

Polarfuchs
Mar 20 2013, 14:47
Hi, the Lat/Long features are used for location based filtering of servers. Most times this auto values are good enough.

Disabling the AI in missions is done in the mission itself, but that also breaks JIP and group respawn I think. You did notice there is a button in the lobby "disable AI" for the admin on the server? That's a single button to disable them all.

Thanks for the quick reply.
Yes, I noted the button and agree that a click is very bearable burden. My thought was to autodisable serverside so that no admin would need to join the server after a restart to disable the AI.
Or can players do so as well?

Regards,
Polarfuchs

TraxusIV
Mar 20 2013, 20:11
Ok, so I followed the directions here, and got up and running quite nicely. But the day after I got the server up (and running the client on the same computer), I got the "TraxusIV: Illegal copies may degrade" warning, and now I'm experiencing 'session lost' disconnections every few minutes, and massive desync for people connected to the server (never all of them at once, though, usually like 80% of the players). I got another "Illegal copies may degrade" message today. So is it possible that running client and server simultaneously may have triggered FADE? If so, is there any way to fix it?

Terox
Mar 21 2013, 07:02
Ok, so I followed the directions here, and got up and running quite nicely. But the day after I got the server up (and running the client on the same computer), I got the "TraxusIV: Illegal copies may degrade" warning, and now I'm experiencing 'session lost' disconnections every few minutes, and massive desync for people connected to the server (never all of them at once, though, usually like 80% of the players). I got another "Illegal copies may degrade" message today. So is it possible that running client and server simultaneously may have triggered FADE? If so, is there any way to fix it?


Are you sure the warning was for you and not a client that had connected ?

TraxusIV
Mar 21 2013, 10:39
No, I am very much not sure. :) The wonkyness of the connection, the sudden massive desynching, etc, is what makes me suspicious, but no seagull yet, no noticeable degradation of accuracy. I went ahead and reinstalled the game, and the desynch and session lost issues are still happening.

I guess what I'm asking is, do we know if it's possible that fade may have been triggered by this, or should I chalk this up to my ISP quality being inconsistent?

Terox
Mar 21 2013, 15:24
I am not aware of anyone that is running a server getting a "Fade" message because of the set up as explained in the tutorial. So I suspect it is not your client and server mix that is causing the message. It is more likely another player is connecting that is using an invalid key or a duplicate key.

As for your ISP and quality of service, you haven't posted any specs about your server rig or the bandwidth available to it. How many players you are hosting for it ?
your configs etc

Without more detail we can't really advise you more.

Jowoodoz
Mar 21 2013, 16:55
the maximum number of players simultaneously playing on the server?

TraxusIV
Mar 22 2013, 12:52
I am not aware of anyone that is running a server getting a "Fade" message because of the set up as explained in the tutorial. So I suspect it is not your client and server mix that is causing the message. It is more likely another player is connecting that is using an invalid key or a duplicate key.

As for your ISP and quality of service, you haven't posted any specs about your server rig or the bandwidth available to it. How many players you are hosting for it ?
your configs etc

Without more detail we can't really advise you more.

It's a home rig, running on a late 2009 Mac Pro over my cable modem connection. Certainly not optimal either in hardware or connection, but it's been running well enough overall. The missions I've noticed the problem on have been both custom missions, and Escape from Stratis, so it's not just poor mission creation skills on my part.

If no one else has experienced this, then I'm inclined to think it's either the hardware, the connection, or the combination. The problem is not consistently there, so that would support it being the internet connection, with more trouble cropping up as the local area experiences higher traffic.

Terox
Mar 22 2013, 18:26
running on a late 2009 Mac Pro over my cable modem connection.

I'm not aware of anyone hosting with that o/s. Home cable connection has what bandwidth available too it ?

TheHitman
Mar 22 2013, 19:49
We are getting this issue with Steam:

http://gyazo.com/1b6e6576df00b5ff28f515ba60ca9356.png?1363984961 (283 kB)

Empire1337
Mar 22 2013, 23:32
We are getting this issue with Steam:

http://gyazo.com/1b6e6576df00b5ff28f515ba60ca9356.png?1363984961 (283 kB)


This is a problem for me aswell, Offline mode is just not working. Even trying to force steam to start in offline, I still get the same message. And yes, I have done my homework with this.

The way I found it to work;

1, Turn off steam on the gaming PC

2, log in on steam on the server machine

3, start dedicated server

4, when you see that arma 3 is starting, log in on steam at the gaming PC

5, if steam on your gaming PC couldn't connect, stop the dedicated server and try step 3 and 4 again.

Done this a couple of times, seems to have no effect other than that steam on the server starts crying about no one being logged in, and I haven't encountered any problems so far, I and other can still connect to the server and play.

TheHitman
Mar 23 2013, 08:29
Fixed the above now..

Now we are getting this issue:

The server is defaulting to the server box name: WIN-etc etc

Empire1337
Mar 23 2013, 08:54
In other words, it's not picking up the config file for the server?

It's something that I had problem with aswell, went trough the steps in the guide about 3-4 times, then I noticed my config file for the dedicated wasn't picked up as a .cfg file, but rather as .cfg.txt.

Make sure your config file is ending with .cfg and not with .txt

TheHitman
Mar 23 2013, 10:50
In other words, it's not picking up the config file for the server?

It's something that I had problem with aswell, went trough the steps in the guide about 3-4 times, then I noticed my config file for the dedicated wasn't picked up as a .cfg file, but rather as .cfg.txt.

Make sure your config file is ending with .cfg and not with .txt

They are .cfg

http://gyazo.com/2b3d576fcc35a809055d9b12c60dc871

Empire1337
Mar 23 2013, 11:45
They are .cfg

http://gyazo.com/2b3d576fcc35a809055d9b12c60dc871


Been staring on this for a while now and this is what I came up with
Also, before I start, do correct me if I am completey wrong

As far as I can work out, you are trying to use the arma3alpha as an serverconfig, the arma3alpha is a profile and not a server config, the A3TestServer.cfg is what you want to use.
This is problay why it isn't working, the dedicated is trying to read the arma3alpha as both the profile and as the server config.

And be sure you have the "-config=A3TestServer.cfg" in your shortcut as the command line.

TheHitman
Mar 23 2013, 11:47
Been staring on this for a while now and this is what I came up with
Also, before I start, do correct me if I am completey wrong

As far as I can work out, you are trying to use the arma3alpha as an serverconfig, the arma3alpha is a profile and not a server config, the A3TestServer.cfg is what you want to use.
This is problay why it isn't working, the dedicated is trying to read the arma3alpha as both the profile and as the server config.

And be sure you have the "-config=A3TestServer.cfg" in your shortcut as the command line.

Thanks mate, Going to get someone to look at it

fasterthanlight
Mar 24 2013, 19:55
Can someone expand on the mpmissions folder re-direct for me?

I read this...

run cmd tool on your server to create the link, use "" around the directories

example
mklink /J "C:\steam\steamapps\common\user\Arma 3\mpmissions" "C:\Users\user\Desktop\Dropbox\mpmissions"


I need some instructions on how to do this exactly since I don't know what run cmd tool means...

.kju [PvPscene]
Mar 25 2013, 04:48
Use Shell Link Extension: https://dev-heaven.net/projects/heaven/wiki/Virtual_folders_and_files

Terox
Mar 25 2013, 07:17
;2354511']Use Shell Link Extension: https://dev-heaven.net/projects/heaven/wiki/Virtual_folders_and_files

Thanks for the info kju,
is this still relevant with win7 and 8, winserver2008.2012 ?

idco
Mar 25 2013, 12:06
CONTENTS

RUNNING MULTIPLE SERVERS ON SAME MACHINE
Copy steam folder etc...



COPYING THE ENTIRE STEAM FOLDER IS UNNECESSARY
It is possible to run multiple servers by using a single different shortcut instead of an entire folder, granted your missions will be shared.

Mathiask1
Mar 25 2013, 20:13
I really hope theres comming an RCON soon ;D

Hondo_Au
Mar 25 2013, 21:18
Hi guys, with the new Arama 3 Alpha update my server keep crashing every 5 mins. Its on a dedicated VDS and I have had no issues before the update.

Anyone else experiencing this?

Hondo

crashtheface
Mar 25 2013, 23:11
Hi guys, with the new Arama 3 Alpha update my server keep crashing every 5 mins. Its on a dedicated VDS and I have had no issues before the update.

Anyone else experiencing this?

Hondo


Having the same issues. I have tried everything... still constantly crashing.

***EDIT*** Seems to be an issue when people throw grenades. I tried all the memory allocators that came with the alpha to see if it would fix it, all had the same result when running a custom -malloc= on the dedicated box.

http://www.gametracker.com/server_info/192.223.25.224:2302/

fasterthanlight
Mar 27 2013, 01:23
Thanks for the info kju,
is this still relevant with win7 and 8, winserver2008.2012 ?


I was able to get this working. I had to do the install of both parts of the LSE. I have a Win 8 64 bit PC and a Win 2012 64 bit Server running the game.

Thanks for the idea and the help!!!

fasterthanlight
Mar 27 2013, 19:05
Follow up question about the -profile and -server.cfg. If you define the difficulty in the server.cfg file, are you able to still choose recruit and have all the settings on?

In other words, does defining the difficulty in the -server file do anything at all to enforce that instances of that server are bare minimum Veteran if selected?

Profecy
Mar 28 2013, 10:13
My server does not seem to read any keys stored in Arma3\keys when I install serverside addons that require client counterparts. Client has all the bisings with the pbos.
Server is Windows Server 2008 R2 with latest updates running stable branch of Arma3 Alpha.

Does anybody know how to resolve this?
Any help would be much appreciated.

Terox
Mar 29 2013, 09:38
My server does not seem to read any keys stored in Arma3\keys when I install serverside addons that require client counterparts. Client has all the bisings with the pbos.
Server is Windows Server 2008 R2 with latest updates running stable branch of Arma3 Alpha.

Does anybody know how to resolve this?
Any help would be much appreciated.


Where are you saving and loading your add-ons from (Please post full file path) ?
Also post your full -profile and / or parameter command line

and which "verifysignatures" value are you using, 0,1 or 2

---------- Post added at 10:38 ---------- Previous post was at 10:30 ----------


I was able to get this working. I had to do the install of both parts of the LSE. I have a Win 8 64 bit PC and a Win 2012 64 bit Server running the game.

Thanks for the idea and the help!!!

the line difficulty="*****"; doesn't seem to work.
There are certain settings that will not work for certain difficulty classes.
Much of this hasn't been fully investigated, or if it has, it hasn't been shared publicly

You can test each setting via a simple mission outputting variable values to the .rpt using the following commands.

http://community.bistudio.com/wiki/difficultyEnabled
http://community.bistudio.com/wiki/diag_log

Profecy
Mar 30 2013, 01:46
Where are you saving and loading your add-ons from (Please post full file path) ?
Also post your full -profile and / or parameter command line

and which "verifysignatures" value are you using, 0,1 or 2[COLOR="Silver"]




Addons are located in @<hidden> in "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@<hidden>\addons\nameofaddon.pbo"


I start my server with this Shortcut usually, but since mods dont work i dont load them right now.

"C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe" -server -config=A3TestServer.cfg -nosound -nosplash -maxmem=2047

With mods I use

"C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe" -server -config=A3TestServer.cfg -nosound -nosplash -maxmem=2047 -mod=@<hidden>;@<hidden>;@<hidden>

I don't specify my -profile, never did but when I make changes to it they apply correctly.
It's stored in

C:\Users\****\Documents\Arma 3 Alpha

And so is the Arma3Alpha.cfg.

VerifySignatures is set to 2. If I set it to 0, everything works fine. But that will just open up my server to hackers and I dont like that perspective...



I just noticed in GameTracker the signatures seem to show up when I view the server variables... could it be a client problem then ? But I do indeed have all the bisigns installed...

signatures a3;acre;acre2;jayarma2lib;profecy;six_cba_a3

1PARA{God-Father}
Mar 30 2013, 07:13
All seems to work apart from Profiles , any idea where i can look to see why this is not loading ?

Cannot see anything in the .rpt , it is creating it in the folder below but no error about profile ?


-profiles=c:\users

administrator.Arma3AlphaProfile


version=2;

viewDistance=3000;
preferredObjectViewDistance=3000;
terrainGrid=12.5;
activeKeys[]=
{
};


class Difficulties
{
class recruit
{
class Flags
{
Armor=1;
FriendlyTag=0;
EnemyTag=0;
MineTag=1;
HUD=1;
HUDPerm=1;
HUDWp=1;
HUDWpPerm=1;
HUDGroupInfo=1;
AutoSpot=1;
Map=1;
WeaponCursor=1;
AutoGuideAT=1;
ClockIndicator=1;
3rdPersonView=1;
UltraAI=0;
CameraShake=0;
UnlimitedSaves=1;
DeathMessages=1;
NetStats=1;
VonID=1;
ExtendetInfoType=1;
};
skillFriendly=0.6;
skillEnemy=0.6;
precisionFriendly=0.28;
precisionEnemy=0.28;
};
class regular
{
class Flags
{
Armor=1;
FriendlyTag=1;
EnemyTag=0;
MineTag=1;
HUD=1;
HUDPerm=1;
HUDWp=1;
HUDWpPerm=1;
HUDGroupInfo=1;
AutoSpot=1;
Map=1;
WeaponCursor=1;
AutoGuideAT=1;
ClockIndicator=1;
3rdPersonView=1;
UltraAI=0;
CameraShake=1;
UnlimitedSaves=1;
DeathMessages=1;
NetStats=1;
VonID=1;
ExtendetInfoType=1;
};
skillFriendly=0.6;
skillEnemy=0.6;
precisionFriendly=0.28;
precisionEnemy=0.28;
};
class veteran
{
class Flags
{
Armor=0;
FriendlyTag=0;
EnemyTag=0;
MineTag=1;
HUD=1;
HUDWp=1;
HUDWpPerm=1;
HUDGroupInfo=1;
AutoSpot=0;
WeaponCursor=0;
ClockIndicator=1;
3rdPersonView=1;
UltraAI=0;
CameraShake=0;
DeathMessages=0;
NetStats=1;
VonID=1;
ExtendetInfoType=0;
};
skillFriendly=0.6;
skillEnemy=0.6;
precisionFriendly=0.28;
precisionEnemy=0.28;
};
class mercenary
{
class Flags
{
HUD=1;
AutoSpot=0;
WeaponCursor=0;
DeathMessages=0;
NetStats=1;
VonID=1;
};
skillFriendly=0.6;
skillEnemy=0.6;
precisionFriendly=0.28;
precisionEnemy=0.28;
};
};

difficulty="veteran";

Terox
Mar 30 2013, 12:45
What I can say is that we run keys for a clientside addon pack we host, with signatures set to 2 and that works fine.

One of the addons I wanted to allow did have a key/bisign but that was broken. I never looked into why and just threw it out of the pack with the intention of signing it with a pack signature at some later point.
So maybe it is just one key/bisign issue which may appear to cause issues for other addons. If memory serves I think it was the clientside stance indicator

---------- Post added at 13:45 ---------- Previous post was at 13:38 ----------


All seems to work apart from Profiles , any idea where i can look to see why this is not loading ?

Cannot see anything in the .rpt , it is creating it in the folder below but no error about profile ?




Try wrapping quotation marks qround your -profile statement

"-profiles=c:\users" (May or may not help)

Also which user are you running then game on, am assuming administrator, so the root to the user configs should be

c:\Users\Administrator\Administrator.Arma3AlphaProfile
c:\Users\Administrator\Administrator.vars.Arma3AlphaProfile
c:\Users\Administrator\Arma3Alpha.cfg

DJSean00
Mar 31 2013, 03:00
::Made by eRazeri
@<hidden> off
:start
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
echo Server monitored is not running, will be started now
start "" /wait "C:\Steam\SteamApps\common\Arma 3\arma3.exe" -server -nosound -nosplash -nopause -config=C:\server.cfg -cpuCount=4 -maxMem=8192 -exThreads=7
echo Server started succesfully
goto started
:loop
cls
echo Server is already running, running monitoring loop
:started
C:\Windows\System32\timeout /t 10
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
C:\Windows\System32\taskkill /im arma3.exe
goto start

Does anyone know how to get the restart.bat to work with multiple servers running on the one machine?

Cheers
Sean

enemyduck
Mar 31 2013, 04:32
So now that a user is banned from the server, is there anyway to unban him, or was that feature overlooked? #exec unban ID in chat does not work.

Running a server on my PC and playing at the same time, by the way, no dedicated server.

ssechaud
Mar 31 2013, 04:38
Is there anything specific that can be done to try and prevent hacking? Anything at all in the server config that is best setup? Are there any mission side scripts that can be used to mitigate any of the possible hacks?

.kju [PvPscene]
Mar 31 2013, 06:30
Sean make a copy of the game folder, rename the exe and adjust its name in the bat.

Terox
Mar 31 2013, 23:35
So now that a user is banned from the server, is there anyway to unban him, or was that feature overlooked? #exec unban ID in chat does not work.

Running a server on my PC and playing at the same time, by the way, no dedicated server.
Simply remove the players ID from the bans.txt that you created as per the tutorial

---------- Post added at 00:35 ---------- Previous post was at 00:24 ----------


Is there anything specific that can be done to try and prevent hacking? Anything at all in the server config that is best setup? Are there any mission side scripts that can be used to mitigate any of the possible hacks?

Until BattleEye is implemented, the only thing that will be of any use is

a) VerifySignatures = 2;
b) Stay away from hosting mass public play missions like Wastelands

enemyduck
Apr 1 2013, 19:50
My problem with such a method is that there is no bans.txt.

To get my server to work, I only needed to open the proper port on my modem and give people the name & password of the server. I didn't follow this tutorial; I only looked it up in hopes that there would be a way to unban people. It was private, and not public, as I don't intend to run a public server without a separate machine due to obvious performance issues that would arise.

People were capable of joining and playing and we did for a few hours but there was a ban issued that I want to reverse, and I can't do that because well, there is no bans.txt. I tried to follow the tutorial and I did but no bans.txt was created from it. The user is still banned, too.

BloodxGusher
Apr 5 2013, 20:17
Hello everyone. I am running this setup while on the same machine. Client and Server.

So I am able to start the server and then the client then join the server.

What I wish to know is how do I see my servers IP or outward ip that others use to connect?

I would like to use it for gametracker and HLSW.

Thanks.

Terox
Apr 5 2013, 21:12
Hello everyone. I am running this setup while on the same machine. Client and Server.

So I am able to start the server and then the client then join the server.

What I wish to know is how do I see my servers IP or outward ip that others use to connect?

I would like to use it for gametracker and HLSW.

Thanks.

https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&sqi=2&ved=0CDEQFjAB&url=http%3A%2F%2Fwww.whatismyip.com%2F&ei=Iz5fUeLdO-SV0AXay4DYBg&usg=AFQjCNGY_VKpSTObxuE1bTe9aqWoRtjHGw&bvm=bv.44770516,d.d2k

BloodxGusher
Apr 6 2013, 00:46
https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&sqi=2&ved=0CDEQFjAB&url=http%3A%2F%2Fwww.whatismyip.com%2F&ei=Iz5fUeLdO-SV0AXay4DYBg&usg=AFQjCNGY_VKpSTObxuE1bTe9aqWoRtjHGw&bvm=bv.44770516,d.d2k

Thank.

I have tried this already and to no avail.

It seems Gametracker wants a Ip, query port and join port.

This probably is for true dedicated servers no?

Terox
Apr 6 2013, 01:02
Thank.

I have tried this already and to no avail.

It seems Gametracker wants a Ip, query port and join port.

This probably is for true dedicated servers no?

I don't really know. I would imagine they just read from the query ports like gamespy
try the following first, if you havent already

1) Open the required ports (As per the first post)
2) Try disabling your router and windows firewall temporarily to see if that has any effect.

If you are still stuck, have a read through this

http://www.nch.com.au/kb/10046.html

BloodxGusher
Apr 6 2013, 02:05
I don't really know. I would imagine they just read from the query ports like gamespy
try the following first, if you havent already

1) Open the required ports (As per the first post)
2) Try disabling your router and windows firewall temporarily to see if that has any effect.

If you are still stuck, have a read through this

http://www.nch.com.au/kb/10046.html

Sweet. Thanks for the quick reply. Will check this out and report back.

Skydive
Apr 8 2013, 13:57
Does anyone know how to get the restart.bat to work with multiple servers running on the one machine?

Cheers
Sean

Sean-

What I have done for this (and use for my ArmA 2 based servers as well) is within my ArmA 3\ directory I have ArmA 3\Cfg\1, ArmA 3\Cfg\2, etc. In each of those Instance Number directories I have copied the arma3.exe and renamed them to arma3_1.exe, arma3_2.exe, etc and put them in the corresponding directories. In addition to the exe files, in each of the instance number directories you want to have unique basic.cfg and config.cfg (name them whatever you want) for each server instance.
I use a batch file for each of those that I launch from the root ArmA 3 directory.
Also note the command line switches for -config -cfg and -profiles. Name the instance directory in those as well so all of your logs, etc are placed in the instance directories for the corresponding server.

This is what my .bat files look like:

@<hidden> off
:start
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3_1.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3_1.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
echo Server monitored is not running, will be started now
@<hidden> /abovenormal "" /wait "C:\Program Files (x86)\Steam\SteamApps\common\Arma 3\Cfg\1\arma3_1.exe" -server -mod=@<hidden> -name=Server -config=cfg\1\Wasteland.cfg -cfg=cfg\1\Arma3Alpha.cfg -profiles=cfg\1 -world=Stratis -port=2302 -nosplash
echo Server started succesfully
goto started
:loop
cls
echo Server is already running, running monitoring loop
:started
C:\Windows\System32\timeout /t 10
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma3_1.exe" 2>NUL | C:\Windows\System32\find /I /N "arma3_1.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
goto start

sn4ke
Apr 8 2013, 22:17
Hey guys,

I got a server running on my root server.

When I searh for the server ingame, it shows me a 2500 Ping...when I connect to it I have a 16ms ping and everything plays perfect, any clue (maybe a config issue) why the server bowser shows such a high ping?

draecko
Apr 9 2013, 14:19
Hi, I'm looking for the code to run a dedicated Escape from Stratis, but I'm not sure about the code for the mission cycle. I have the wasteland cfg code:

//MISSIONS CYCLE (see below)
class Missions {
class Wasteland_Chernarus {
template="404Wasteland_ArmA3.Stratis";
difficulty="Regular";
};
};
but I'd like to know the one for the coop escape from stratis one... Because it's not in the MPMissions folder I'm not sure what I have to fill in and google isn't helping either.

sn4ke
Apr 9 2013, 21:09
It depends on how many maps you have installed on your server.

For example:


class Mission1
...
class Mission2
...
class Mission3
.
.
.
class Mission10
...
class Mission11
...
class Mission12
{
template = "Co06-The_Escape.Stratis";
difficulty="regular";
};

You just have to add what the file is called without the extension.

WoODoO
Apr 10 2013, 21:43
16:49:04 Dedicated host created.
16:49:06 BattlEye initialization failed

Mariodu62
Apr 13 2013, 18:09
16:49:04 Dedicated host created.
16:49:06 BattlEye initialization failed

There is no anti-cheat so disable battleye in the cfg...

Tankbuster
Apr 20 2013, 09:15
I just cannot get 2 Arma 3 servers to work. I've been through this thread with a fine toothed comb a number of times in the last week, but am completely at a loss now.

The first server starts and runs just fine. People join and play reliably. The server that starts second is the problem. Players can't join it. They get as far as the joining server screen but then no further. The server console says they are connecting, but never actually finishes them connecting. Attempts to login in as admin are ignored.

It doesn't matter which of the two servers start first, it's the second one that's unjoinable.

Any ideas?

Thanks

Tanky -Paul-

Terox
Apr 20 2013, 16:01
I just cannot get 2 Arma 3 servers to work. I've been through this thread with a fine toothed comb a number of times in the last week, but am completely at a loss now.

The first server starts and runs just fine. People join and play reliably. The server that starts second is the problem. Players can't join it. They get as far as the joining server screen but then no further. The server console says they are connecting, but never actually finishes them connecting. Attempts to login in as admin are ignored.

It doesn't matter which of the two servers start first, it's the second one that's unjoinable.

Any ideas?

Thanks

Tanky -Paul-


do you have any rpt entries for those attempting to login and failing to do so
Typical errors that folks forget, tend to overlook or cause are

Each server needs to be run in a different directory, for example

c:\Program Files (x86)\Steam\SteamApps\common\Arma3\
c:\Program Files (x86)\Steam\SteamApps\common\ArmA3_Dev1\
c:\Program Files (x86)\Steam\SteamApps\common\ArmA3_Dev2\

Dev_1 and Dev_2 are copies of the root A3 install

each one of these installs needs to have the

steam_appid.txt file in it
the content of that file is 1 line of code, which is

107410

and each server instance needs to be running on a different port

eg
server 1: 3202
server 2: 3302
server 3: 3402

each server needs inbound UDP firewall rules for the
port Number, (portnumber +1),+2,+3

Make sure that the contents of the various config files are correct, no typos etc

and use a -profile switch for each server, which you then store the config files in

Other things you can do is
rename the arm3.exe in the second, third servers to something else

For the following commandline params


"-profiles=d:\Games\ArmA3\A3_Test2" -config=d:\Games\ArmA3\A3_Test2\test_Vanilla.cfg -nosound -nosplash -port=3202 -netlog

you would have the following folder/file structure from d:\Games\ArmA3\A3_Test2



*** Using firedeamon ***

\Users\SYSTEM\Arma3Alpha.cfg
\Users\SYSTEM\SYSTEM.Arma3AlphaProfile
\Users\SYSTEM\SYSTEM.vars.Arma3AlphaProfile
d:\Games\ArmA3\A3_test2\Test_Vanilla.cfg

or normal user admninistrator


\Users\ADMINISTRATOR\Arma3Alpha.cfg
\Users\ADMINISTRATOR\ADMINISTRATOR.Arma3AlphaProfile
\Users\ADMINISTRATOR\ADMINISTRATOR.vars.Arma3AlphaProfile
Test_Vanilla.cfg

dungp_fpt
Apr 26 2013, 06:53
wow, it's so amazing. I can do it in my own country

WalkerDown
Apr 27 2013, 15:35
You cannot run multiple servers on the same machine, neither by copying the whole folder, this is going to impact severely those ppl that are running expensive servers capable of running more than a single instance.
Please read here:

http://forums.bistudio.com/showthread.php?153993-No-more-multiple-servers-on-the-same-machine-WTF

Butterzeugs
Apr 28 2013, 15:42
Is dedicated available for linux yet?

SnR
Apr 28 2013, 18:19
Nope.

DJSean00
May 4 2013, 23:45
So with the changes to Stable and now we cannot run multi server's per box with the -server flag - doesn't this thread need a note on the first page?

Problem being, second server users get stuck on loading

Cheers
Sean

jefe_7pc
May 5 2013, 09:25
do you have any rpt entries for those attempting to login and failing to do so
Typical errors that folks forget, tend to overlook or cause are

Each server needs to be run in a different directory, for example

c:\Program Files (x86)\Steam\SteamApps\common\Arma3\
c:\Program Files (x86)\Steam\SteamApps\common\ArmA3_Dev1\
c:\Program Files (x86)\Steam\SteamApps\common\ArmA3_Dev2\

Dev_1 and Dev_2 are copies of the root A3 install

each one of these installs needs to have the

steam_appid.txt file in it
the content of that file is 1 line of code, which is

107410

and each server instance needs to be running on a different port

eg
server 1: 3202
server 2: 3302
server 3: 3402

each server needs inbound UDP firewall rules for the
port Number, (portnumber +1),+2,+3

Make sure that the contents of the various config files are correct, no typos etc

and use a -profile switch for each server, which you then store the config files in

Other things you can do is
rename the arm3.exe in the second, third servers to something else

For the following commandline params


"-profiles=d:\Games\ArmA3\A3_Test2" -config=d:\Games\ArmA3\A3_Test2\test_Vanilla.cfg -nosound -nosplash -port=3202 -netlog

you would have the following folder/file structure from d:\Games\ArmA3\A3_Test2



*** Using firedeamon ***

\Users\SYSTEM\Arma3Alpha.cfg
\Users\SYSTEM\SYSTEM.Arma3AlphaProfile
\Users\SYSTEM\SYSTEM.vars.Arma3AlphaProfile
d:\Games\ArmA3\A3_test2\Test_Vanilla.cfg

or normal user admninistrator


\Users\ADMINISTRATOR\Arma3Alpha.cfg
\Users\ADMINISTRATOR\ADMINISTRATOR.Arma3AlphaProfile
\Users\ADMINISTRATOR\ADMINISTRATOR.vars.Arma3AlphaProfile
Test_Vanilla.cfg

Anyone know if this really works?some try it?
I can create multiple servers whith this?
Tnx.
BYtes!!!

DJSean00
May 5 2013, 12:14
^^ Not now it doesnt.

Sean.

MarkMods
May 6 2013, 12:44
ARMA 3 Alpha simply restricts you running multiple game servers on 1 system, so just tuning some configuration files won't do the trick unfortunately.
After quite some effort we managed to remain offering ARMA 3 Alpha, though looking forward to the patch which will remove this limitation :)

Terox
May 7 2013, 16:05
So with the changes to Stable and now we cannot run multi server's per box with the -server flag - doesn't this thread need a note on the first page?

Problem being, second server users get stuck on loading

Cheers
Sean


Good point, I'll update the 1st post

ryandev00
May 7 2013, 20:56
ARMA 3 Alpha simply restricts you running multiple game servers on 1 system, so just tuning some configuration files won't do the trick unfortunately.
After quite some effort we managed to remain offering ARMA 3 Alpha, though looking forward to the patch which will remove this limitation :)

Nice contribution to this thread right here :yay:

Tankbuster
May 7 2013, 21:13
Nice contribution to this thread right here :yay:

Are you suggesting he's advertising? Given that he's posted the same thing in 3 different threads?

kamaradski
May 25 2013, 16:32
Hi all,

When running 2 servers on the same machine, how can i keep the MP mission folders apart ?

Lets say i would like to run 1 with only Invade&annex, and another with only wasteland, and then a third that contains only my training missions, without the risk of a restart and someone starting the wrong mission type ?

Cheers !

Soldat_Ryan
May 25 2013, 19:40
Hi all,

When running 2 servers on the same machine, how can i keep the MP mission folders apart ?

Lets say i would like to run 1 with only Invade&annex, and another with only wasteland, and then a third that contains only my training missions, without the risk of a restart and someone starting the wrong mission type ?

Cheers !
With "voteMissionPlayers = 0" the mission set by defauilt will restart automatically.

Terox
May 26 2013, 11:54
With "voteMissionPlayers = 0" the mission set by defauilt will restart automatically.

I am going to take you through a mini tutorial which i can then use later when I update the initial post


Providing you have the hard drive space, do the following
1) create 3 additional folder on your server

For ease of argument, lets call the "4" installs


D:\Games\A3_Master (Your Master copy that is never used and can be updated via steamCmd.exe without interruption to your game services)
D:\Games\A3_ServerNo1 (Invade & Annex server) Open ports UDP 3200-3205 for this server
D:\Games\A3_ServerNo2 (Wastelands Server) Open ports UDP 3220-3225 for this server
D:\Games\A3_ServerTest (Your training \ test server) Open ports UDP 3240-3245 for this server


A3_Master
2) Create a .cmd file with the following code in it
(Run this whenever you want to update your steam install, it will do it automatically)

@<hidden> off

SETLOCAL ENABLEDELAYEDEXPANSION

:: DEFINE the following variables where applicable to your install

SET A3Path=D:\Games\A3Master
SET STEAMLOGIN=mylogin mypassword
SET A3BRANCH="107410 -beta development"
:: For stable use "107410 -beta"
:: For Dev use "107410 -beta development"

SET A3Path=D:\Games\A3Master
SET STEAMPATH=***wherever Steam Is ***
:: eg. C:\Apps\Steam (NB no backslash at the end)

:: _________________________________________________________

echo.
echo You are about to update ArmA3
echo Dir: %A3Path%
echo Branch: %A3BRANCH%
echo.
echo Key "ENTER" yo procede
pause
%STEAMPATH%\steamcmd.exe +login %STEAMLOGIN% +force_install_dir %A3Path% +app_update %A3BRANCH% validate +quit
echo .
echo Your ArmA3 is now up to date
echo key "ENTER" to exit
pause

AND THEN RUN THE .CMD FILE
This will then update the master install to the latest DEV /Beta prior to you copying it to the other "Server Installs"





2) copy the following files and or folders from your Master folder to your No.1, No.2 and test server folders

Addons\
DirectX\
Dll\
Dta\
Keys\
Missions\
MPMissions\
ijl15.dll
msvcr100.dll
PhysX3_x86.dll
PhysX3Common_x86.dll
PhysX3Cooking_x86.dll
PhysX3Gpu_x86.dll
Steam.dll
steam_api.dll
steamclient.dll
tier0_s.dll
unicows.dll
vstdlib_s.dll
arma3server.exe
steam_appid.txt




A3_SERVERNo1
4) In the commandline (Firedeamon, desktop shortcut, TCAdmin) that starts this "Invade&Annex" server state the following command line arguments

-port=2302 "-profiles=d:\Games\A3ServerNo1" -config=Config_Invade.cfg -world=empty

5) Create a file named Config_Invade.cfg using notepad in your the No.1 server root directory

Copy the following into that file


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

// STEAM
steamport=2300;
steamqueryport=2301;

// GLOBAL SETTINGS
hostname = "My Invade & Annex Server: My Teamspeak address"; // The name of the server that shall be displayed in the public server list
//password = "ServerAccessPassword"; // Password for joining, eg connecting to the server
passwordAdmin = "AdminPassword"; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz'
reportingIP = "arma3pc.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 = "No1_Server.log";
verifySignatures = 2;

// 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[] = {
"",
"",
"",
""__________ SYSTEM MESSAGES __________",
"Welcome to My Annex&Invade Server",
"IMPORTANT Verify Signatures is enabled",
"",
"TS3 Server: teamspeak.mydomain.com",
"Web: www.mywebsite.com",
"TS3 Server: teamspeak.zeus-community.net", "",
"__________ END OF MESSAGE __________",
""
};
motdInterval = 5; // Time interval (in seconds) between each message



// JOINING RULES
maxPlayers = 40; // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.
// 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
voteMissionPlayers = 0;

// INGAME SETTINGS
disableVoN = 0; // If set to 1, Voice over Net will not be available
vonCodecQuality = 8; // Quality from 1 to 10
persistent = 1; // If 1, missions still run on even after the last player disconnected.

// MISSIONS CYCLE (see below)
class Missions
{
class InvadeAnnex
{
template="co_xx_invade&Annex.Stratis";
difficulty="Regular";
};
};


6) Add the required mission to this server's MpMissions folder, in this case (co_xx_invade&Annex.Stratis.pbo ) and make sure it matches with the mission name you placed in the above .cfg file

7) Now run the server

Give it 30 seconds or so to start up and report to Gamespy
Set your Gamespy browser filter to look for your server
Then Check Gamespy to make sure you can see your server listing

It will have created a "USER" folder in the No1.Server root directory
It will contain a sub folder named "Administrator" or "System" (depending on what application or method you used to start the server up with)
In that folder it will contain 3 files

******.Arma3AlphaProfile (This contains the difficult settings for your server, edit them as you see fit)
******.vars.Arma3AlphaProfile (Ignore this file, you can't do anything with it)
Arma3Alpha.cfg (this contains the bandwidth settings, edit this as you see fit)




8) Repeat the process for your other 2 servers, editing values, lines of code where applicable



A3_SERVERNo2

Command line params: -port=2322 "-profiles=d:\Games\A3ServerNo2" -config=Config_Wastelands.cfg -world=empty

Config_Wastelands.cfg


steamport=2320;
steamqueryport=2321;

Edit the rest of the config as you see fit, mission cycle etc

A3_SERVERTEST

Command line params: -port=2342 "-profiles=d:\Games\A3ServerTest" -config=Config_Test.cfg -world=empty

Config_Test.cfg


steamport=2340;
steamqueryport=2341;

Edit the rest of the config as you see fit, mission cycle etc



You should now now have

A system to quickly update your master install
3 virtual servers,
Each server should have it's required UDP ports open
Each server now uses its own (-profile) MpMissions folders
providing you have the system resources, all 3 servers can be run at the same time



Take note, to update the servers you can either
manually copy the master install files over after updating it
or write a simple .cmd file that robocopies to each install

WalkerDown
May 26 2013, 12:25
Why all this long tutorial and the copying of those files? You only need to copy the server exe and the config to the main game path subfolders:

Example with 3 servers:

[arma3_path]/folder_1/arma3server_1.exe
[arma3_path]/folder_1/config.cfg

[arma3_path]/folder_2/arma3server_2.exe
[arma3_path]/folder_2/config.cfg

[arma3_path]/folder_3/arma3server_3.exe
[arma3_path]/folder_3/config.cfg

then you can launch all those three with:

cd [arma3_path]
@<hidden> folder_1\arma3server_1.exe -port=3314 -config=folder_1\config.cfg -cfg=basic.cfg -name=Server -profiles=folder_1\logs\ -noPause -noSound
@<hidden> folder_2\arma3server_2.exe -port=3324 -config=folder_2\config.cfg -cfg=basic.cfg -name=Server -profiles=folder_1\logs\ -noPause -noSound
@<hidden> folder_3\arma3server_3.exe -port=3334 -config=folder_3\config.cfg -cfg=basic.cfg -name=Server -profiles=folder_1\logs\ -noPause -noSound

Terox
May 26 2013, 13:08
Why all this long tutorial and the copying of those files? You only need to copy the server exe and the config to the main game path subfolders:

Example with 3 servers:

[arma3_path]/folder_1/arma3server_1.exe
[arma3_path]/folder_1/config.cfg

[arma3_path]/folder_2/arma3server_2.exe
[arma3_path]/folder_2/config.cfg

[arma3_path]/folder_3/arma3server_3.exe
[arma3_path]/folder_3/config.cfg

then you can launch all those three with:

cd [arma3_path]
@<hidden> folder_1\arma3server_1.exe -port=3314 -config=folder_1\config.cfg -cfg=basic.cfg -name=Server -profiles=folder_1\logs\ -noPause -noSound
@<hidden> folder_2\arma3server_2.exe -port=3324 -config=folder_2\config.cfg -cfg=basic.cfg -name=Server -profiles=folder_1\logs\ -noPause -noSound
@<hidden> folder_3\arma3server_3.exe -port=3334 -config=folder_3\config.cfg -cfg=basic.cfg -name=Server -profiles=folder_1\logs\ -noPause -noSound

As and when I have time , i was going to try mlinking files and folders to the master such as the addons folders etc.
Having not actually tested this yet my concern was that for example, if server 1 was running, wouldnt it lock all the addons, like it does MpMissions, and therefore not allowing another server instance the useage of the master addons folder.

If this is working as you have described and doesn't "LOCK" the master files except the .exe then fantastic. Your solution is much better in most circumstances

A question though,

1) How do you define different keys for each server, running differing mods etc
2) Do you hae to shut down all servers to edit the content of the MpMissions folder




INITIAL POST UPDATED TO THIS POINT
(Major rewrite taking into consideration the release of the arma3server.exe and the ability to run multiple instances of the same server

WalkerDown
May 26 2013, 17:47
1) How do you define different keys for each server, running differing mods etc

The keys are stored in the @<hidden> folder given in the command line, so there shouldn't be any problem (at least I had no problem.. i'm using this for A2 as well);


2) Do you hae to shut down all servers to edit the content of the MpMissions folder

Only if you want to edit a mission that was there already when you started one of the shared folders. But there's a tip to circumvent it, if you're forced to do so and you cannot shut down all the server, you can copy the mission with another name, edit it, and launch the server with it (you only need to change the name in the config after all) ... then you can remove the old one when it's convenient to do so.

Terox
May 26 2013, 18:16
The keys are stored in the @<hidden> folder given in the command line, so there shouldn't be any problem (at least I had no problem.. i'm using this for A2 as well);

I wasn't aware you could run .bikeys from a mod folder
path being @<hidden>\keys ?

WalkerDown
May 26 2013, 19:06
I wasn't aware you could run .bikeys from a mod folder
path being @<hidden>\keys ?

I believed you were talking about the client signatures (that are stored in the addons folder..), the server sig files are all stored in the /Keys/ top folder, and none of them (so far) had the same name (they are named versus the mod) so I didn't found any problem... so far.

[KH]Jman
May 27 2013, 12:47
Here's an update to my old ArmA2 dedicated server tutorial which now covers ArmA3 using SteamCMD, no Steam client install required and running multiple instances on the same box.
http://www.kellys-heroes.eu/files/tutorials/dedicated/arma3dedicated.php

Terox
May 27 2013, 14:51
Jman;2402471']Here's an update to my old ArmA2 dedicated server tutorial which now covers ArmA3 using SteamCMD, no Steam client install required and running multiple instances on the same box.
http://www.kellys-heroes.eu/files/tutorials/dedicated/arma3dedicated.php

Thank's Kelly's. Have added a link to your tutorial in the first post


I believed you were talking about the client signatures (that are stored in the addons folder..), the server sig files are all stored in the /Keys/ top folder, and none of them (so far) had the same name (they are named versus the mod) so I didn't found any problem... so far.
Your system is a good choice in a lot of circumstances, but it has limitations, pro's and cons as do all methods

So for anyone reading this thread, I will go through the different Multi server options available to us

Multiple servers on the same machine
Each method requires the following / server instance

Port forwarding
Config_***.cfg
-profile=
-port=


METHOD 1


Setup

Each virtual server is a mirror copy of the folder of the originally installed server


Pro's

Very Robust
Runs it's own "Keys" folder
Runs it's own "MPMissions" folder
Allows you to run Development and Stable versions for the Alpha

Cons

Uses more disk space than the alternative methods
Requires more effort to update (be it done manually or having to write .cmd files to automate the process)
More likely to make mistakes especially when copying files manually


METHOD 2


Setup

This uses One server instance
The server install has Sub folders where the "virtual" arma3server.exe's are run
Each arma3server.exe is renamed to make it unique, eg. arma3server_1.exe; arma3server_2.exe


Pro's

Requires much less disk space than Method 1
Requires less effort to update (one click and the one install of ArmA3 is updated for every virtual server)

Cons

Uses a shared "Keys" folder
Uses a shared "MPMissions" folder
Does not allow for a combination of Stable & Development branch servers at the same time
MpMissions folder needs additional administration, tagging missions with correct @<hidden> tag etc



METHOD 3


Setup

This is a hybrid of method 1
All required files and folders, (apart from perhaps MpMissions, keys cfg's) are sym-linked (http://www.tested.com/tech/windows/39-using-symlinks-in-windows-for-fun-and-profit/)to the original master install


Pro's

Requires much less disk space than Method 1
Requires less effort to update (one click and the one install of ArmA3 is updated for every virtual server)
Very Robust
Can Run it's own "Keys" folder if desired
Can Runs it's own "MPMissions" folder if desired

Cons

Does not allow for a combination of Stable & Development branch servers at the same time
May require some additional .cmd files etc to tweak it to your requirements

This is probably the best option in most scenarios



FAQ

1) Why would you not want to share the "Keys" folder ?
If you have 2 virtual servers sharing the same keys folder and running the following scenario:

Server 1 is running -mod=@<hidden> and has MOD_A.bikey in the keys folder
Server 2 was running -mod=@<hidden> and has MOD_B.bikey

Then a client could run MOD_A on server 2 or vice versa.
This is not very desirable under any circumstances

2) Why would you not want to share the "MpMissions" folder ?
If you have 2 virtual servers sharing the same MpMissions folder and running the following scenario:

Server 1 is running -mod=@<hidden>
Server 2 was running -mod=@<hidden>

Then a client could attempt to launch @<hidden> missions on server 2 or vice versa because both @<hidden> missions reside in the same folder
This is problematic and ideally should be avoided where possible
MpMissions folder needs additional administration, tagging missions with correct @<hidden> tag etc



One additional issue to think about

If you want your Server icon to appear "Green" in the client's server browser, then you do not want to be running wioth a -mod line as this will create a yellow icon with a "?" next to your server for any client that is not running the same -mod line
this is not the ideal situation if youn want to run a public, open server for recruitment etc.

What does this mean to your Multi Server Setup?

Well if you want to run serverside only addon, eg @<hidden>, Zeu_A3briefing, Zeu_Serverskill then the only way to create your "Green Icon" in the server browser is to put these addons directly into your ArmA3\Addons folder.
This is not the most desireable setup, even though it is a paractical solution and will likely cause issues when updating your ArmA3 install regardless of the method used.
This can be worked around using .cmd and robocopy after the A3 Update and therefore requires additional administration time to set up which is the one thing you want to cut down on

pojo2k8
May 27 2013, 15:03
How do you get your server to show up with the correct type (Coop) or loaded mission in the server browser? I can get mine to show up with the description I've given it, but if you filter to Co-Op in the server browser it then drops out even though it's a co-op mission (Whole Lotta Stratis .63 co-op).

Thanks

Terox
May 27 2013, 15:07
How do you get your server to show up with the correct type (Coop) or loaded mission in the server browser? I can get mine to show up with the description I've given it, but if you filter to Co-Op in the server browser it then drops out even though it's a co-op mission (Whole Lotta Stratis .63 co-op).

Thanks

This is down to mission design and adding some code to the Description.EXT

class Header
{
gameType = COOP; //game type
minPlayers = 1; //min # of players the mission supports
maxPlayers = 10; //max # of players the mission supports
playerCountMultipleOf = 1; //OFP:Elite option.
};

Also make sure your ports are forwarded correctly and you are running the config you defined

Further Reading: http://community.bistudio.com/wiki/Description.ext

jxjcksn
May 27 2013, 23:35
TY Terox for a mind blowing comprehensive, notwithstanding, dynamically updated guide.
Without which, idiots, like me, would be asking ALOT more stoopid questions.
This guide has made A3 Alpha completely playable and viable for a Home Server / Client on the same machine for myself and 5 friends.

Kinsman
May 28 2013, 01:49
Just a headsup that your steam account only needs to be associated with ArmA3 for the install, not updates. I used my personal account to install the server, and have been using our SERVER account for updates ever since, which is in no way associated with ArmA3.
Also if anybody knows how to run the steamcmd everytime BEFORE the server starts, that would be awesome. I have automated the steamcmd with a script, but unsure how to get it to run each time the server starts, wihtout interfering with the startup of the server.

Terox
May 28 2013, 15:28
Just a headsup that your steam account only needs to be associated with ArmA3 for the install, not updates. I used my personal account to install the server, and have been using our SERVER account for updates ever since, which is in no way associated with ArmA3.
Also if anybody knows how to run the steamcmd everytime BEFORE the server starts, that would be awesome. I have automated the steamcmd with a script, but unsure how to get it to run each time the server starts, wihtout interfering with the startup of the server.

How are you starting your server ?
best way is to probably call the arma3server.exe with the required parameters at the end of the updater script and then just run that

tomturner
May 28 2013, 18:51
For a Win2003 server, I simply copied my c:\Program Files (x86)\Steam\*.* to my win2003 c:\Program Files\Steam\*.* (including the updated 0.58 Alpha). Then created the desktop icon on Win2003 using the target "c:\Program Files\Steam\Steamapps\common\Arma 3\arma3server.exe" -config=server.cfg -port=2302 and start in path to the Arma 3 folder in steam, everything loaded and runs just fine.

No need to use Steamcmd or run Steam at all.

Alternately, you can install Steam (only) as you normally would and copy your Arma3 folder from your gaming pc to the Win2003 as mention above.

I also copy my missions.pbo's from my mission editor saves into the same Arma3 MPMissions folder on the Win2003 server. (c:\Program Files\Steam\Steamapps\common\Arma 3\MPMissions)

Terox
May 29 2013, 14:49
For a Win2003 server, I simply copied my c:\Program Files (x86)\Steam\*.* to my win2003 c:\Program Files\Steam\*.* (including the updated 0.58 Alpha). Then created the desktop icon on Win2003 using the target "c:\Program Files\Steam\Steamapps\common\Arma 3\arma3server.exe" -config=server.cfg -port=2302 and start in path to the Arma 3 folder in steam, everything loaded and runs just fine.

No need to use Steamcmd or run Steam at all.

Alternately, you can install Steam (only) as you normally would and copy your Arma3 folder from your gaming pc to the Win2003 as mention above.

I also copy my missions.pbo's from my mission editor saves into the same Arma3 MPMissions folder on the Win2003 server. (c:\Program Files\Steam\Steamapps\common\Arma 3\MPMissions)

Thx Tom, thats the first post that states they can run A3 on Win2003

Squelch
May 30 2013, 18:46
Also if anybody knows how to run the steamcmd everytime BEFORE the server starts, that would be awesome. I have automated the steamcmd with a script, but unsure how to get it to run each time the server starts, wihtout interfering with the startup of the server.
There is a comprehensive list of Steam command line options that may help you here.

https://developer.valvesoftware.com/wiki/Command_Line_Options

Of particular note are the silent, and appstart switches. I believe it is possible to do just about everything including updates without ever entering the client GUI which is probably the most desirable on a server. You may need to introduce Steam to the dedicated server as a non steam app first though.

Kinsman
May 30 2013, 21:15
How are you starting your server ?
best way is to probably call the arma3server.exe with the required parameters at the end of the updater script and then just run that

I'm running it as a service using UGCC. http://www.brainless.us/products.aspx

So I have setup the Update Page so that we can manually update the server, but then figured it would be so much nicer if we could call the update script first, each time it starts.

Bit of a first world problem I know, but never hurts to ask right?

Terox
May 31 2013, 15:14
I'm running it as a service using UGCC. http://www.brainless.us/products.aspx

So I have setup the Update Page so that we can manually update the server, but then figured it would be so much nicer if we could call the update script first, each time it starts.

Bit of a first world problem I know, but never hurts to ask right?

This I believe would require you to be in session 0, because you need to run a cmd console window for the steam updater.
I use Firedeamon and have been trying to create a service to remotely launch the .cmd file which runs the A3 updater and to date have failed to do so.

This may be of interest to you. I don't fully undertand it
http://blogs.technet.com/b/askds/archive/2008/10/22/getting-a-cmd-prompt-as-system-in-windows-vista-and-windows-server-2008.aspx

kero81
May 31 2013, 20:35
Someone here maybe has an Idea to fix this?!

http://forums.bistudio.com/showthread.php?155933-You-were-kicked-of-the-Game

Also my Day would be fixed too. :-(

Terox
May 31 2013, 20:42
Someone here maybe has an Idea to fix this?!

http://forums.bistudio.com/showthread.php?155933-You-were-kicked-of-the-Game

Also my Day would be fixed too. :-(

Not enough info

Can you explain exactly what set up you hve for your server/client scenario

Eg dedicated server on remote box

using the arma3server.exe or arma3.exe with -server switch
stable or dev?

and much more

kero81
May 31 2013, 21:52
Yes sure. Here the Infos.

I use the arma3server.exe. In the Mainfolder i have an Folder for the server.cfg and the basic.cfg. I also have an dedicated Machine histed by Hetzner, where i have an second Steam Account with ArmA2/OA/3.

server.cfg

// GLOBAL SETTINGS
hostname = "[TWT]Testing|Regular|hostet by thewinningteam.de"; // The name of the server that shall be displayed in the public server list
password = ""; // Password for joining, eg connecting to the server
passwordAdmin = "xxx"; // Password to become server admin.


// 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[] = {

"this contains my mesages";
};
motdInterval = 30; // Time interval (in seconds) between each message

// JOINING RULES

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

// VOTING
voteMissionPlayers = 99; // 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 = 10; // Quality from 1 to 10
persistent = 1; // If 1, missions still run on even after the last player disconnected.

// MISSIONS CYCLE (see below)
class Missions
{
class Wasteland
{
template="mission1.Stratis";
difficulty="Regular";
};
};

basic.cfg

language="English";
adapter=-1;
3D_Performance=100000;
Resolution_Bpp=32;
Windowed=0;
MinBandwidth=157200000;
MaxBandwidth=813741824;
MaxMsgSend=92;
MaxSizeGuranteed=128;
MaxSizeNonguaranteed=64;
MaxCustomFileSize=0;
serverLongitude=-115;
serverLatitude=36;
serverLongitudeAuto=-115;
serverLatitudeAuto=36;

To start the Server i have the Serverstart.bat File:

start /high arma3server.exe -ip=78.46.99.70 -port=2342 "-config=xxx\server.cfg" "-profiles=xxx" "-name=Server1" "-cfg=xxx\basic.cfg" -noPause -noSound -cpuCount=2 -exThreads=1 -maxMem=2048
exit

I dont use the Dev-Patch on the Root Server and my Home PC. Is there anything else you need, please let me know. For this, thank you for your Post.

Greetings
Kero81 | Markus

Terox
Jun 1 2013, 11:03
@<hidden>

Your server.cfg doesnt have any steam ports defined (See the first post in this tutorial for more info)
Als0 check out the Port forwarding section
rethink your command line params.
Do you really need
-noPause
-noSound (Dedicated server exe's dont run sound or graphics)
cpuCount=2 -
exThreads=1
-maxMem=2048

-name is kind of redundant when defining "hostname" in your server.cfg

you may want to add -world=empty (For now this is kind of redundant as the only island that can possibly load is .stratis, however later that is going to change)

kero81
Jun 1 2013, 11:21
Problem solved. Restarting the Root Server fixed it! =) Im happy now. =)

Edit:
No Fu.k!! Same Problem again!!!!!!!!!!!!!!!!! But i guess i know whats wrong. I host three ArmA2 Wasteland, 1 ArmA2 Dayz and this ArmA3 Server. I guess the Problems are the Ports. Maybe its a Problem with the 2302 Port?!

@<hidden>
Later i will check the first Post and add the Ports in server.cfg. Thanks for your Post mate. =)

kero81
Jun 2 2013, 14:14
Finally, its working now. The Problem was my "The Haunted: Hells Reach" Server. This Server uses Port that ArmA3 needs to use. I had to switch Ports for the "THHR-Server" and now its working! =)

@<hidden>
Thank you very much for your Hind with the Ports! =) +1 for Terox.

Kinsman
Jun 3 2013, 09:03
This I believe would require you to be in session 0, because you need to run a cmd console window for the steam updater.
I use Firedeamon and have been trying to create a service to remotely launch the .cmd file which runs the A3 updater and to date have failed to do so.

This may be of interest to you. I don't fully undertand it
http://blogs.technet.com/b/askds/archive/2008/10/22/getting-a-cmd-prompt-as-system-in-windows-vista-and-windows-server-2008.aspx

Well actually UGCC runs everything as SYSTEM, including the steamcmd (from the update page). All I can't figure out is how to run steamcmd (and exit it) BEFORE the server starts, given the amount of time to update will always vary.

Terox
Jun 3 2013, 14:43
Well actually UGCC runs everything as SYSTEM, including the steamcmd (from the update page). All I can't figure out is how to run steamcmd (and exit it) BEFORE the server starts, given the amount of time to update will always vary.



Call the updater.cmd from UGGC and then attach the "start XYZservice code to the end of that script

This is how you get a service to run a console window (.cmd file)
Big thanks to killswitch for providing me with this information

Following are how you would set this up for firedeamon, am sure UGCC is similar

EXECUTABLE: C:\Windows\System32\cmd.exe

working directory: C:\PathToCmdFile
Parameters /C C:\PathToCmdFile\UpdateAndStartArmA3.cmd

and then the .cmd file itself

UpdateAndStartArmA3.cmd

Take note, all the "pause" commands have been removed from this copy of the updater.cmd that I listed in the initial post
The new lines have been added in blue, to highlight them
You would define the blue section of this line of code as the service name you are using to start your ArmA3 server in UGCC
SET A3Service=MyArmA3Service


@<hidden> off

SETLOCAL ENABLEDELAYEDEXPANSION

:: DEFINE the following variables where applicable to your install


SET STEAMLOGIN=mylogin mypassword
SET A3BRANCH=107410 -beta development
:: For stable use 107410 -beta
:: For Dev use 107410 -beta development
:: Note, the missing qotation marks, these need to be wrapped around the entire "+app_data......"

SET A3Path=D:\Games\A3Master
SET STEAMPATH=D:\apps\Steam
SET A3Service=MyArmA3Service

:: Make sure the service is stopped, otherwise you wont be able to update the files
Net stop %A3Service%


:: _________________________________________________________

echo.
echo You are about to update ArmA3
echo Dir: %A3Path%
echo Branch: %A3BRANCH%
echo.

%STEAMPATH%\steamcmd.exe +login %STEAMLOGIN% +force_install_dir %A3Path% +"app_update %A3BRANCH%" validate +quit
echo .
echo Your ArmA3 is now up to date

:: Now that the update is complete, lets start the server

Net start %A3Service%