Jump to content

A3 Epoch Headless Clients : Walkthrough UPDATED:Dec 22nd


hogscraper

Recommended Posts

Weird, same thing. It's just an immediate kick like when having the wrong mod checked. But I don't.

 

16:40:24 Dedicated client created.

16:40:33 Client connected: 69.162.93.230:2302
16:40:36  > Player headlessclient connecting
16:40:36  > headlessclient uses modified data file
16:40:36  > Welcome to this GTXGamig.co.uk ArmA3 Epoch Server
16:40:36  > You were kicked off the game.
 
Router firewall is completely off, ports are open.
Link to comment
Share on other sites

That tells me that this part of your game servers config is not being read  or configured correctly:

localClient[]={127.0.0.1,xxx.xxx.xxx.xxx};
headlessClients[] = {"127.0.0.1",xxx.xxx.xxx.xxx};
battleyeLicense=1;

The IP of your headless client needs to be included if not on the same server.
 

Link to comment
Share on other sites

During the test yesterday, you are right. I forgot to change those settings back. I had them as localClient with the server IP, and headlessClients as just HC IP, with no 127.0.0.1 in front. Not sure if that would matter, but I will reset to above, and test again when I get home.

 

Thank you so much for all your help, very much appreciated! 

Link to comment
Share on other sites

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

Hi all. I am trying to set up my first headless client using A3EAI and the HC keeps getting kicked with the following error:

  Quote

 

Player headlessclient: Wrong signature for file C:\STEAM\common\ARMA3S~1\@Epoch\addons\a3_epoch_code.pbo

 

The server and HC are running from the same location, just a different EXE. Any suggestions?

Link to comment
Share on other sites

  • 3 weeks later...

So just so others do not pull their hair out for hours on end. I hope this helps others.

 

I was having issues with the headless client staying connected to the server. I found out that with tadst. even though you check hc client it does not add the code to the config file.

 

so i had to stop using tadst.

 

instead i just copied the

TADST_config.cfg

and TADST_basic.cfg

and placed them in the sc folder

renamed them to epochconfig.cfg

epochbasic.cfg

 

then i opened epochconfig.cfg

changed max players to

maxPlayers = 101;

 

below:

localClient[]={127.0.0.1}; 

 

I added

headlessClients[]={127.0.0.1}; //This is the IP the server looks for to identify the HC(s).
battleyeLicense=1;

 

just a note that I am using my server path for everything, change to your path as needed.

 

D:\Servers\Epoch\ being my path

 

then i created a serverstart.bat

@echo off
cd D:\servers\Epoch\
start arma3server.exe -port=2302 "-config=D:\Servers\Epoch\sc\epochconfig.cfg" "-cfg=D:\Servers\Epoch\sc\epochbasic.cfg" "-profiles=D:\Servers\Epoch\sc" -name=sc "-mod=@epochhive;@Epoch;"

timeout 10
echo Server has Started
timeout 3
exit

add any mods to the mod list into your batch file as needed

 

"-mod=@mod1;@mod2;@mod3;@mod4;@mod5;'

 

then i made a copy of the arma3server.exe and renamed it armaHCserver.exe

 

i then created a hcstart.bat

@echo off
cd D:\servers\Epoch\
start armaHCserver.exe -port=2302 -password=**** -client "-config=D:\Servers\Epoch\sc\epochconfig.cfg" "-cfg=D:\Servers\Epoch\sc\epochbasic.cfg" "-profiles=D:\Servers

\Epoch\sc\users\headlessclient" -name=headlessclient "-mod=@Epoch;"

timeout 10
echo HC Client has Started
timeout 3
exit 

if you have edited your mission.sqf to require certain mods like i did, you will need to also run these on the hc client side

 

otherwise you will get an error in reference to the mod missing.

 

as far as editing the mission.sqm

 

follow the install instructions with the FuMS.

Link to comment
Share on other sites

I should note that i was able to get the HC to work. but the fums and a3eai was giving me object errors, not entirely sure why, but i would get hundreds of errors.

 

  Reveal hidden contents

Link to comment
Share on other sites

You can still use TADST, you just have to check the "Launch as is" box. TADST overwrites the config and does not correctly add a few lines concerning the HC.

I thought that was covered elsewhere in this post. Perhaps its in another one. Thus my always asking if someone is using TADST.

Its written about often in the BIS forums. For the ease of switching and starting up Chernarus and Altis servers during testing, I still use TADST for my home Dev servers. But I just don't see using it on a dedicated server. Too many other options available.

