Jump to content
Sign in to follow this  
Aebian

ArmA 3 Server [Linux, Debian] won't load correctly

Recommended Posts

For some Reason my Server (Linux) don't load a Mission with Mods. I added our Modlist to the Servers root directory and created a startscript to start the server:

#!/bin/bashscreen 
./arma3server -config=/games/arma3_server/Steam/steamapps/common/AM3_Server/server.cfg  -mod="@cba_a3;@a3mp;@agm;@oh_t10;@hlc_ar15;@hlc_wp_mp5;@hlcmods_ak;@hlcmods_core;@hlcmods_m14;@leights_opfor;@mbg_killhouses_a3;@mrb_a3_voicestop;@ngs_capraia;@pla;@realarmor;@rh_m4_a3;@rh_pistol_a3;@rhs_afrf3;@rhs_afrusaf;@rhs_usf3;@sab_c130;@st_gi;@st_map_autobrightness;@st_stamina_bar;@sthud_a3;@sti_launchers;@strykerpack;@task_force_radio;@us_helos_kimi;@jsrs2;@mcc_sandbox_a3;@lsd_nvg;@aiss;@alive;@ascz_rhs_fix;@asdg_jr;@atlas_lhd;@burnes_mk10;@caf_ag;@caf_ag_audiopatch;@cariboufrontier;@cho_f35b;@ctab;@dar_hmmwv;@dar_maxxpro;@fa18x_black_wasp;@hiddenidentityv2;"

But If I'm starting the server I get this error:

#  0:04:12 String STR_MOD_LAUNCHER_ACTION not found

Maybe the error occurs because I have now a string ("") instead of the mods blank there?

Also If I remove the quotes that the mods-argument is no string anymore the log shows me that he loaded cba and some ohter mods.

But if someone loads a mission I get an error that mods are missing (AGM and RHS mostly)

Mods are in no subdirectory. So for e.g. a folder called @cba_a3 is there where the startup script of BI's server is.

Its impossible for me to use google (no joke) since I have no Internet atm except mobile data and my ISP enables my new internet just on February 11th.

So I finally reached BI forums and had to reload the editor more then twice to get the full editor.

Anyone knows how to fix the issue?

Edited by Alexander Knight

Share this post


Link to post
Share on other sites

If you use quotes, you need to put them around the entire mod parameter, like so:

"-mod=@cba_a3;@a3mp;@agm;@oh_t10;@hlc_ar15;.......@hiddenidentityv2;"

See if that works.

Share this post


Link to post
Share on other sites

I did what you said above for him and....

21:47:55 ManagerConfig()
21:47:55 String STR_MOD_LAUNCHER_ACTION not found

And I did what you said in the startup.sh file.

Added the quotation marks like you shown.

Edit - It launched the server, but won't recognize any of the mods.

