How to set the first map after reboot?

|Kod||Kod| Posts: 3Player
edited February 2016 in Server Support
Hi, as title, i wish to know how to set the first map on server after reboot... I tried to change position to "MapRotationList=....." on AAGame.ini but it's not enough. After reboot i've always Checkout as first map.

Thank you.

Comments

  • GunR|DrerexGunR|Drerex Posts: 65Player
    You will need to edit the command line to set your first map.
    Untitled_zpsqiypm7mn.png

  • =U^S=_Mason=U^S=_Mason Posts: 167Beta Tester
    Within the command line you will see a map name ie: FLO_Checkout_EX change that map to the one you want it to start on.
    "9 people make up over 50% of all of the posts on this forums.
    The VAST majority of our players just play."
  • |Kod||Kod| Posts: 3Player
    :smile: How to "edit" command line? Where can i find it?
  • GunR|DrerexGunR|Drerex Posts: 65Player
    Is this your personal server or are you using a hosting company? If this is your personal server, you could write a bat file to start your server. If you are using a hosting company, there should be a section in your control panel to edit the command line.

    To write your own bat file, I edited a bat file that Weakness created a little while back. Works well for what I need it for. Copy the text below from ECHO OFF to :END. Open notepad and paste the text into notepad. At the bottom, edit the path to AAGame.exe, your server username, password, AuthServerIP (Your global IP), SteamServerIP (Your NAT address to your server "192.168.xxx.xxx"), MULTIHOME address (Your NAT address to your server), and make sure you have the correct forwarded ports.

    Once you have made all of the text edits that are needed to be done, save the file as ServerStartup.bat. You can name the file whatever you want to name it. Now if you added the correct information for your server (IP addresses, user, pass, etc.), you should be good to go. Now all you would have to do is double click the bat file, select your map and hit enter.




    ECHO OFF
    set map=""
    :MAPLIST
    CLS
    ECHO.
    ECHO ...............................................
    ECHO Please Select your Map to Start
    ECHO ...............................................
    ECHO.
    ECHO 1 - FLO_Bridge_EX
    ECHO 2 - FLO_BridgeNight_EX
    ECHO 3 - FLO_Checkout_EX
    ECHO 4 - FLO_ColdFront_C4
    ECHO 5 - FLO_ColdFront_EX
    ECHO 6 - FLO_Downtown_EX
    ECHO 7 - FLO_HarborAssault_TH
    ECHO 8 - FLO_HarborAssaultNight_TH
    ECHO 9 - FLO_InnerHospital_EX
    ECHO 10 - FLO_Intercept_C4
    ECHO 11 - FLO_Intercept_EX
    ECHO 12 - FLO_Overload_C4
    ECHO 13 - FLO_RedLine_C4
    ECHO 14 - FLO_RedLine_EX
    ECHO 15 - FLO_Slums_C4
    ECHO 16 - FLO_Slums_TH
    ECHO 17 - FLO_Watchdog_AC
    ECHO 18 - FLO_Watchdog_C4
    ECHO 19 - FLO_Homestead_C4
    ECHO 19 - BDX_Breach_EX
    ECHO 20 - BDX_Bridge_EX
    ECHO 21 - BDX_Checkout_EX
    ECHO 22 - BDX_Crossfire_C4
    ECHO 23 - BDX_Crossfire_EX
    ECHO 24 - BDX_InnerHospital_EX
    ECHO 25 - BDX_Intercept_C4
    ECHO 26 - BDX_Intercept_EX
    ECHO 27 - BDX_Lockdown_EX
    ECHO 28 - BDX_OuterHospital_C4
    ECHO 29 - BDX_RedLine_C4
    ECHO 30 - BDX_RedLine_EX
    ECHO 31 - BDX_ShadowStep_EX
    ECHO 32 - BDX_Siege_C4
    ECHO 33 - BDX_Siege_EX
    ECHO 34 - BDX_SpringStreet_EX
    ECHO 35 - BDX_Watchdog_C4
    ECHO.
    SET /P MAP=Type MAP Number then press ENTER:

    IF %MAP%==1 (
    set MAP=FLO_Bridge_EX
    ) ELSE (

    IF %MAP%==2 (
    set MAP=FLO_BridgeNight_EX
    ) ELSE (

    IF %MAP%==3 (
    set MAP=FLO_Checkout_EX
    ) ELSE (

    IF %MAP%==4 (
    set MAP=FLO_ColdFront_C4
    ) ELSE (

    IF %MAP%==5 (
    set MAP=FLO_ColdFront_EX
    ) ELSE (

    IF %MAP%==6 (
    set MAP=FLO_Downtown_EX
    ) ELSE (

    IF %MAP%==7 (
    set MAP=FLO_HarborAssault_TH
    ) ELSE (

    IF %MAP%==8 (
    set MAP=FLO_HarborAssaultNight_TH
    ) ELSE (

    IF %MAP%==9 (
    set MAP=FLO_InnerHospital_EX
    ) ELSE (

    IF %MAP%==10 (
    set MAP=FLO_Intercept_C4
    ) ELSE (

    IF %MAP%==11 (
    set MAP=FLO_Intercept_EX
    ) ELSE (

    IF %MAP%==12 (
    set MAP=FLO_Overload_C4
    ) ELSE (

    IF %MAP%==13 (
    set MAP=FLO_RedLine_C4
    ) ELSE (

    IF %MAP%==14 (
    set MAP=FLO_RedLine_EX
    ) ELSE (

    IF %MAP%==15 (
    set MAP=FLO_Slums_C4
    ) ELSE (

    IF %MAP%==16 (
    set MAP=FLO_Slums_TH
    ) ELSE (

    IF %MAP%==17 (
    set MAP=FLO_Watchdog_AC
    ) ELSE (

    IF %MAP%==18 (
    set MAP=FLO_Watchdog_C4
    ) ELSE (

    IF %MAP%==19 [
    set MAP=FLO_Homestead_C4
    ) ELSE (

    IF %MAP%==20 (
    set MAP=BDX_Breach_EX
    ) ELSE (

    IF %MAP%==21 (
    set MAP=BDX_Bridge_EX
    ) ELSE (

    IF %MAP%==22 (
    set MAP=BDX_Checkout_EX
    ) ELSE (

    IF %MAP%==23 (
    set MAP=BDX_Crossfire_C4
    ) ELSE (

    IF %MAP%==24 (
    set MAP=BDX_Crossfire_EX
    ) ELSE (

    IF %MAP%==25 (
    set MAP=BDX_InnerHospital_EX
    ) ELSE (

    IF %MAP%==26 (
    set MAP=BDX_Intercept_C4
    ) ELSE (

    IF %MAP%==27 (
    set MAP=BDX_Intercept_EX
    ) ELSE (

    IF %MAP%==28 (
    set MAP=BDX_Lockdown_EX
    ) ELSE (

    IF %MAP%==29 (
    set MAP=BDX_OuterHospital_C4
    ) ELSE (

    IF %MAP%==30 (
    set MAP=BDX_RedLine_C4
    ) ELSE (

    IF %MAP%==31 (
    set MAP=BDX_RedLine_EX
    ) ELSE (

    IF %MAP%==32 (
    set MAP=BDX_ShadowStep_EX
    ) ELSE (

    IF %MAP%==33 (
    set MAP=BDX_Siege_C4
    ) ELSE (

    IF %MAP%==34 (
    set MAP=BDX_Siege_EX
    ) ELSE (

    IF %MAP%==35 (
    set MAP=BDX_SpringStreet_EX
    ) ELSE (

    IF %MAP%==36 (
    set MAP=BDX_Watchdog_C4

    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )
    )

    GOTO START

    :START
    cd "E:\Program Files (x86)\Steam\steamapps\common\America's Army\AAPG\Binaries\Win32"
    start AAGame.exe server %MAP% /GLOBAL /AuthServerUserName=******* /AuthServerPassword=******* /AuthServerIP=xxx.xxx.xxx.xxx /STEAMSERVERIP=xxx.xxx.xxx.xxx MULTIHOME=xxx.xxx.xxx.xxx /NOPAUSE /NOHOMEDIR /CONFIGSUBDIR=AAHostAServerConfig0 /SAP=7780 /SGSP=7778 /SQP=27015 /INST=1
    GOTO END

    :END
    Untitled_zpsqiypm7mn.png

Sign In or Register to comment.