Flodding
Member-
Content count
9 -
Donations
0.00 EUR -
Joined
-
Last visited
Content Type
Profiles
Forums
Wiki
Servers
Devblog
Everything posted by Flodding
-
Hi friends... I created a VERY VERY basic init.d Script to start and stop my server... here it is: #!/bin/bash ### BEGIN INIT INFO # Provides: a3exileserver # Required-Start: $remote_fs $network # Required-Stop: $remote_fs $network # Should-Start: mysql # Should-Stop: mysql # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Description: ArmA 3 Exile init.d Script by Flodding ### END INIT INFO # #======================================================================= #======== CONFIGURATION PARAMETERS ======== #======== MUST BE EDITED MANUALLY TO FIT YOUR SYSTEM PARAMETERS ======== #======================================================================= USERNAME=a3exile ARMA_DIR='/home/a3exile/server' NAME=instance_exile_altis CONFIGFOLDER=${ARMA_DIR}/instance_exile_altis CONFIG=${CONFIGFOLDER}/server.cfg CFG=${CONFIGFOLDER}/basic.cfg BEPATH=${CONFIGFOLDER}/battleye PORT=2314 PIDFILE=${ARMA_DIR}/${PORT}.pid SERVICE=arma3server BACKUPPATH=/home/a3exile/backup CPU_COUNT=2 BACKUPDAYS=3 MODS=@exile #MODS=@allinarmaterrainpack"\;"@esseker"\;"@exile SERVERMOD=@exileserver"\;"@a3xai OPTIONS="-port=${PORT} -pid=${PIDFILE} -cfg=${CFG} -config=${CONFIG} -name=${NAME} -mod=${MODS} -servermod=${SERVERMOD} -autoinit" #======================================================================= a3_start() { echo "" if [ ! -f $ARMA_DIR/$SERVICE ] then echo "$SERVICE not found! STOPPING !!!" echo "" sleep 1 exit else if pgrep -u $USERNAME -f $SERVICE > /dev/null then echo "$SERVICE is already running!" echo "" else echo "Setting Permissions to needed..." echo "" chmod -R 0755 $ARMA_DIR chown -R $USERNAME:$USERNAME /home/$USERNAME echo "Starting $SERVICE..." echo "" cd $ARMA_DIR su $USERNAME -c "screen -dmS $USERNAME ./$SERVICE $OPTIONS" > stdout.log 2> stderr.log & echo "Searching Process $SERVICE" echo "" sleep 8 if pgrep -u $USERNAME -f $SERVICE > /dev/null then echo "$SERVICE is now running." echo "" else echo "Error! Could not start $SERVICE!" echo "" fi fi fi } a3_stop() { echo "" if pgrep -u $USERNAME -f $SERVICE > /dev/null then echo "Stopping $SERVICE !!" echo "" killall -9 -u $USERNAME else echo "$SERVICE is stopped." echo "" fi } case "$1" in start) a3_start ;; stop) a3_stop if [ -f ${PIDFILE} ]; then rm -f ${PIDFILE} fi sleep 5s ;; restart) a3_stop a3_start ;; status) if [ -f ${PIDFILE} ]; then PID=$(< ${PIDFILE}) echo "PID-File existiert (PID=${PID})..." if [ -f /proc/${PID}/cmdline ]; then echo "Server Prozess scheint zu laufen..." fi fi ;; *) echo "$0 (start|stop|restart|status)" exit 1 ;; esac exit 0now i have a small problem regarding the log files... The server starts up normal, the logfiles are being created, but they are not filled with data. they remain at 0byte. Question is how to format line 60 so the files are filled with data? Im sure theres a problem with this ";<" shit but i cant figure qut how to format right. Thanks
-
Hello ! Im trying to create a vehicle trader selling only the original Arma vehicles in Kavala. The trader already shows up and i get a trading menu. Problem is that the trader wants to put the vehicle in my backpack. Heres what ive done: config.ccp /////////////////////////////////////////////////////////////////////////////// // Blackmarket Vehicles /////////////////////////////////////////////////////////////////////////////// class B_Heli_Transport_01_F { quality = 1; price = 6500; }; class B_Heli_Transport_01_camo_F { quality = 1; price = 6500; }; class B_Heli_Attack_01_F { quality = 1; price = 6500; }; class O_Heli_Attack_02_black_F { quality = 1; price = 6500; }; class O_Heli_Attack_02_F { quality = 1; price = 6500; };........ class BlackMarketChoppers { name = "Choppers"; icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa"; items[] = { "B_Heli_Transport_01_F", "B_Heli_Transport_01_camo_F", "B_Heli_Attack_01_F", "O_Heli_Attack_02_black_F", "O_Heli_Attack_02_F" }; };........ /** * Sells Community Items */ class Exile_Trader_CommunityCustoms { name = "Black Vehicles"; showWeaponFilter = 0; categories[] = { "BlackMarketChoppers" }; }; initPlayerLocal.sqf /////////////////////////////////////////////////////////////////////////// // Black Market Trader /////////////////////////////////////////////////////////////////////////// _trader = [ "Exile_Trader_CommunityCustoms", "WhiteHead_11", ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"], [3125.538086, 13171.773438, 0.00132278], 137.679367 ] call ExileClient_object_trader_create; Any tips to get this working ?
-
How do you check which mods are needed? Server Querys and Playerrequests, getting the list from master server doesnt seem to be a big deal. You just checking the supported keys?
-
Thanks. Im programming with Delphi 2k6. How is your progress in your launcher?
-
This still in developement ? Which programming language you using? Ive basic knowledge about the protocol to get informations from the servers and to get the big serverlist in Delphi. I have also created an Arma 2 Epoch launcher. Now i have started to create a launcher in XM8 style... Maybe we can work together to create something good.
-
Hey. Would love to see Mission Files for Bornholm and/or Tavi. Maybe, if you feel like you want, create Mission Files for a bunch of Maps. Much ppl use the "Arma 3 Map Pack" (A3MP), Esseker, Bornholm etc. I dont know how much work it is to create. I think its a lot cause the traders and spawnpoints are in the mission too... Alternative is to download from existing servers
- 84 replies
-
- aia
- custom map
-
(and 3 more)
Tagged with:
-
su $USERNAME -c "screen -dmS $USERNAME -L ./$SERVICE $OPTIONS >> stdout.log 2> stderr.log &"su $USERNAME -c "screen -dmS $USERNAME -L ./$SERVICE $OPTIONS >> stdout.log 2>> stderr.log &"su $USERNAME -c "screen -dmS $USERNAME -L ./$SERVICE $OPTIONS" >> stdout.log 2> stderr.log &su $USERNAME -c "screen -dmS $USERNAME -L ./$SERVICE $OPTIONS" >> stdout.log 2>> stderr.log &doesnt work