This is what I see (other than a bunch of other stuff I don't understand)

2015/02/06, 21:53:16 Missing addons detected:
2015/02/06, 21:53:16   rhsusf_c_troops
2015/02/06, 21:53:16   RHS_US_A2_AirImport
2015/02/06, 21:53:16   rhsusf_c_hmmwv
2015/02/06, 21:53:16   rhsusf_vehicles
2015/02/06, 21:53:16   AGM_Medical
2015/02/06, 21:53:16   AGM_Core
2015/02/06, 21:53:16   task_force_radio_items
2015/02/06, 21:53:16   AIS_Penetration
2015/02/06, 21:53:16   agm_explosives
2015/02/06, 21:53:16   agm_movement
2015/02/06, 21:53:16   agm_interaction
2015/02/06, 21:53:16   dar_maxxpro
2015/02/06, 21:53:16 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.rhsusf_c_troops, RHS_US_A2_AirImport, rhsusf_c_hmmwv, rhsusf_vehicles, AGM_Medical, AGM_Core, task_force_radio_items, AIS_Penetration, agm_explosives, agm_movement, agm_interaction, dar_maxxpro
2015/02/06, 21:53:16 Warning Message: Problem occurred when saving profile data. The file may be set to read-only or can be blocked by another instance of the game (e.g., dedicated server).

Edited by JohnDoberman

Share this post


Link to post
Share on other sites

Welcome to Linux.

It has to look like this: "-mod=curator\;@401\;@task_force_radio\;@ai_mod\;@bwa3\;@allinarmaterrainpacklite\;"

Share this post


Link to post
Share on other sites
Welcome to Linux.

It has to look like this: "-mod=curator\;@401\;@task_force_radio\;@ai_mod\;@bwa3\;@allinarmaterrainpacklite\;"

Tested it and didn't even let me into the lobby.

Didn't list the mods in the Expansions tab of the server browser either.

#!/bin/bash
# Wrapper file to start the A3 server
# Server-side mods
# Start server
screen ./arma3server -config="/games/arma3_server/Steam/steamapps/common/AM3_Server/server.cfg" "-mod=curator\;@cba_a3\;@a3mp\;@agm\;@oh_t10\;@hlc_ar15\;@hlc_wp_mp5\;@hlcmods_ak\;@hlcmods_core\;@hlcmods_m14\;@leights_opfor\;@mbg_killhouses_a3\;@mrb_a3_voicestop\;@ngs_capraia\;@pla\;@realarmor\;@rh_m4_a3\;@rh_pistol_a3\;@rhs_afrf3\;@rhs_afrusaf\;@rhs_usf3\;@sab_c130\;@st_gi\;@st_map_autobrightness\;@st_stamina_bar\;@sthud_a3\;@sti_launchers\;@strykerpack\;@task_force_radio\;@us_helos_kimi\;@jsrs2\;@mcc_sandbox_a3\;@lsd_nvg\;@aiss\;@alive\;@ascz_rhs_fix\;@asdg_jr\;@atlas_lhd\;@burnes_mk10\;@caf_ag\;@caf_ag_audiopatch\;@cariboufrontier\;@cho_f35b\;@ctab\;@dar_hmmwv\;@dar_maxxpro\;@fa18x_black_wasp\;@hiddenidentityv2\;"  

Share this post


Link to post
Share on other sites

My supersimpel start script.

SCREENNAME=arma3
PORT=2302
PROFILENAME=server
CONFIG=server.cfg
BASEDIR=/home/astrell/server/arma3
SERVERDIR=$BASEDIR/bin
MODDIR=$BASEDIR/mods

######################################
cd $SERVERDIR
screen -AmS $SCREENNAME ./arma3server -name=$PROFILENAME -port=$PORT -config=$CONFIG -mod=curator\;@401\;@task_force_radio\;@ai_mod\;@bwa3\;@allinarmaterrainpacklite\;

Share this post


Link to post
Share on other sites
My supersimpel start script.

SCREENNAME=arma3
PORT=2302
PROFILENAME=server
CONFIG=server.cfg
BASEDIR=/home/astrell/server/arma3
SERVERDIR=$BASEDIR/bin
MODDIR=$BASEDIR/mods

######################################
cd $SERVERDIR
screen -AmS $SCREENNAME ./arma3server -name=$PROFILENAME -port=$PORT -config=$CONFIG -mod=curator\;@401\;@task_force_radio\;@ai_mod\;@bwa3\;@allinarmaterrainpacklite\;

I'll give it a try.

EDIT :

No work.

1:09:59 ManagerConfig()
1:09:59 String STR_MOD_LAUNCHER_ACTION not found

SCREENNAME=arma3
PORT=2302
PROFILENAME=server
CONFIG=server.cfg
BASEDIR=/games/arma3_server/Steam/steamapps/common/AM3_Server
SERVERDIR=$BASEDIR
MODDIR=$BASEDIR

######################################
cd $SERVERDIR
screen -AmS $SCREENNAME ./arma3server -name=$PROFILENAME -port=$PORT -config=$CONFIG -mod=curator\;@cba_a3\;@a3mp\;@agm\;@oh_t10\;@hlc_ar15\;@hlc_wp_mp5\;@hlcmods_ak\;@hlcmods_core\;@hlcmods_m14\;@leights_opfor\;@mbg_killhouses_a3\;@mrb_a3_voicestop\;@ngs_capraia\;@pla\;@realarmor\;@rh_m4_a3\;@rh_pistol_a3\;@rhs_afrf3\;@rhs_afrusaf\;@rhs_usf3\;@sab_c130\;@st_gi\;@st_map_autobrightness\;@st_stamina_bar\;@sthud_a3\;@sti_launchers\;@strykerpack\;@task_force_radio\;@us_helos_kimi\;@jsrs2\;@mcc_sandbox_a3\;@lsd_nvg\;@aiss\;@alive\;@ascz_rhs_fix\;@asdg_jr\;@atlas_lhd\;@burnes_mk10\;@caf_ag\;@caf_ag_audiopatch\;@cariboufrontier\;@cho_f35b\;@ctab\;@dar_hmmwv\;@dar_maxxpro\;@fa18x_black_wasp\;@hiddenidentityv2\;

Edited by JohnDoberman

Share this post


Link to post
Share on other sites

#!/bin/bash
# Wrapper file to start the A3 server

# Network settings used in -cfg param
networkConfig="network.cfg"

# Server configuration settings used in -config param
serverConfig="server.cfg"

# Server profile and difficulty settings used in -name param
profileName="server.arma3profile"

# Server-side mods
[color="#008000"]mods=[/color] [color="#FF0000"]<------your @folder here and you are putting ; athe the wrong spot @addon;[/color]

# Stop old server
./stop

# Start server
echo "Starting server..."
nohup ./arma3server -cfg="/$networkConfig" -config="$serverConfig" -name="$profileName" [color="#008000"]-mod[/color]="$mods" -maxmem=2047 -enableHT -enableSteamLogs -noSound > arma3.log 2>&1& echo $! > .pid

this is what your start file should almost look like ...

Edited by Dr Death JM

Share this post


Link to post
Share on other sites

Doberman is not experienced with Linux ^^

Since I can't administrate the Server atm cause of my bad internet.

I installed the 32-Bit Libs aswell since they are required for the SteamCMD to get the A3 Server via Steam ^^

He is using a normal User Account with bash shell & putty / ftp to administrate ^^

OS: latest Debian x64

DO you guys need more information?

Share this post


Link to post
Share on other sites

um, not sure what to say , but he needs to use putty and filezilla.

its the only way I know ..

if I get the time I can rar up some file's from my server ..

just compar them to yours before using ...

Share this post


Link to post
Share on other sites

That what he says ...

I don´t know what your doing wrong. It should work.

Sry, its ldd not lld. With that you become a list from a libraries the target file needs.

Share this post


Link to post
Share on other sites

Okay guys thanks for the help.

After hours of work (due to my mobile data) and some experimental testing I got the server with all Mods running. One of the problem was @AISS (an AI Enhancment System or something like that)

I now put all Mods into a "mods" folder.

For those who wanna tale a look at my startscript:

# Server-side mods
mods="mods/@cba_a3;mods/@agm;mods/@alive;mods/@ctab;mods/@hiddenidentityv2;mods/@task_force_radio;mods/@sthud_a3;mods/@st_gi;mods/@st_map_autobrightness;mods/@st_stamina_bar;mods/@oh_t10;mods/@mrb_a3_voicestop;mods/@realarmor;mods/@asdg_jr;mods/@rh_m4_a3;mods/@rh_pistol_a3;mods/@hlcmods_core;mods/@hlc_ar15;mods/@hlc_wp_mp5;mods/@hlcmods_ak;mods/@hlcmods_m14;mods/@sti_launchers;mods/@rhs_usf3;mods/@rhs_afrusaf;mods/@rhs_afrf3;mods/@pla;mods/@leights_opfor;mods/@caf_ag;mods/@dar_hmmwv;mods/@dar_maxxpro;mods/@fa18x_black_wasp;mods/;mods/@atlas_lhd;mods/@sab_c130;mods/@strykerpack;mods/@us_helos_kimi;mods/@ascz_rhs_fix;mods/@cariboufrontier;mods/@caf_ag_audiopatch;mods/@rh_acc;mods/@mbg_killhouses_a3;mods/@ngs_capraia;mods/@mcc_sandbox_a3;mods/@lsd_nvg;mods/@jsrs2"
# Start server
screen -S Alpha3 ./arma3server -cfg=/games/arma3_server/Steam/steamapps/common/AM3_Server/basic.cfg -config=/games/arma3_server/Steam/steamapps/common/AM3_Server/server.cfg -name=server -mod="$mods" -download

Share this post


Link to post
Share on other sites
Okay guys thanks for the help.

After hours of work (due to my mobile data) and some experimental testing I got the server with all Mods running. One of the problem was @AISS (an AI Enhancment System or something like that)

I now put all Mods into a "mods" folder.

For those who wanna tale a look at my startscript:

tbh ... that "start script" looks horrible

here is my little start script:

#!/bin/bash
while true; do
       modsPath="mods/"
       port=2312
       pid=arma3server_1
       profileName=server1


       mods="${mods}${modsPath}@cba_a3;"
       mods="${mods}${modsPath}@task_force_radio;"
       mods="${mods}${modsPath}@allinarmaterrainpack;"
       mods="${mods}${modsPath}@ares;"
       mods="${mods}${modsPath}@blastcore;"
       mods="${mods}${modsPath}@burnes_m1a2;"
       mods="${mods}${modsPath}@c130j;"
       mods="${mods}${modsPath}@fa18;"
       mods="${mods}${modsPath}@hmd;"
       mods="${mods}${modsPath}@jointrails;"
       mods="${mods}${modsPath}@mas;"
       mods="${mods}${modsPath}@kisystem;"
       mods="${mods}${modsPath}@legionweapons;"
       mods="${mods}${modsPath}@mcc_sandbox;"
       mods="${mods}${modsPath}@modularrealism;"
       mods="${mods}${modsPath}@swt_markers;"
       mods="${mods}${modsPath}@thirsk;"
       mods="${mods}${modsPath}@uniforms;"
       mods="${mods}${modsPath}@warfarethaiextaf;"
       mods="${mods}${modsPath}@xactionui;"
       mods="${mods}${modsPath}@xlib;"
       mods="${mods}${modsPath}@xmedsys"


       echo "Starting ArmA 3 server on port $port with following mods string: $mods"
       echo "Current directory: $(pwd)"
       echo ./arma3server -noSound -port=$port -pid=${pid} -cfg=basicServer.cpp -name=$profileName -config=server.cpp -mod="$mods" |tee -a ./log.${pid}.txt
       ./arma3server -noSound -port=$port -pid=${pid} -cfg=basicServer.cpp -name=$profileName -config=server.cpp -mod="$mods" |tee -a ./log.${pid}.txt
       echo "ArmA 3 server has stopped ..."
       for (( i=3; i>0; i-- ))
       do
               echo "Restarting in $i"
               sleep 1s
       done
done

one important thing: ArmA 3 for linux somehow does not enjoys absolut paths so be careful if you try something like "/PATH/TO/MODS/" and use relative paths instead (or just throw them into the server folder for nearly no problems)

another script of mine:

echo "[iNFO] preparing current mods dir"
echo "[iNFO]    Renaming everything to lowercase"
find ./ -depth -exec rename 's/(.*)\/([^\/]*)/$1\/\L$2/' {} \;
echo "[iNFO]    setting correct file mods using chmod"
chmod -R 777 ./
echo "[iNFO]    setting correct owner using chown"
chown -R steam ./


echo "[iNFO] synchronising copies"
#Server "server1"
echo "[iNFO]    updating server 'server1' mods"
rsync -hqru --delete ./ /home/steam/arma3/server1/mods/
echo "[iNFO]    updating server 'server1' userconfigs"
rsync -hqru --delete ./userconfig/ /home/steam/arma3/server1/userconfig/
#Repository "a3repo1"
echo "[iNFO]    updating repository 'a3repo1'"
rsync -hqru --delete ./ /home/a3sync/a3repo1/


echo "[iNFO] clearing synch artefacts"
#Server "server1"
echo "[iNFO]    clearing artefact 'userconfig/' at server 'server1' mods dir"
rm -R /home/steam/arma3/server1/mods/userconfig/
echo "[iNFO]    clearing artefact 'publish.sh' at server 'server1' mods dir"
rm -R /home/steam/arma3/server1/mods/publish.sh
#Repository "a3repo1"
echo "[iNFO]    clearing artefact 'publish.sh' at repository 'a3repo1' mods dir"
rm -R /home/a3sync/a3repo1/publish.sh


echo "[iNFO] setting correct CHMods"
#Server "server1"
echo "[iNFO]    setting chmods for server 'server1'"
chmod 777 -R /home/steam/arma3/server1/mods/
chmod 777 -R /home/steam/arma3/server1/userconfig/
#Repository "a3repo1"
echo "[iNFO]    setting chmods for repository 'a3repo1'"
chmod 777 -R /home/a3sync/a3repo1/


echo "[iNFO] setting correct Owner"
#Server "server1"
echo "[iNFO]    setting owner for server 'server1'"
chown -R steam /home/steam/arma3/server1/mods/*
chown -R steam /home/steam/arma3/server1/userconfig/*
#Repository "a3repo1"
echo "[iNFO]    setting chmods for repository 'a3repo1'"
chown -R a3sync /home/a3sync/a3repo1/*


echo "[iNFO] applying linux mod patches to servers"
#Server "server1"
mv /home/steam/arma3/server1/userconfig/x39/ /home/steam/arma3/server1/userconfig/X39/
mv /home/steam/arma3/server1/userconfig/X39/medsys_clientconfig.hpp /home/steam/arma3/server1/userconfig/X39/MedSys_ClientConfig.hpp
mv /home/steam/arma3/server1/userconfig/X39/medsys_serverconfig.hpp /home/steam/arma3/server1/userconfig/X39/MedSys_ServerConfig.hpp


echo "[iNFO] DONE!"

sadly this is not that dynamic like the other one ... but yeah ... thats mainly because i wrote it quite quick

still it should show how to setup mods in arma 3 linux propper

(note that depending on your setup it could require a different variant of update script for mods ... this is pretty much a way you should only go if you have lots of space and even then there are better solutions ... but its the simplest)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×