Jump to content

Search the Community

Showing results for tags 'dedicated'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • ARMA 3
    • DAYZ
    • TAKE ON MARS
    • ARMA 2
    • ARGO
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
  • OTHER BOHEMIA GAMES
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Die Hard OFP Lovers' Club's Topics
  • Japan in Arma's Topics

XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 41 results

  1. 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 Port Forwarding Battleye Configuration Location of files Server Admin Commands Running Dedicated Server and client on same machine Running multiple servers on one machine Re-locating MpMissions Bandwidth Optimisation 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 Addons and Mods Basic introduction Installation Miscellaneous Downloading & Addon Management Changelog 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: LAST UPDATED: Thursday 21st March 2017 up too and including this post ************************************************************************************ IMPORTANT UPDATE (16th March 2017) arma3server_x64.exe 64 (Released 16th March 2017) 1) Update your firewall rules to include the 64 bit binary 2) BattleEye changes 64 bit binary runs the beserver_x64.dll It also needs a BEServer_x64.cfg (Which is simply a renamed copy of your BEServer.cfg If you run an addon server and are having issues, then try running the 32 bit arma3server.exe until the addon makers have fixed their content ************************************************************************************ 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 No longer required if installing the server using the the Dedicated server package. (Required for Headless client or full client install) According to this THIS POST 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 Recommended to install install the 32 & 64-bit 2013 VC++ redist from https://www.microsoft.com/en-GB/download/details.aspx?id=40784 Create the following empty directories D:\Apps\Steam D:\Games\ArmA3\A3Master D:\Games\ArmA3\A3Files Download steamcmd.exe unpack it 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_x64.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 -mod= -mod= (Exaclty as it looks, an empty mod parameter so it looks something similar to the following "D:\Games\Arma3\A3Master\arma3server_x64.exe" "-profiles=d:\Games\Arma3\A3Master" -port=2302 -config=CONFIG_Vanilla.cfg -world=empty -mod= Add firewall rules for the UDP ports (See below for -Port information) Add firewall rule for the arma3server_x64.exe 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 These files contain minimal content, and require a lot of editing, so to make this easier, there are example files listed below which you can copy n paste from 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 You should now have successfully installed and be running a stable "Vanilla" (Default) server You can then set up Battleye, The ArmA3 anti cheat system (See the Battleye Configuration section below) *** SUPPORTING INFORMATION *** USEFUL LINKS, TOOLS & ADDONS Open the spoiler for more info TICKETS RAISED that need your Vote SELECTING DEVELOPMENT OR STABLE BUILD Open the spoiler for more info PORT FORWARDING (ArmA3) (Firewalls) Open the spoiler for more info BATTLEYE CONFIGURATION Open the spoiler for more info LOCATION OF FILES (When setting parameters) Open the spoiler for more info SERVER ADMIN COMMANDS Open the spoiler for more info RUNNING DEDICATED SERVER & CLIENT ON SAME MACHINE If you have followed these instructions, the 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 wont be able to connect to the server RUNNING MULTIPLE SERVERS ON SAME MACHINE Open the spoiler for more info RE-LOCATING MPmIssions (For example to a dropbox) Open the spoiler for more info BANDWIDTH OPTIMISATION Open the spoiler for more info TROUBLE SHOOTING Open the spoiler for more info EXAMPLE FILES Arma3_Steam_Updater.cmd CONFIG_Vanilla.cfg ****.Arma3Profile Important to note, the defaul;t B.I classes, Regular, veteran cannot be edited, so if you want to run an edited version, then edit the custom class and run that The following config is set to do just that Arma3.cfg ADVANCED CONFIGURATION -Profiles Open the spoiler for more info AUTO SERVER RESTART .BAT File Open the spoiler for more info Firedeamon Open the spoiler for more info ADDONS & MODS BASIC EXPLANATION Open the spoiler for more info WHITE-LISTING / BLACK-LISTING (How does it work) Open the spoiler for more info ADDON SIGNING Open the spoiler for more info INSTALLATION Open the spoiler for more info MISCELLANEOUS Open the spoiler for more info DOWNLOADING & ADDON MANAGEMENT Open the spoiler for more info CHANGELOG Open the spoiler for more info
  2. Hey Guys, So im trying to setup a dedicated server also to play on with my group. I use Ubuntu server and get the following problem when i load the mission: Even tho the mods are loaded: I made all files small letters already (removed capitals) and this is my startup line: ./arma3server -mod="mods\@cba_a3;mods\@cupterrainscore;mods\@cupterrainscwa;mods\@cupterrainsmaps;mods\@lingordingorisland;mods\@rhsafrf;mods\@rhsgref;mods\@rhssaf;mods\@rhsusaf;mods\@task_force_radio;" -port=2302 -name="FisherServer" -config="server.cfg" The folders contain the PBO files that are in the error, I tried to fix it for 5 hours already :/ Anyone have an idea where this is going wrong?
  3. Hi all. I am currently trying to make use of the parameters to dynamically add tickets to the Respawn Tickets Module so that players can adjust the number of tickets for their own session to control their overall time-frame. Currently, how the game works is based on sector Bleeding rather than actual respawn. Basically when sectors are taken to a certain percentage, the tickets will start bleeding. So player respawn isn't taken into account for the reduction in tickets. Module is set to 250 each per side, WEST, EAST. I used: // get the number from parameters // somehow get the difference, e.g. 500 - 250 = 250 if (isServer) then { [WEST, _difference] call BIS_fnc_respawnTickets; [EAST, _difference] call BIS_fnc_respawnTickets; }; But it seems that under a dedicated Server, the above command doesn't seem to reflect on all players, and most likely only on the server..... though I thought the command is supposed to work on a global level. And testing it out of the isServer if else statements, it resulted in additional of more tickets every time a player joins..... So I was wondering if anyone is able to explain how that function works or if I have used the wrong combinations... or I should have used either just the module or the function command. Thanks.
  4. I am trying to create a cutscene where a crate is dropped from the air. I use this crate as an 'actor' for the cutscene and delete it after it has served its purpose, after which I just simply have a second crate setup for the actual objective So far everything has been setup right, exepct for the parachute. Which doesnt seem to work properly on a dedicated server The way I have currently set it up is via a series of triggers. First I enable the simulation, unhide it and set its position using the SetPos command Then I proceed to add the parachute using this code: para1 = "B_parachute_02_F" createVehicle [0,0,0]; para1 setPosASL (getPosASL crate1); crate1 attachTo [para1, [0, 0, 0]]; para1 enablesimulation false; Now this seems to work fine in singleplayer, but on a dedicated server it either creates 2 parachutes or it puts the crate in the corner of the map, its really wierd and unreliable Any suggestions?
  5. Hello. When I try to add an event handler to a newly spawned vehicle, the event handler is NOT working. [_helicopter] remoteExec ["jey_helicopter_restriction",0,true]; jey_helicopter_restriction = { _vehicle = _this select 0; _vehicle addEventHandler ["GetIn",{_this call checkpilot}]; _vehicle addEventHandler ["Engine",{_this call checkengine}]; }; But if I add an event handler to an already spawned vehicle (that has been there from the mission start) it works : chopp3 addEventHandler ["GetIn",{_this call checkpilot}]; chopp3 addEventHandler ["Engine",{_this call checkengine}]; Any ideas?
  6. Hey everyone, we have released a first iteration of the Linux Dedicated Server as reported in SITREP #38. It's still a little bit experimental so we would very much appreciate your feedback and experience running it. Please report any bugs to our Feedback tracker (use the fields Platform, OS and OS Version to describe you distro as best as you can) while general feedback should go directly into this thread. There are some known issues so be aware of them when you run the server: Also note that java version 7 is required to run the server (even though it's disabled in-game) so you will have to set path to 'libjvm.so' correctly for your distro. Example usage on my debian: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386/jamvm ./arma3server -netlog -config=Arma3_Server.cfg Enjoy!
  7. I've very nice news about headless client (HC) which is variant of dedicated client for server use we will be rolling out soon (days) new test version for both linux and windows - no more steamclient nor steam account with game ownership needed for HC - HC needs only steam dedicated server binary and set of commandline params - auto-connection recognize & detection of HC by server (server needs some config to allow that) - multiple HC per server are supported - HC can be primary used to offload AI work and secondary for some script jobs - logic for mission & scripting operations with HC introduced - HC are autoassigned to slots - HC are not visible to players - HC are visible to admins - HC isn't counted against playercount in server list - BattlEye supported (1.36 RC2 released 28.11.2014 18:00 CET) today's DEV: •Added: Enable new headless client implementation - see https://community.bistudio.com/wiki/Arma_3_Headless_Client for more details note: known limitation, none (except some AI bugs, need repro/confirm) note: what needs to be somewhat tested/determined/improved/changed is disconnect & reconnect of HC and all related to that post bugs, feedback and ideas below
  8. Hello folks! I've just recently taken upon myself to make a vanilla mission for steam workshop again. I've been enjoying myself a lot while doing this - however, one little thing is really anoying me right now. When using triggers, i also have them from time to time play some of the music that is in the game - to "set the mood" so to speak, which is great for certain situations. Im not talking about custom sound files that i've added myself, but the music comes with the game itself. When testing on singleplayer (through the editor) or when hosting multiplayer (also through editor) - they fire as they should, and the music is played. The problem however is that when i've now moved the .pbo file to my dedicated server - the triggers fire alright, as the mission progresses as it should - but there is no music at all. Those music "snippets" really puts the little "extra" into the mission - and i have no clue on why they dont play on dedicated servers. I usually make missions for my group, using quite a lot of mods - and im doing the same there, except - on modded missions, the music actually plays - even on dedicated server. Anyone experiencing anything similar, or have a solution for me on this? Since its just the unmodded vanilla game, i just have no clue on why its not working. //Ulfgaar
  9. Hi, thanks for deciding to read me issue, so let's get started. I used to use my dedicated server to host the game and then play on it with my friends (dedicated server was hosting on the same pc as I'm playing on) and there was no issue with that. After a long time of playing, we took a break from Arma 3 around the begging of August.Now we came back and I see that there was an update more or less related to the Arma 3 Dedicated Servers, which broke my dedicated server - I'm using TADST and Arma 3 Dedicated Server from Steam Tools to host the server. Problem is that when I launch the server (server says that server launched properly) I can't see it on LAN, neither on the Internet - Direct Connection also doesn't work. All my ports are forwarded as they were before, the server is the same as before because I didn't change any options and yet before it worked and now it doesn't. Please, if you know any advices or ways to fix it and to be able to play again with dedicated server please share them with us https://pastebin.com/jpi0tkQx - Log from RPT file https://imgur.com/uFCix7y - Picture of server window @EDIT: SOLVED: There was a problem with server version, steam didn't update it by itself.
  10. Hello, seems that the dedicated server I'm running (rented from GameServers) is forcing a view distance maximum of 1500 m. I've read that is the default view distance for Arma 3 MP so this is by no means an issue with the server provider. I've come to understand that it should be possible to change the view distance the server is forcing the clients to use from the server's Arma3Profile and this is exactly what I've been trying to achieve but without any effect. Currently I've placed the following lines in the file server.Arma3Profile sceneComplexity=400000; shadowZDistance=100; viewDistance=12000; preferredObjectViewDistance=12000; terrainGrid=50; and then calling this file with the following server startup parameters: c:\path\to\arma3\arma3server.exe -profiles=C:\path\to\arma3\config -name=server -config=server.cfg Then when I join this (dedicated) server as a client the view distance is anyways capped to 1500 m and there's no difference if I as a client have set Overall and Object view distances to 12000 m. Would someone have some pointers to offer here? Is setting the view distance from the server profile supposed to work? Or do I need to begin thinking of setting the view distance on a mission to mission basis?
  11. Not sure if this is quite the right place for it. I'm running a liberation server running CBA, ACE3, TFAR, RHS AFRF, RHS USAF and RHS GREF. We also run a few server-side mods like Advanced Urban Rapelling, Advanced Towing, Enhanced Movement. We allow clients to use TRYK uniforms (Well right now it's passworded and checking is off but, that's all that we intend for them to run hence a few errors referencing it). The server starts and functions fine for a while but tends to crash at random while people are playing. At first we thought it was related to ACE cookoff and disabled that but it turned out to make no difference. I'm trying to post latest RPT but I keep getting an error on the forum so I'll try it on a reply or elsewhere in a moment. I have others after the same thing to compare if needed. Any help would be greatly appreciated as folks are getting mighty frustrated at losing all their assets because it crashed midway through an assault, or while returning to base, or just not having saved for a few minutes! Ok, some of the RPT. It was too large for most things to handle. I also notice this one may be due to our auto restart not seeming to work. Didn't notice that at first, but sometimes this happens after only an hour or two or server uptime. https://pastebin.com/AVqFZEGz
  12. Wasteland Reboot

    Hey guys Aren't you all tired of the all same wasteland servers? Sure you are!, so today I'm pleased to announce the Warfare Wasteland server, running on Esseker map, and utilizing RHS Mods. It is a wasteland like no other We have Nukes, Ballistic Missiles, Artillery, and much more all in the Beautiful Esseker map. Dedicated server 24/7. Come join us in the future of Wasteland. IP 66.30.254.215 Port 2302 Required Mods: Esseker, RHSUSAF, RHSAFRF, and Cup Terrains Core Team Speak same as the server IP
  13. hello, after 2 days of tests, i sadly found a lethal problem for dedicated server: memory usage is constantly increasing in presence of AI....when it goes over 2000mb server crash with "out of memory" error. at first i thinked it was my mission, and to exclude that i made a fresh new mission, just placed 3 playable units, and 6 rifle squads (8 men each) and 4 tank platoons (4 tanks each), all with a "move" waypoint and a "cycle" waypoint. sadly....even there, the memory usage slowly increase. seems to be directly related to how many AI is there, for example, here are the results of test of different missions: in an empty map with just that AI placed by editor...there should be no possibility of "external problems" (i use no mods, just pure vanilla for tests). to see the memory increasing i used " #monitor 1 " at start,, but noticed that windows task manager is even better to monitor it! hope that gets fixed soon, as it is game-breaking! image of error found in the morning after leaving server running in the night: https://ibb.co/k30HBa
  14. error thrown on server OS ''include file\x\cba\addons\main\script_macros .hpp not found." this only happens after we login and try to use #missions to change maps or missions. Since discovery i have; 1. updated/reinstalled CBA 2. reinstalled arma3server 3. updated "force_update_app 233780 validate" 4. moved cba in the load order to the top we have been forced to manually shut down and change the loaded mission at start to play different mission, obviously this is a hassle and not efficient. if anyone knows a fix please let me know. thanks again. A. Jackson Task Force Cerberus Commanding Officer S4 Lead
  15. hello! after adding few more AI units to my mission,running on dedicated server, i noticed that when another human player is in the server, things starts to rubberband really badly. strange thing is that if i'm alone, all is fine. first question is : is there a way to test my mission alone and get the rubberbanding like if there was another (or many more) player? second question is: what cause this problem ? and how solve it? i mean, i know its "too many AI", but i noticed differences between script spawned units and 3Deden placed, and more... thanks for any help!
  16. I'm spawning 6 helos (one at a time), flying them into a location, having them land, then spawning infantry on the ground nearby (to simulate them getting out of the helos), then having the helos fly off. It works fine in SP, but when I run it on a dedi server, the helos won't land, they just hover near the landing spot. I do have a bunch of helipads on the ground for them to land on. (More than one gets to the ground simultaneously, so I need multiple.) And as I said, it works fine in SP. I have to think it's something to do with the land command, that it doesn't work the same on a dedicated server. Here's the code called each time through a loop (once per helo spawn) - _airGrp= createGroup east; _Air1 = [getMarkerPos "spawnAir", 0, "O_Heli_Transport_04_covered_F", _AirGrp] call bis_fnc_spawnvehicle; // this spawns the aircraft and includes crew //_Air1 is the VEHICLE array, with the actual vehicle being the first element of the array!! (Select 0) _helo = (_Air1 select 0);//give it a shorter name! _wp1 = _airGrp addWaypoint [getMarkerPos "WPair1", 0]; _wp2 = _airGrp addWaypoint [getMarkerPos "WPair2", 0]; _wp2 setWaypointSpeed "limited"; _wp3 = _airGrp addWaypoint [getMarkerPos "WPair3", 0]; _wp3 setWaypointSpeed "limited"; _wp3 setWaypointStatements ["true", "this flyinHeight 25"]; while {(_helo distance2D (getMarkerPos "WPair3")) >= 100} do { sleep 2; }; sleep 2; doStop _helo; _helo land "land"; while {(getPosATL _helo) select 2 >=1 } do { // hint format ["alt = %1", (getPosATL _helo) select 2]; //debugging only!!!!!!!!!!!!! sleep 1; }; sleep 2;//time to unload (fictional) troops --spawn the infantry now-- sleep 25; _helo doMove (getmarkerPos "WPair4"); _wp4 = _airGrp addWaypoint [getMarkerPos "WPair4", 0]; _wp4 setWaypointType "MOVE"; _wp4 setWaypointSpeed "FULL"; I've had this issue in the past, but it's been years since I dealt with it, and I can't remember a solution! Any clues?
  17. Hi, I'm having a slight issue with my respawn setup. Specifically, the respawn of playable characters that are AI at the moment of death. For some reason, they respawn on the exact location where they died, instead of at the respawn module - it works correctly on listening server. There is one respawn module placed on the map called 'respawn_west' and in the description.ext, I use this: // Respawn type, see the table below respawn = 3; // Delay in seconds before playable unit respawns. respawnDelay = 10; // Respawn templates from CfgRespawnTemplates. You can combine any number of them together. respawnTemplates[] = {"Revive","MenuPosition","Spectator"}; // 0 to disable the score table (it can still be opened manually by pressing 'P' key). respawnDialog = 0; // When 1, the score table contains score of all playable units as opposed to players only. aikills = 1; respawnOnStart = -1; I hope there's a fix for this, as it's really annoying to have AI basically take over the map, dying 20+ times in the process.. As a temporary fix, is there a way to turn off respawn for playable characters that are currently AI controlled? or have a 'onRespawn' script for those?
  18. I have a decent understanding of locality. And I've read the Biki pages on BIS_fnc_MP and remoteExec. I understand that remoteExec is the newer, preferred approach, but that the other still works too. But I have not been able to wrap my head around the syntax/usage of either of these. So I'm asking for someone who really does understand them to expand on what the Biki has and explain the usage -not just syntax, but how to use it in different situations. A variety of examples (and why it's done the way it's done in each example, and the effects of the variations) would be awesome. Anyone able to do this? It'd be a real benefit to all of us who make multiplayer missions!
  19. Does anybody sets unit insignias via script? BIS_fnc_setUnitInsignia is not working globally although funtion description states it so. Each player can only see his own insignia. There was a comment in BI page which states [[ player, "111thID"], "BIS_fnc_setUnitInsignia", nil, true, true] call BIS_fnc_MP; can be used but even with this one I am getting same result :( Anybody has a solution?
  20. Alright, I have a small dedicated linux server with arma 3 server on it. We do some small scale zeus missions on it, But since day or 2 the server doesn't want to start up any more. Server starts up just how it should without any error, we use some mods like, ACE, CBA, Task force radio, Ares and RHSUSAF. But whenever someone want to join the server, the server see the id of the player etc. but the player stays in the loading screen (no lobby). Player can't get in at all, the server doens't even show any errors. Also tried a vanilla mission didn't work but a APEX campaign mission loaded without any problem.
  21. hi guys ! i've found an awesome script to enable dual primary weapons, that works really good, but has a little problem i noticed only after hours of play. here the script: ...at start it works perfectly, i can die & respawn, go on vehicles or on foot, do everything and it works perfectly. BUT.....after maybe 20 minutes i noticed my "weapon on back" was gone, and script bugged (doesnt asked me to put my weapon on back, as usually. from that day, it happened many other times, in fact i never noticed when the weapon disappear exactly, i just notice it only when i try to switch to my back weapon after many play time. i've tracked down the problem standing still with a "weapon on back" for a long time, and seems it disappear at some point, removing the weapon model and the actions to "take weapon back" or "put weapon on back". i'm pretty sure the problem is the loop that stop working, or maybe something to do with game auto-cleaner removing unused objects. any idea? thanks !
  22. Hello guys, My linux dedicated server seems to start correct, ports in firewall are set up correct as well but it is not shown in armas in game server browser. System Information: Hardware specs: netstat output: netstat -tulpn | grep 1400 I start the server with this script: My logfile of servers output (stdout and stderr) looks like this: server.cfg: I would be happy if anyone could give me a hint what could be wrong.
  23. Got a question I can't seem to find much on, however I've seen missions that do this... I've been trying to run a server for me and my friends to play when we hop on ArmA, right now I'm using RHS and ALiVE to do some guerrilla style missions, I've been using TADST's "local dedicated" server tool, I've enabled the autoInit "persistence" between player joins, but this obviously has it's downsides. - I'm running on my desktop, if I want to restart my PC, I have to close the server (duh) - I can't do an actual dedicated server, I don't want to pay for one or build a server box, so ALiVE's persistence is out of the question, I tried it's "single player save" but it is too much and crashes So this might be a dumb question, but is there a way I can run this server, and have the server save when I exit, then start back up when I re-join with my friends? Basically the same as ALiVE, but save the data local to my PC. Thanks, Envak
  24. I want to create a task that is not bugged on a dedicated multiplayer server. Is it enough to place a trigger make it blufor present and put isServer && this in the condition bar, then synching that trigger to task modules? Or do i HAVE to use scripts to create tasks?
  25. Hey Guys, I made a python script to automate updating my server and figured I'd share. I've only tested it on Python 3.6 but I think it would work for any version. Just update the directories and files section to where your stuff is located. The "Steam Workshop IDs.txt" file just contains the workshop item number and a human readable string which automatically gets changed to a lowercase name without spaces. It uses a symbolic link to add the mods to the server's addons folder instead of moving it so updating works without redownloading everything. I know theres a bunch of GUI server managers out there, but I don't like the complexity that adds and this way I can just SSH from any device to update/boot my server. Update.py import os import sys from subprocess import Popen, PIPE, CalledProcessError, DEVNULL, STDOUT, check_call import glob armaServerAppId = "233780" armaClientAppId = "107410" modsDirectory = "C:\\Users\\arma\\Desktop\\Arma\\Master\\addons\\" keysDirectory = "C:\\Users\\arma\\Desktop\\Arma\\Master\\keys\\" armaDirectory = "C:\\Users\\arma\\Desktop\\Arma\\Master" steamCMD = "C:\\Users\\arma\\Desktop\\steamcmd\\steamcmd.exe" steamContentDirectory = "C:\\Users\\arma\\Desktop\\steamcmd\\steamapps\\workshop\\content\\" + armaClientAppId + "\\" steamTempScript = "C:\\Users\\arma\\Desktop\\steamcmd\\tempUpdateScript.txt" steamAuth = "C:\\Users\\arma\\Desktop\\steamcmd\\auth.txt" workshopItems = "C:\\Users\\arma\\Desktop\\Arma\\Steam Workshop IDs.txt" userLogin = "" userPass = "" def updateServer(): print("Updating Server...") # Get the users login checkUserLogin() os.system(steamCMD + ' +login ' + userLogin + ' ' + userPass + ' +force_install_dir ' + armaDirectory + ' "+app_update ' + armaServerAppId + '" validate +quit') def checkUserLogin(): global userLogin global userPass if userLogin == "": userLogin = input("Steam> Username: ") if userPass == "": userPass = input("Steam> Password: ") def copyKeys(): for filename in glob.iglob(modsDirectory+'**\\*.bikey', recursive=True): os.system("xcopy " + filename + " " + keysDirectory + " /s /y") error = "" os.system('cls') try: with open(steamAuth) as f: for line in f: info = line.split(" ") if len(info) == 2: userLogin = info[0] userPass = info[1] except: pass while True: userInput = input("Main Menu \n1. Update Server\n2. Update Mods\n4. Update Keys\n4. Exit\n" + error + ">> ") error = "" if userInput == "1": updateServer() input("Press any key to continue...") os.system('cls') elif userInput == "2": # Get the users login checkUserLogin() # Clear the temp script file = open(steamTempScript, 'w') script = "@ShutdownOnFailedCommand 1\n" script += "@NoPromptForPassword 1\n" script += "login " + userLogin + " " + userPass + "\n" script += "force_install_dir " + armaDirectory + "\n" mods = {} # Loop through each item in the workshop file with open(workshopItems) as f: for line in f: modInfo = line.split(" ", 1) steamWorkshopId = modInfo[0].strip() modName = modInfo[1].strip() modFolder = "@"+modName.replace(" ", "_").lower() mods[steamWorkshopId] = {"name": modName, "folder": modFolder} script += 'workshop_download_item ' + armaClientAppId + ' ' + steamWorkshopId + ' validate\n' # Make a link to the downloaded content (way better than moving...) symLink = modsDirectory + modFolder if not os.path.exists(symLink): os.system('mklink /J ' + symLink + ' ' + steamContentDirectory + steamWorkshopId + '\n') script += "quit" file.write(script) file.close() # Run the script print("\n=====================================\nLogging into Steam...\n=====================================") with Popen(steamCMD + " +runscript " + steamTempScript, stdout=PIPE, bufsize=1, universal_newlines=True) as p: for line in p.stdout: line = line.strip() if line != "": if line.find("Downloading item") != -1: downloadingLine = line.split("Downloading item") if downloadingLine[0]: print(downloadingLine[0]) try: modIdLine = downloadingLine[1].strip().split(" ") steamWorkshopId = modIdLine[0] print("\n=====================================\nDownloading "+mods[steamWorkshopId]["name"] + " ["+str(steamWorkshopId)+"]...\n=====================================") except: pass else: print(line) # Automatically copy bikeys over print("\n=====================================\nCopying addon keys...\n=====================================") copyKeys() input("\nPress any key to continue...") os.system('cls') elif userInput == "3": # Search for any bikeys and copy them into keys folder copyKeys() input("Press any key to continue...") os.system('cls') elif userInput == "4": sys.exit(0) elif userInput == "": os.system('cls') else: error = "[ERROR] Unknown choice. Try again\n" Steam Workshop IDs.txt 450814997 CBA 463939057 ACE 708250744 ACEX 773131200 ACE Compat RHSAFRF 773125288 ACE Compat RHSUSAF 689845793 ACD 853743366 CUP Terrains CWA 583496184 CUP Terrains Core 583544987 CUP Terrains Maps 671539540 EM Buildings 753946944 Murshun Cigs 498740884 Shacktac 698078148 Spec4gear 696177964 VSM WARFIGHTERS ... and so on ...
×