Jump to content

How to make shortcut for quick join my server ?


J.Dominic

Recommended Posts

Use this simple template and save it as .bat file, set paths, ip, port and mods to launch and you're good to go

@echo off
echo ===============================
echo Server Join Batch
echo --------------------------------
echo Author: Snow [AGS]
echo ===============================
echo JOINING SERVER IN .....
timeout 0

::===============================================================================================================================================
::Configuration| Edit these to the proper file paths ==============================================================================================================================================
::---> ===============================================================================================================================================
:: YOUR Arma 2 Operation Arrowhead Directory
set arma2oapath=PATH TO ARMA 2 OA i.e. C:\Program Files (x86)\Steam\steamapps\common\Arma 2 Operation Arrowhead
:: YOUR Arma 2 Directory
set arma2path=PATH TO ARMA 2 i.e. C:\Program Files (x86)\Steam\steamapps\common\Arma 2
:: Server IP    
set IP=127.0.0.1
:: Server Port 
set PORT=2302
:: Required Mods [ Ex. @DayZ_Epoch;@DayZ_Namalsk ]
set MODS=@DayZ_Epoch;
::---> ===============================================================================================================================================


::===============================================================================================================================================
:: DO NOT EDIT ANYTHING BELLOW THIS LINE OR YOU WILL BREAK THIS FILE ==============================================================================================================================================
::===============================================================================================================================================


start ""  "%arma2oapath%\ArmA2OA_BE.exe" 0 0 -skipintro -mod=%MODS% -noSplash -noFilePatching -world=empty -connect=%IP% -port=%PORT% "-mod=%arma2path%;expansion;"

@exit


Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

@Antichrist, How would I make it so that this file works with a server password?

 

EDIT: Nevermind, I got it working.

@echo off
echo ===============================
echo Server Join Batch
echo --------------------------------
echo Author: Snow [AGS]
echo ===============================
echo JOINING SERVER IN .....
timeout 0

::===============================================================================================================================================
::Configuration| Edit these to the proper file paths ==============================================================================================================================================
::---> ===============================================================================================================================================
:: YOUR Arma 2 Operation Arrowhead Directory
set arma2oapath=PATH TO ARMA 2 OA i.e. C:\Program Files (x86)\Steam\steamapps\common\Arma 2 Operation Arrowhead
:: YOUR Arma 2 Directory
set arma2path=PATH TO ARMA 2 i.e. C:\Program Files (x86)\Steam\steamapps\common\Arma 2
:: Server IP    
set IP=127.0.0.1
:: Server Port 
set PORT=2302
:: Required Mods [ Ex. @DayZ_Epoch;@DayZ_Namalsk ]
set MODS=@DayZ_Epoch;
:: Server Password
set PASS=1234
::---> ===============================================================================================================================================


::===============================================================================================================================================
:: DO NOT EDIT ANYTHING BELLOW THIS LINE OR YOU WILL BREAK THIS FILE ==============================================================================================================================================
::===============================================================================================================================================


start ""  "%arma2oapath%\ArmA2OA_BE.exe" 0 0 -skipintro -mod=%MODS% -noSplash -noFilePatching -world=empty -connect=%IP% -port=%PORT% -password=%PASS% "-mod=%arma2path%;expansion;"

@exit
Link to comment
Share on other sites

  • 10 months later...
4 hours ago, Nekuan said:

Just tried this out but all I get is "Session lost". Any Ideas whats wrong?

its because of the new arma 2 update.  There is a way to fix it, i just havnt figure out how myself yet.  here is a post that explains it

https://forums.bistudio.com/topic/186695-a2a2oa-patch-18122015/?p=2952771

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...