And iirc, its not recommended to run FUMS and A3EAI on the same HC. Also, iirc, one should be started before the other. (Though, I could be way off base on both comments, as I've not kept up with the latest developments on either of items.)

Link to comment
Share on other sites

  On 6/21/2015 at 2:22 AM, tinboye said:

I should note that i was able to get the HC to work. but the fums and a3eai was giving me object errors, not entirely sure why, but i would get hundreds of errors.

 

  Reveal hidden contents

 

I am getting these spammed right as the server starts as well. Using same HC for FuMS and A3AI. Every other day my HC force closes with an out of memory error :(

Link to comment
Share on other sites

  On 6/27/2015 at 12:24 AM, tinboye said:

thanks floyd, i had not ever used this feature in tadst.   what is IIRC you mentioned?

If I recall correctly, running A3EAI and FUMs on the same HC could cause trouble. And/or there may even be an order in which they need to be started to run better. Don't take my word for it, check the threads of both. The issue could have been resolved. I've not kept up.
Link to comment
Share on other sites

  • 2 weeks later...

Wanted to add something to this thread. This has to do with 0.3.0.3 but may have to do with earlier updates as well. I spent a good portion of the evening last night trying to get an HC to jive on my Epoch box but initially had no luck. First, the mission.sqm file needed to be decrypted (thank you Buttface for Eliteness). After that, and this is what I wanted to get at, assuming that you're able to edit in a Virtual Headless Client unit into your mission and get it to load, your actual dedicated client may still not connect to the server. After a bunch of digging, I found it to be this entry in the server's batch file: "-ip=xxx.xxx.xxx.xxx". Once I removed it, wham. Everything worked. So, if anyone else is having the same problem, be sure to remove that -ip line.

 

B

Link to comment
Share on other sites

I have a couple of questions on installing a HC. First I have found conflicting information on what you actually need installed on the server in regards to a full copy of Arma 3 or just the Arma 3 server files. We run a dedicated VPS using NFOservers and I have tried everything I can think of to get this to work and it won't connect to the server at all, it just sits on "Starting Dedicated server" and doesn't even try to connect to the server. I've tried local IP 127.0.0.1 and have also tried the actual physical server IP and nothing has worked. What I have found looking around on the internet is that some people are saying you need a full licensed copy of Arma 3 in addition to a Steam install on the server that you are trying to install a HC to. Does anyone know if this is correct or do you just need the Arma 3 server files for it to work? If it's just the server files then I have no idea what I'm doing wrong. I've tried multiple configurations, setting it up in a separate profile, the same profile folder, different parameters and nothing is working. I have even re-downloaded all the server files and installed those again with no luck. Does anyone have any ideas? Thanks!

 

This is what I have in my config:

localClient[]={162.xxx.xxx.xxx};
headlessClients[] = {"162.xxx.xxx.xxx","69.xxx.xxx.xxx","127.0.0.1"};
battleyeLicense=1;

 

And this is what I have for the HC server parameters:

start HCserver.exe -client -connect=162.xxx.xxx.xxxx -profile=C:\Arma 3 Server\HCprofile -port=2312 -nosound -mod=@Epoch;

 

I forgot to mention I am seeing this in my server report, a google search shows this might be HC related but I'm not sure how to fix it.

12:00:28   Global namespace not passed during: false
12:00:28   Error in expression <false>
12:00:28   Error position: <false>
12:00:28   Error Local variable in global space
Link to comment
Share on other sites

I can address a couple of your questions. I, too, run a dedicated VPS from NFOservers and have had up to two HC's connected to two different servers (one running Cherno and one running Altis).

1) You do NOT need steam running on the server. Use Steamcmd.exe (https://developer.valvesoftware.com/wiki/SteamCMD) to download the server files. You will have to have a steam account to use for the login. Some people make a new account for just their servers, most just use their current steam account. Your name and password are all that's needed to login to download the files. It does not interfere with your Steam account and you can be on Steam on another machine and still use Steamcmd.

I run a batch file to download/update the server files. An example follows (and can be found everywhere):

  Reveal hidden contents

Are you using TADST to start either your server or your HC? If so, that is likely where the problem lies. There is a work around. For now, I'll assume you don't.

Make sure you copy arma3server.exe and rename the copy. You'll use this copy to start your HC.

Make a new subdirectory in the directory where arma3server.exe is for the HC profile. In that subdirectory, create a file called config.cfg. In config.cfg add the following line:

battleyeLicense =1;

Start up your gameserver. Once its running, try starting up your HC. In the batch file that starts my HC, my command line for the HC looks something like this:

start altis_HCserver.exe -client -connect=127.0.0.1 -port2302 -mod="@Epoch;@A3EAI" -nosound -name=HC_Altis "-profiles=F:\Server\arma3server\a3master\HC"

If you're interested, here is the batch file I have BEC call to restart the server and the HC, rotate logs, back the db up, etc.

  Reveal hidden contents

 

Also, make sure that in the main server's config.cfg you have the following (usually located near the top):

 

 

//Headless client 
settingsheadlessClients[]={127.0.0.1};
localClient[]={127.0.0.1};
battleyeLicense=1;
 
 

Having said all that, at one point I could not get past the same point you were. I'm not a big believer in deleting and reinstalling just because something doesn't work, but in the end, that's what I had to do. (It was a much earlier build, though.) You've tried that, so I'd say do that as a last resort. Good luck!

Link to comment
Share on other sites

My HC is working with FuMS, spawning missions... however, my HC does not connect into the headless client slot (class Item100), and uses "Civilian" player slot Alpha 1-1, and is named "headlessclient" instead of HC_HAL.    Any ideas what I need to do here?

 

 

Edit:  Startup order seems to be the cause/fix.   Starting up the HC and leaving it up while server reboots will cause it to log in and grab a player slot, waiting a few seconds for the server to start before running the HC appears to help.

Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...

So something has changed with arma3 since v 1.58, I have not been able to get HC to work using arma3server.exe, it will only work using arma3.exe game exe.

 

I have tested, duplicated this. placed a ticket in as a bug report with bohemia.

I really hope this is something that can be fixed, I should not have to setup a remote pc to run a hc, I should be able to use the same server exe to run a hc on the same machine, my dedicated box has 32gb ram. FuMs does not have an option to run from the server. Only can be ran via HC.

Unless someone has a solution for this?

this is my forum thread

https://forums.bistudio.com/topic/201898-headless-client-issues-since-v158/

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...