HC setup

  • Offline Cope
  • Fresh Spawn
  • *
  • Posts: 15

HC setup

« posted: Aug 25, 2019, 12:52 AM »
so im this far and hit a road block, not sure where to go from here.

my arma3server.exe target line is D:\Games\ArmA3\A3Master\arma3server.exe -profiles=d:\Games\Arma3\A3Master -port=2302 -config=CONFIG_server.cfg -world=empty -connect=67.186.10.4

Code: [Select]
//
// server.cfg
//
// comments are written with "//" in front of them.

// NOTE: More parameters and details are available at http://community.bistudio.com/wiki/server.cfg

// STEAM PORTS (not needed anymore, it's +1 +2 to gameport)
// steamPort       = 8766;     // default 8766, needs to be unique if multiple serves on same box
// steamQueryPort  = 27016;    // default 27016, needs to be unique if multiple servers on same box

// GENERAL SETTINGS
hostname       = "Slaughter Island";    // Name of the server displayed in the public server list
//password     = "ServerPassword";      // Password required to join the server (remove // at start of line to enable)
passwordAdmin  = "rob7dawg";       // Password to login as admin. Open the chat and type: #login password
maxPlayers     = 60;    // Maximum amount of players, including headless clients. Anybody who joins the server is considered a player, regardless of their role or team.
persistent     = 1;     // If set to 1, missions will continue to run after all players have disconnected; required if you want to use the -autoInit startup parameter

// VOICE CHAT
disableVoN       = 0;     // If set to 1, voice chat will be disabled
vonCodecQuality  = 10;    // Supports range 1-30; 1-10 is 8kHz (narrowband), 11-20 is 16kHz (wideband), 21-30 is 32kHz (ultrawideband); higher = better sound quality, more bandwidth consumption

// VOTING
voteMissionPlayers  = 1;       // Minimum number of players required before displaying the mission selection screen, if you have not already selected a mission in this config
voteThreshold       = 0.33;    // Percentage (0.00 to 1.00) of players needed to vote something into effect, for example an admin or a new mission. Set to 9999 to disable voting.
allowedVoteCmds[] =            // Voting commands allowed to players
{
// {command, preinit, postinit, threshold} - specifying a threshold value will override "voteThreshold" for that command
{"admin", false, false}, // vote admin
{"kick", false, true, 0.51}, // vote kick
{"missions", false, false}, // mission change
{"mission", false, false}, // mission selection
{"restart", false, false}, // mission restart
{"reassign", false, false} // mission restart with roles unassigned
};

// WELCOME MESSAGE ("Welcome to Slaughter Island")
// It can be several lines, separated by comma
// Empty messages "" will not be displayed, but can be used to increase the delay before other messages
motd[] =
{
"can you run fast enough?",
"Discord https://invite.gg/copegamecomm",
};
motdInterval = 30*60;    // Number of seconds between each message

// MISSIONS CYCLE
class Missions
{
class Mission1
{
template = "MyMission.Altis"; // Filename of pbo in MPMissions folder
difficulty = "Regular"; // "Recruit", "Regular", "Veteran", "Custom"
};
};

// LOGGING
timeStampFormat  = "short";                 // Timestamp format used in the server RPT logs. Possible values are "none" (default), "short", "full"
logFile          = "server_console.log";    // Server console output filename

// SECURITY
BattlEye             = 1;    // If set to 1, BattlEye Anti-Cheat will be enabled on the server (default: 1, recommended: 1)
verifySignatures     = 2;    // If set to 2, players with unknown or unsigned mods won't be allowed join (default: 0, recommended: 2)
kickDuplicate        = 1;    // If set to 1, players with an ID that is identical to another player will be kicked (recommended: 1)
allowedFilePatching  = 1;    // Prevents clients with filePatching enabled from joining the server (0 = block filePatching, 1 = allow headless clients, 2 = allow all) (default: 0, recommended: 1)

