• 0
Honest Jon

Tanoa Startup command line

Question

Posted (edited)

Hey All,

I am having a little issue with a startup command line for Tanoa on my home test server - See below spoiler for my bat file

Spoiler

@echo off
color 0a
title Exile Monitor
:Serverstart
echo Launching Server
C: 
cd "C:\Tanoa server"
echo Exile Server Monitor... Active !
start "Arma3" /min /wait arma3server.exe -mod=@Exile;@Ryanzombies;Kart;Mark;Heli; -servermod=@exileserver; -config=C:\Tanoa server\@ExileServer\config.cfg -port=2322 -profiles=tanoa -cfg=C:\tanoa Server\@ExileServer\basic.cfg -name=tanoa -autoinit
ping 127.0.0.1 -n 15 >NUL
echo Exile Server Shutdown ... Restarting!
ping 127.0.0.1 -n 5 >NUL
cls
goto Serverstart

I get an issue saying -autoinit is only supported for persistent missions - now if I remove the -autoinit from the file it launches and I can then go into the game but I have to select my mission and wait for the vote ?

config.cfg in below spoiler

Spoiler

hostname                            = "MyServerName";
password                             = "joinserverpassword";
passwordAdmin                          = "adminpassword";
serverCommandPassword                = "servercommandpassword";
logFile                                = "server.log";
verifySignatures                       = 1; // Do NOT use verifySignatures=2! It costs too many FPS
BattlEye                            = 1;
requiredBuild                         = 137494; // 1.62 stable
allowedLoadFileExtensions[]         = {:};
allowedPreprocessFileExtensions[]     = {"sqf"};
allowedHTMLLoadExtensions[]         = {"html"};
motdInterval                         = 5;               
maxPlayers                             = 10;        
voteMissionPlayers                     = 200;   
voteThreshold                         = 200;
disableVoN                            = 0;        
vonCodecQuality                     = 30;   
persistent                            = 1;       
kickDuplicate                         = 1;
equalModRequired                     = 0;
kickClientsOnSlowNetwork            = 0;
timeStampFormat                     = "short";
onUserConnected                     = "";
onUserDisconnected                     = "";
doubleIdDetected                     = "";
onUnsignedData                         = "kick (_this select 0)";    
onHackedData                         = "ban (_this select 0)";
onDifferentData                     = "kick (_this select 0)";
motd[]                                 = {"Welcome to Arma 3 Exile Mod!", "www.exilemod.com", "Enjoy your stay!" };

class Missions
{
    class Exile
    {
        template = Exile.Tanoa;  // Exile.Namalsk, Exile.Altis, Exile.Tanoa

        // do NOT use custom difficulties!
        // Use either ExileRegular or ExileHardcore
        // or you will break Exile!
        difficulty = "ExileRegular";
    }; 
};
 

I use the same batch file for my altis test box on the same server (different folder structure) just this tanoa one seems to ignore my config.cfg

Any ideas / suggestions greatly appreciated

Edited by Honest Jon

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

This is now solved :)

So for some reason the command line does not like there being a space in the directory structure - I switched from c:\tanoa server to just c:\tano and all now launches !

Hopefully this will help someone else

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.