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


    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • ARGO
    • YLANDS
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Die Hard OFP Lovers' Club's Topics
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI


PlayStation PSN














Found 63 results

  1. Hello, I thought the following script would remove all magazines from a soldier (be it a dynamically spawned AI or human player) upon getting killed but for reasons unknown to me nothing gets removed ever: _removeMagazinesFromAnyone = addMissionEventHandler ["EntityKilled", { params["_killed","_killer","_instigator"]; if (_killed isKindOf "CAManBase") then { (_this select 0) spawn { sleep 1; {_this removeMagazine _x} forEach magazines _this; }; }; }]; When testing the script with a mission on a dedicated server there's no script errors. What gives in this case? All in all I'm looking for a script that would remove everything* else from killed units except the containers (vest, backpack, uniform) they use to carry stuff. *though not necessarily main weapon since there's another script that makes picking one up not possible Edit: Solved by using in this case removeMagazineGlobal instead of just removeMagazine
  2. I have stumbled across an issue with the mission I am working on for my server, it works really well once tested on my client and in the editor. However, once I upload it for testing on the dedicated server, the mission goes wild. It makes units fall down through the ground after you spawn in and vehicles makes flips, they explode and start burning all across the map. Units and vehicles are affected, not static objects such as sandbags. Does anyone know what might be the cause of this issue? It really confuse me, because to my knowledge, there is nothing obvious that should be causing this issue. The units across the map keeps flipping up and down beneath the ground like this. None of my other missions behave in this way, I assume it is mission related?
  3. 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!
  4. Hello everyone, and thank you for taking the time. I have now spent quite a lot of time going through the forums and have a lot of experience with mission making and server management myself, however I have a query to anyone who might know more than me on this particular matter. Running a dedicated server and i am trying to make respawning work on the server in a particular behavior; Been looking for the following: - Respawn inside a particular vehicle on dedicated server, not on the ground. - Respawn countdown/timer. - Something like a spectator camera when you are waiting for the countdown/timer (watching a black screen or a map screen is not that fun, more fun to watch other players you play with in the same team/side). I have been trying to tackle this forever, but the respawn system in the editor seem to only work with respawning on the ground not in a vehicle. It works in the editor, but when I run it in the dedicated server everything glitches and blows up, and the respawn vehicle falls deep below the map you can't interact with it only as zeus. I understand a dedicated server needs external files such as a Description file for this. Does anyone know any scripts or how I can make this work? Cheers. --------------- EDIT: I managed to set up a file called OnPlayerRespawn with the following code and it works: player assignAsCargo heli1; player moveInCargo heli1; However, I can't figure out how to make a respawn timer for it or make a spectator camera for the code. Right now the second a player die they instantly respawn inside the vehicle. Any suggestions? --------------- EDIT 2: After hearing I can syncronize the respawn module simply with an empty vehicle, I am having a persistent issue that I have not managed to solve as of yet on my own. But the respawn window is empty, it says disabled and I get no options to choose from. An error that says at the bottom left too. https://i.gyazo.com/f6de357a48cb5f545a12ca521ca4bc01.png
  5. Hi, I need help! when I start the dedicated server using TADST, with the mod ASR_AI3, which I try to access a mission, it tells me the following error: Script \userconfig\asr_ai3\asr_ai3_config.sqf not found and take me out how can I solve that? try applying -filePatching, but nothing Can somebody help me?
  6. hello, I would like to start a new EXILE server. There are up to 70 players up, there are about 100 AI, and little mods. Which of the 3 servers in the picture is recommended? Thank you in advance for the answers.
  7. Well I'm trying to configure a standard, basic dedicated servcer in G-portal.com, big problem for me, all wiki inisde the portal was in German, i didnt change anything from the server installation, I cant see the server insiode steam launcher, neither a3launcher, cant connect using direct connection, not sure if i need to do anything else. Are someone here that use G-portal as server host, to give us a hand and help? Regards
  8. 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
  9. Arma 3 Linux server and mod updater (workshop) A python script that updates your server and mods. Just edit the variables in the "Configuration" region to your liking and run the script. :-) Features: Update Linux server binaries Download mods from the Steam Workshop Update mods from the Steam Workshop Converts all mod files and folders to lowercase Creates symbolic links with human readable names (e.g. 620260972 becomes @alive) Non-features (for now): Setting up the basic dedicated server Manage keys Requirements: Python 3 steamcmd Steam account with an Arma 3 license (only required for downloading mods from the workshop) License: MIT Download: Arma 3 Linux server and mod updater (workshop)
  10. Hello right ive been able to do the zeus for #AdminLogged however i also want to try and get a slot active for a member of the public without admin rights. ive tried the classic variable name job but that actually doesn't work. I know there is the GUID but im not going to know a random member of the public's UID. it works on the editor and local host but not dedicated. any ideas? thanks in advance ps. I am using TADST tool and the arma 3 server tool. and the curator mod is ticked
  11. Arma 3 - Dedicated Server Problem

    I had a problem for about three days. I downloaded the "ARMA 3 SERVER" tool normally, I also downloaded the application to easily manage the "TADST v3.1.0" server configurations, put it in the Arma 3 Server folder as it teaches, I opened the ports on router 2302, 2303, 2304, 2305, 2306 and other necessary doors, I opened up too many doors, my "UPNP" is enable. But whenever I start the "dedicated server" it appears in my "ARMA 3 LAUNCHER" on the "RECENT" tab, but when I look in the "INTERNET" tab it does not appear. My friends have tried direct connection, searching in the search box and nothing, just does not appear to them the server. I've already tried disabling the "FIREWALL" completely, I already tried it in virtual marking with "WINDOWS SERVER 2012 R2" and nothing, just appears in the "RECENT", wanted to know if there is any solution to my problem, because all places say the same thing about opening ports or disabling the Windows firewall.My internet provider follows the "PPPOE" system, does it influence anything? Help me please, i need this server :( Prints Screens: https://ibb.co/bQHkPHhttps://ibb.co/g2H8dchttps://ibb.co/fApzjHhttps://ibb.co/hNmejHhttps://ibb.co/e2vuJchttps://ibb.co/jS4Arxhttps://ibb.co/hTPFPH or https://ibb.co/bQHkPH https://ibb.co/g2H8dc https://ibb.co/fApzjH https://ibb.co/hNmejH https://ibb.co/e2vuJc https://ibb.co/jS4Arx https://ibb.co/hTPFPH
  12. hello, since tanks DLC seems that usual vehicle randomization no longer works on dedicated server! if i run the same mission from editor, it randomize correctly, but on dedicated, it does not! all offroads are red, all hatchbacks are white, all trucks are white ecc... any idea whats wrong and how fix it ? thanks!
  13. hello, i was pretty sure that placing -mod=@MODname means that you need that mod to join, otherwise you use -serverMod=@mod to allow join without that mod. with this line: -port=2302 "-config=C:\GAMES\Steam\steamapps\common\Arma 3 Server\TADST\DWAR---TEST-mods\TADST_config.cfg" "-cfg=C:\GAMES\Steam\steamapps\common\Arma 3 Server\TADST\DWAR---TEST-mods\TADST_basic.cfg" "-profiles=C:\GAMES\Steam\steamapps\common\Arma 3 Server\TADST\DWAR---TEST-mods" -name=DWAR---TEST-mods -filePatching "-mod=argo;curator;heli;jets;kart;mark;orange;tacops;tank;@CBA_A3;@Advanced Rappeling;@Advanced Urban Rappeling;@ace;@task Force Radio" -autoInit ...i was pretty sure that CBA , ACE and TFAR were needed to joi...but i can perfectly join without them !! so...how i force the players to have specified mods ? (i already use battleye and verify signatures V2). thanks!
  14. 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
  15. hello guys, i tried reading every guide (starting from the main one in this forum), but i encountered some problems really hard to kill. I tried the steamcmd system, but it doesnt let me write password to enter steam account, so i used steam "arma3 server" from tools, coupled with TADST, and it worked for almost 1 year. now with 1.82 update, i got troubles, in the form of apparently random server crash, client disconnection with "session lost " and "kicked by battleye, client not responding". it happens in a random range from 5 minutes to 3 hours, sometimes even more. after weeks of testing from default missions no mods to custom mission with mods, i thint its somehow related to using mods and server config , probably messed up even more by running many servers. so i wisht to stop use TADST (that i fear complicate things even more), and use the *.cfg files. I already readed many posts and tutorials about that, but i really need some help to translate all the info i readed in a solution tailored on my needs. really thanks for any help guys !
  16. Hey guys, Don't know if this is in the correct forum, if it's not I do apologize. Anyways, I and my unit have switched over from session per session basis missions to a full-on ALiVE campaign, we had a game server and we ran ALiVE with no problem, it was using about 6GB of memory with quite a large amount of vAI, around 250-300 total. Now we switched to a server box in order to have more space on our server and more flexibility. Now here comes the problem, little test missions we did were fine and now we're stuck at launching our ALiVE campaign. We've tried adding -MaxMem to the extra parameters on TADST which we use to launch the server but it did not work. We are capped at about 4GB of memory no matter how hard we try pushing it, our server box is 64 bit, we use the 64-bit .exe to launch the server, and we have about 24GB of RAM on our server box because we host our TeamSpeak and the rest there. My question is how do we get rid of this cap, we are using 20% of our server box capacity, there is a way since the game server we rented had 16GB and had no problem of going up to 7GB of memory being used on large campaigns. If you need any more information about our server or setup feel free to ask we just need to get this sorted, its causing issues and making our favorite game mode, quite unenjoyable. Thank you all in advance to those who respond. EDIT: We believe that this, in fact, causes the delay in any actions happening, whether it is us trying to hit the AI, people's guns are shooting long after they actually stopped, and sometimes people just de-sync. Despite the 120-140ms ping for most of our members (due to the distance of the server from us) we strongly do believe that the issue is down to the capped RAM, since once it goes up it is literally stuck at 4,403.53MB and it moves maybe by .20MB here and there. We also believe that it is due to the capped RAM because once the server reaches the cap, is when the delay and other issues happen. Or at least, we need to test if it is indeed the RAM before we request anything from our provider, but a cap definitely exists.
  17. I've got a little problem with my dedicated server and probably need a small hint on how to fix it. This is the starting situation: - Windows Server 2016 - running A3 stable dedicated x64 - with the mission Domination!A3 3.90 from Xeno - having a headless client connected - and with the ACE3 and RHS mods as well as ASR AI 3. - Important part of the startparameters: " -maxMem=8192 -cpuCount=8 -enableHT -hugepages -filePatching -bandwidthAlg=2 " So all in all, nothing out of the ordinary. However, this is my problem: Whenever I start the dedicated server and the mission, the servers ram fills up in the following hours - ignoring the "maxMem" parameter - until my virtual machine reaches its maximum (Arma3 is at 35GB at this point), then fills the pagefile until the system comes to a complete halt and gets unresponsive. This is the ram filling up over time (and manual Arma shutdown at the very end): The strange thing is that the mission is absolutely playable until the very end when the host runs out of ram. I can conntect to it, I can play on it and nothing is lagging at all. My question for now is: How can I find out the reason for this behaviour and how to stop it. Is there any tool / script / resource to see what exactly is filling up the ram? Or is it only possible to unload the mods one by one and see which may be the cause for this mess (if at all) ? That probably would take days, because the ram is filling up too slow for a quick test. I already talked to the mission creator and he mentioned that maybe one of the mods could be the problem. But as I just said, testing this could take days, if its mod related.
  18. Hi, I and my team is Taiwan clan, we use Chinese. We have some problem. I make a mission with another author, use stringtable to make this mission localization, But when I use dedicated server load this mission, it will show in English(in my own computer test it will show Chinese correct). I think this is dedicated server(arma3_server.exe) can't load arma3.cfg in User save folder. So dedicated is open up with English, is any way can edit server use language on TADST or dedicated server config ? Thx
  19. Hey everyone, I've been pulling my hairs out with this issue of (in my eyes) simply teleporting a group of players into a plane. The main problem is: It just randomly works for some players. But never for everyone. I asked around on the Discord, on ArmaDev subreddit and some other scriptmakers, and i received multiple methods that should work, but so far none actually teleported all players. I haven't tried the BI forums yet though. My setup 4x player squads (alpha / bravo / charlie / delta) 2x CJ130, (plane1 & plane2) Both planes start in objectHidden true Trigger 1: unhide planes, send hint to players that mission starts in 10 seconds Trigger 2: 10 seconds delay: Black out screen, show mission title screen Trigger 3: 5 second delay: Run script that does the following: skipTime to 23:00 (re)set overcast to 0 (clear skies) Load squad alpha & bravo in plane1 Load squad charlie & delta in plane2 sleep 2 Ungroup all players The script (currently) looks as follows: On Activation ret = execVM "missionscripts\loadup.sqf"; loadup.sqf if (isServer) then { 1 setOvercast 0; skipTime ((23 - daytime) % 24); 1 setOvercast 0; private _plane1Cargo = units alpha + units bravo; private _plane2Cargo = units charlie + units delta; { [_x, [plane1, _forEachIndex]] remoteExec ["moveInCargo",_x]; } forEach _plane1Cargo; { [_x, [plane2, _forEachIndex]] remoteExec ["moveInCargo",_x]; } forEach _plane2Cargo; /*Short delay*/ sleep 2; /* remove from groups */ {[_x] joinSilent grpNull;} forEach (playableUnits + switchableUnits); }; IMGUR album: https://imgur.com/a/c1Lwq
  20. Hi, i would like to addaction to object with remoteexec but i dont know how or where to place conditions of distance. I usually use addaction as this: this addAction ["Pick up INTEL","scripts\add_intel.sqf",[],1,false,true,"","_this distance _target < 2"]; And i would like to merge this with remoteexec addaction [this,["Pick up INTEL", {"scripts\add_intel.sqf"}]] remoteExec ["addAction",2]; Thanks for help!!
  21. 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 ...
  22. Hello, I need some help with this. I want to save a players position, loadout and maybe group when a player leaves the server. As we have some problems with people crashing or having IP resets or just needing to restart, this would be really neat. I looked at onPlayerDisonnected and the EH PlayerDisconnected, but I don't really know where to save the data, and how to get the position. Any help would be appreciated! -Dj
  23. hey guys, i have created a gamemode for dedicated servers, but right now its not possible to continue it after the server shut down. Before we tested on a dedicated server, the mission was meant to be hosted directly from arma, so we could hit "save & exit" but that obviously didnt work. Here comes my question: what stuff needs to be stored in my database and what gets saved by arma? There are quite some scripts with many variables that need to be saved, as well as the position of vehicles on the map and their condition. Hope you guys can help me. Thanks in advance
  24. ABOUT THE SERVER Our public Insurgency server is a Dedicated Server built to run fun ArmA 2 style Insurgency ACE & ACRE missions, but with ArmA 3 with updated and modern versions of addons such as ACE and Task Force Radio. For those who played ACE and ACRE Insurgency servers back in ArmA 2, we are trying to revive the gameplay style along with other servers doing the same to provide a fun and realism experience on a public server. This server will be up 24/7 unless updates or restarts are needed. The server may under go mission changes as we like to switch the terrain up from time to time, so don't worry about having to play the same terrain over and over again. We will keep the mission style to insurgency but some missions may have a slight difference depending on the scripting that went into the different missions. These missions are pulled from mission devs that are not part of our group, but will be modified for a better experience, such as adding ACE, Task Force Radio and CUP Terrains. HOW TO JOIN To join our server, all you need is the required addons and the latest version of ArmA 3. REQUIRED ADDON LIST ACE3 ACEX CBA A3 CUP_Terrains_Core CUP_Terrains_Maps Task Force Radio HOW TO PLAY For those of you new players that have not played these style of missions, we will describe how to play. Insurgency is a mission of clearing red grid squares that indicates towns or buildings, within those red markers are hostiles. You objective is not only to clear red squares to turn them into blue or green squares, but also retrieve intel of ammo caches in the region. Intel can be in forms of cell phones, radios, documents, pictures and even talk to civilians for intel. Once intel is acquired, red question marks with a number next to it will pop up on the map. Those question marks will give the approximate distance in meters of the cache from the marker. Once you find the cache, you are to detonate the cache. Once all 12 ammo caches are detonated around the map, the mission will end and restart or move on to the next insurgency map. If players do not want to cache hunt anymore, that is fine. There are also randomly generated side missions that generate around the map, such as, Eliminate HVT's, destroy IED factories, Destroy enemy convoy, Capture and much more. These missions will also give the players rewards such as new vehicles and equipment back at main base if the task has been a success. Being part of our server with the Task Force Radio addon requires all players to join our Teamspeak server for communication. This allows players to have a better realism experience having to use radios to communicate from one side of the map to the other. This also allows better organization in the server for multiple teams of people to communicate with out stepping over each other with default in-game communications. SERVER INFORMATION Game Server IP = Game Server Port = 2318 Teamspeak IP = Unit Website = http://www.1strb.us