// FILE EXTENSIONS
allowedLoadFileExtensions[] =       {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"}; // only allow files with those extensions to be loaded via loadFile command (since Arma 3 v1.19.124216)
allowedPreprocessFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"}; // only allow files with those extensions to be loaded via preprocessFile / preprocessFileLineNumbers commands (since Arma 3 v1.19.124323)
allowedHTMLLoadExtensions[] =       {"htm","html","php","xml","txt"}; // only allow files and URLs with those extensions to be loaded via htmlLoad command (since Arma 3 v1.27.126715)

// EVENT SCRIPTS - see http://community.bistudio.com/wiki/ArmA:_Server_Side_Scripting
onUserConnected     = "";    // command to run when a player connects
onUserDisconnected  = "";    // command to run when a player disconnects
doubleIdDetected    = "";    // command to run if a player has the same ID as another player in the server
onUnsignedData      = "kick (_this select 0)";    // command to run if a player has unsigned files
onHackedData        = "kick (_this select 0)";    // command to run if a player has tampered files

// HEADLESS CLIENT
headlessClients[]  = {"127.0.0.1", "67.186.10.4"};    // list of IP addresses allowed to connect using headless clients; example: {"127.0.0.1", "192.168.1.100"};
localClient[]      = {"127.0.0.1", "67.186.10.4"};    // list of IP addresses to which are granted unlimited bandwidth; example: {"127.0.0.1", "192.168.1.100"};

any help is greatly appreciated

Re: HC setup

« Reply #1 posted: Aug 25, 2019, 04:10 AM »
I am pretty sure you are missing the -client from that start up line.  Here is what I use for my local HC.

Start arma3server_x64.exe -client -connect=127.0.0.1:2302 -password=123 -nosound -affinity=1 -affinity=2 -high -filePatching

Re: HC setup

« Reply #2 posted: Aug 25, 2019, 12:21 PM »
If your trying to set up an HC you need to add -client to the startup parameters, and make sure you have 127.0.0.1 or local host whitelisted for HC connections in your server.cfg.
  • Offline Cope
  • Fresh Spawn
  • *
  • Posts: 15

Re: HC setup

« Reply #3 posted: Aug 25, 2019, 05:38 PM »
so i changed my startup parameters a few times and i keep getting  Dedicated client created in my window and it just hangs there,

i changed my parameters to

Code: [Select]
D:\Games\ArmA3\A3Master\arma3server.exe -client -connect=127.0.0.1:2302 -password=rob7dawg -config=CONFIG_server.cfg -filepatching

Re: HC setup

« Reply #4 posted: Aug 25, 2019, 10:24 PM »
This is the line that I use to launch my HC:
Code: [Select]
start "" /min "C:\DEV_Server\DEVSERVER.exe" -client -filePatching "-servermod=C:\Mods\@infiSTAR_A3;C:\Mods\@extDB3;C:\Mods\@Serversidesmoke;C:\Mods\@AdvancedRappelling;C:\Mods\@AdvancedSlingLoading;C:\Mods\@AdvancedUrbanRappelling;C:\Mods\@AdvancedUrbanRappelling;C:\Mods\@CBA_A3;C:\Mods\@VcomAI;C:\Mods\@VCOMAIDriving" -enableHT -hugepages -noSound -world=empty -connect=127.0.0.1 -port=2302

You'll see that the -connect parameter is only the ip you need to put the port in the -port parameter. and the config parameter is only for the host you don't need it on the client.

Also in arma3server_x64.cfg:
Code: [Select]
// HEADLESS CLIENT
headlessClients[] = {127.0.0.1}; // list of IP addresses allowed to connect using headless clients; example: {"127.0.0.1", "192.168.1.100"};
localClient[] = {127.0.0.1}; // list of IP addresses to which are granted unlimited bandwidth; example: {"127.0.0.1", "192.168.1.100"};
  • Offline Cope
  • Fresh Spawn
  • *
  • Posts: 15

Re: HC setup

« Reply #5 posted: Aug 26, 2019, 03:04 AM »
fixed! thanks monkey, i got it up and running