-
Content count
34 -
Donations
0.00 EUR -
Joined
-
Last visited
Community Reputation
16 NeutralAbout massasster
-
Rank
Bambi
Personal Information
- Homepage
Recent Profile Visitors
1444 profile views
-
What exactly needs stripping out ? Pop it into the editor and just delete whatever you don't want. It's not rocket science.
-
dms just gets installed like normal, added into the addons folder serverside and look a few posts up for how to use the .h file for loot
-
Ubuntu - Server restarts + server reboot - the easy way
massasster replied to massasster's topic in Linux
my guess is you created your script inside windows and uploaded it to your linux box you have two options you can use a windows to unix conversion tool , like http://www.tutorialspoint.com/unix_commands/dos2unix.htm ; http://stackoverflow.com/questions/82726/convert-dos-line-endings-to-linux-line-endings-in-vim OR: you can create a new .sh in linux properly through SSH --------------edit also your formatting is wrong #!/bin/bash #check if server is running while true; do if pgrep arma3server >/dev/null 2>&1 then echo "Exile running" else echo "Exile not running sending restart" cd /home/steam/arma3 screen -dmS exile sleep 5 screen -p 0 -S exile -X stuff "bash ./home/steam/arma3/start-exile" fi echo "sleeping 2 minutes" sleep 2m done Wasti's idea of running things in screen is fine , but not really necessary for the script to function. Really depends on how much you will be accessing the server and if the script "hint" messages will be in the way, and if that's the case, you can simply "mute" the script by removing all the echo commands. -
Using cron jobs has so many issues.. A bit ago I asked Chris (Infistar) to add an option to infistar to #shutdown the server after xxx minutes. I got away from cron because it's a set time the server is going to reboot and doesn't take into account any server crashes that cause the server to reset (and the timer). moved on to simple script to monitor the server and start it when needed #eck if server is running while true; do if pgrep arma3server >/dev/null 2>&1 then echo "arma3server running" else echo "arma3server not running sending restart" cd /home/steam/steamcmd/arma3server2/ ./arma3server2 -maxmem=2047 -config=server7.cfg -port=2315 -autoinit -mod="@Exile;@AllInArmaTerrainPackLite;" -servermod="@ExileServer;@A3XAI;@infistar;@AllInArmaTerrainPackLite;"& fi echo "sleeping 2 minutes" sleep 2m done
-
When I ran it I ran it with AIA - another server owner asked about running it with the CUP version, I said it shouldn't be too hard to swap the header information in the SQM file for the CUP dependencies rather then the AIA package. Create a CUP verison of United Sahrani, copy the header (top of the SQM file) and paste that over the header info in this SQM. open it inside the editor and it SHOULD function - not tested it myself, but he did state that he did get it working with CUP as far as required mods, you can get away with as little as AIA / EXILE - so long as you take out that MAS_URAL requirement but I was also running this with Ryan / A3xAI / missions / ( Mas Vehicles / Mas Weapons and tryk just for a change of pace). Always better to add your own spin on it.
-
RE: the loot config for the map inside the server config.pbo - place the sahrani.h file modify the config.cpp /** * config * * Exile Mod * exile.majormittens.co.uk * © 2015 Exile Mod Team * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. */ class CfgPatches { class exile_server_config { requiredVersion = 0.1; requiredAddons[] = {}; units[] = {}; weapons[] = {}; magazines[] = {}; ammo[] = {}; }; }; class CfgBuildings { #include "CfgBuildings_Sahrani.h" }; class CfgLootTables { /** Result of 100 rounds: hgun_Pistol_heavy_01_F Exile_Item_Moobar Exile_Item_ChristmasTinner Exile_Item_Surstromming Exile_Item_Can_Empty 11Rnd_45ACP_Mag FlareGreen_F Exile_Item_PlasticBottleEmpty Exile_Item_MountainDupe ItemGPS FlareYellow_F Chemlight_blue hgun_Pistol_heavy_02_F Exile_Item_ToiletPaper Exile_Item_Can_Empty optic_ACO_grn_smg Exile_Item_PlasticBottleEmpty 11Rnd_45ACP_Mag FlareYellow_F U_C_Poloshirt_tricolour Exile_Item_Can_Empty hgun_Rook40_F B_AssaultPack_rgr muzzle_snds_acp B_OutdoorPack_blu Exile_Item_CookingPot hgun_Rook40_F hgun_Pistol_heavy_02_F Chemlight_yellow Exile_Item_BBQSandwich Exile_Item_SausageGravy
-
Arma is just so much of a time waster for me, I end up dumping half of my days off into doing something stupid with the server. FYI if you are not running MAS vehicles - remove "mas_ural", from the mission.sqm - forgot to do that - my bad
-
Dumping my custom map / loot spawns and a DMS mission system designed to work on this map.. I'm done hosting Arma http://es-gamers.com/sahrani.zip
-
Ubuntu - Server restarts + server reboot - the easy way
massasster replied to massasster's topic in Linux
Someone needed a more detailed explanation of how to create the start up - so I'll leave this here incase anyone else needs it. (ALSO: I bugged Chris (Infistar) to add #shutdown to the tool, so manual cronjob of 6 hour restart is no longer required for me. I could never get the default shutdown built into exile to function so I was forced to use cronjob to do it.) you are basically going to make a script inside a folder, doesn't matter where you create the script i use VIM for this purpose I'm going to pretend that my install directory is at /home/steam/arma3server so i would cd /home/steam/arma3server vim restartscript.sh (press in the insert key on the keyboard to begin to type) ---------------------------------------------------------------------------------------------- #!/bin/bash #check if arma server is running COUNTER=0 while [ $COUNTER -lt 10 ]; do if pgrep arma3server >/dev/null 2>&1 then echo "arma3server running" else echo "arma3server not running" cd /home/steam/arma3server ./arma3server -maxmem=2047 -config=server7.cfg -port=2302 -autoinit -mod="@Exile;@AllInArmaTerrainPackLite;" -servermod="@ExileServer;@A3XAI;@infistar;@AllInArmaTerrainPackLite"& fi echo "sleeping 2 minutes" sleep 2m done ------------------------------------------------------------------------------------------------------- at that point press escape - and save the file using command :w will have have to chmod the file chmod +x restartscript.sh then from there you can just execute your server restart script, the "&" keeps the server (or script, or whatever) going after you close out the terminal window cd /home/steam/arma3server ./restartscript.sh & this will continue to run until you reboot the linux box - should be no need to restart the box, but you might want to look at my example of startup's in the event something does happen on how to start this script on server reboot -
Only happened once, to a single player, player stated he was ALT+TABBED out of the game at the time it happened, and infistar reported a "invisibility hack", assuming because the character never spawned. Applied the suggested fix, will let you know
-
This new version and Linux are not playing well at all...
-
that's just great... us linux folks are .. screwed?
-
this doesn't explain the linux version problems
-
some people are reporting they are editing the way the database functions.. i don't have access to these configs because it is a shared box that my database is hosted on... really F`ing frustrating..
-
sorry, i meant the known database error and exile team working to fix it