Jump to content
hogscraper

A3 Epoch Headless Clients : Walkthrough UPDATED:Dec 22nd

Recommended Posts

I have not worried too much about hiding it. Though I have run into some issues where I suspect the HC is starving to death.

 

Hiding the HC and fixing the starving issues are something I have on the 'list of things to do' when a full release of EPOCH comes out.

 

There are just somethings that can be handled more gracefully at the core server level with a couple of exception statements.

 

Anyway, making it immune to damage seems to work, and players no longer feel alone in the clone lab :)

Share this post


Link to post
Share on other sites

upload the face into the HC's arma 3/otherprofiles/headlessclient

 

add

class Identity
{
	face="Custom";
};

to the profile.

 

 

Let me know how you get on adding clothes, will have to try that also :)

 

 

*The odd restart it doesn't load up and he's left with a pail face heh

Share this post


Link to post
Share on other sites

So someone know why?

 

Because your doing something wrong. Start over if it still dont work

start over again until you figure out what you did wrong =)

 

All the answers is in this thread and multiple others on bohemia's own forum.

 

Oh and check your rpt log if its kicking you for any specific reason like missing @epoch mod or whatever.

Share this post


Link to post
Share on other sites

After many test, HC is not still kick from server, what i change? :

 

 
@start arma3server.exe -client -connect=127.0.0.1 [email protected];@EpochHive -profile="HC_HAL" -name="HC_HAL"
 
into 
 
@start arma3server.exe -client -connect=127.0.0.1 [email protected] -profile="HC_HAL" -name="HC_HAL"
 
i removed "@EpochHive"
 
 
Edit : all is ok

Share this post


Link to post
Share on other sites

Hi Guys

 

I've been trying to figure out what's wrong, my HC starts console & says dedicated client created & thats it, nothing else.

I've checked the BI wiki, changed the batch file to all combos available. if anyone could point me in the right direction that would be great.

 

cheers

Share this post


Link to post
Share on other sites

Hi Guys

 

I've been trying to figure out what's wrong, my HC starts console & says dedicated client created & thats it, nothing else.

I've checked the BI wiki, changed the batch file to all combos available. if anyone could point me in the right direction that would be great.

 

cheers

There were a couple of others that had this same problem (myself included) I know you're going to think I'm nuts, but the only thing that worked for me was using steamcmd and redownloading the server files into another directory. Then re-adding the necessary mod and BEC files. After making edits in the appropriate places and firing up the redis database, the client connected immediately.

I spent a couple of days trying every known cure. I reached out the community here and someone offered to help. After several tries of doing what I'd done already, he commented that he'd had to reinstall for three others. If reinstalling the server files doesn't work, PM me.

Share this post


Link to post
Share on other sites

There were a couple of others that had this same problem (myself included) I know you're going to think I'm nuts, but the only thing that worked for me was using steamcmd and redownloading the server files into another directory. Then re-adding the necessary mod and BEC files. After making edits in the appropriate places and firing up the redis database, the client connected immediately.

I spent a couple of days trying every known cure. I reached out the community here and someone offered to help. After several tries of doing what I'd done already, he commented that he'd had to reinstall for three others. If reinstalling the server files doesn't work, PM me.

Hmm weired. tried it like you said and reinstall the whole Arma via Steam but I have the same issue. Server is started but the client only say "Dedicated client created" and nothing else...:( are there any other things I can check?

Share this post


Link to post
Share on other sites

Ok it was my fault...I changed the startup parameter from my server without an -ip xxx.xxx.xxx.xxx so the HC can connect via 127.0.0.1...

Anyway the HC will not slotted automatically and get kicked after x minutes idling in the lobby :D  I only edit the mission.sqm and insert the AI Mission in the custom folder in my PBO. Start the HC client and nothing happen. Server still pending on status "waiting" and my HC is only in the lobby :(

Share this post


Link to post
Share on other sites

Hello All,

I am having quite the problem getting the headless client to connect and stay connected. It keeps getting kicked and I can not see why it is kicked. I have followed all the forum postings I could find and I still can not get it to work right, could someone assist me with this please?

Share this post


Link to post
Share on other sites

Hello All,

I am having quite the problem getting the headless client to connect and stay connected. It keeps getting kicked and I can not see why it is kicked. I have followed all the forum postings I could find and I still can not get it to work right, could someone assist me with this please?

Hello rhammer2003,

Dedicated or GSP?

 

Share this post


Link to post
Share on other sites

Hello All,

I am having quite the problem getting the headless client to connect and stay connected. It keeps getting kicked and I can not see why it is kicked. I have followed all the forum postings I could find and I still can not get it to work right, could someone assist me with this please?

Using TADST to start the server?

Share this post


Link to post
Share on other sites

Hello laurent09, 

Download horbins FuMS>install.txt.

 

http://conroh.com/Fums/

 

Well written installation instructions.

Hope this helps.

Stench

thanks 

 

I can not , to understand how to configure .

I saw the install.txt file.

but it does not tell me if I should create another server.

 

sorry for my bad english

Share this post


Link to post
Share on other sites

In his install.txt you'll see:

3) Make a copy of C:\Games\Arma3\arma3server.exe and rename it to HCserver.exe
4) Start your HC with the following:  C:\Games\Arma3\HCserver.exe -client -connect=127.0.0.1 -mod="@Epoch;" -nosound 

Personally, I'd also create a new directory. Using the above directory structure as an example I'd create an HC directory. C:\Games\Arma3\HC

Within the HC directory create a file called Config.cfg.   In that Config.cfg file put:

battleyeLicense=1;

I would add the following to the command line that that starts the headless client:

-profiles=C:\Games\Arma3\HC

In the main servers Config.cfg (usually found in the SC directory), be sure the following lines are there:
localClient[]={127.0.0.1};
headlessClients[] = {"127.0.0.1"};
battleyeLicense=1;

Then start up the server and the headless client.  Its all in this thread. Before trying to add any mod using the headless client, be sure that it is working, connecting and staying connected to the game server.
 

The use of 127.0.0.1 assumes that your headless client is being run on the same machine as the game server.

Share this post


Link to post
Share on other sites

Good afternoon  everyone. Here I am again, figuring since I have learned so much since I first started server hosting, I would give this a try again. And after all this time, I am still receiving the same errors, problems.

 

First let me say I am using GTXGaming as my server host.

 

Second. I followed the new instructions here http://conroh.com/Fums/

 

Added this:

 

 

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

to my config.cfg, because this>> Note: If your HC is on a different virtual or physical machine from the server, add the HC's IP addr to both the local and headless client lists!

Server is started, via TCAdmin panel, once up, I use

arma3server.exe -client -connect=69.162.93.230:2302 -mod="@Epoch;" -nosound -password="xxxxxxxxx" as my .bat launch command
(I tried various ways to launch, including renaming the arma3server.exe to HCserver.exe. I tried using 127.0.0.1,69.162.93.230 as well. If I try any combination other than just the server IP, it just says Dedicated Client Created, and just sits there doing nothing.)

With the above arma3server.exe -client -connect=69.162.93.230 -mod="@Epoch;" -nosound -password="xxxxxxxxx"

I consistently get this:

14:26:40 Dedicated client created.
14:26:44 Client connected: 69.162.93.230:2302
14:26:45 > Player headlessclient connecting
14:26:45 > headlessclient uses modified data file
14:26:45 > Welcome to this GTXGamig.co.uk ArmA3 Epoch Server
14:26:46 > You were kicked off the game.

over and over until I close that window

 

 

Any suggestions, Ideas? Is there something I have to change in BE to not get the HC kicked?
 
Thanks in advance for any help :)

 

Share this post


Link to post
Share on other sites

Is your headless client on a different machine/virtual server? Your post indicates that it is. If your HC is not on the same machine then 127.0.0.1 won't do you any good and you'll have to use the IP of the game server.

Regardless:

Try creating another profile directory just for the headless client and create a config.cfg file within that directory that has the line:

battleyeLicense=1;

then add the -profile switch to the command line that starts the headless client. (eg. -profile = c:\arma3\HC)

And if\when using 127.0.0.1 don't use both 127.0.0.1 and 69.162.93.230 in the -connect switch. Use just one.

Share this post


Link to post
Share on other sites

Yes, my HC is on a separate machine than the server. I removed the 127.0.0.1

 

So when you say create another profile directory, is that in my documents folder, where the other Arma3 profiles are stored? There is currently a directory called headlessclient in Documents > Arma3 > Other Profiles, which it pulls from. I have tried adding the -profile, but then it doesn't even launch. the cmd window closes immediately.

 

I presently launch my client through Steam, which resides E:\Program Files (x86)\Steam\steamapps\common\Arma 3. So when I launch the .bat file, this is the path it launches from

 
E:\Program Files (x86)\Steam\steamapps\common\Arma 3>arma3server.exe -client -connect=69.162.93.230 -mod="@Epoch;" -nosound -password="xxxxxxxxx"

Share this post


Link to post
Share on other sites

Documents directory is not used for this profile (though I guess it could be, but then windows may not like it).

Also, the command line sometimes doesn't like spaces in the directory structure, but we can perhaps take care of that with quotes.

Try this:
Add a directory within E:\Program Files (x86)\Steam\steamapps\common\Arma 3
To keep it easy, lets call the directory: HC
Make this the command line:

arma3server.exe -client -connect=69.162.93.230 -mod="@Epoch;" -nosound -name=HC -profile="E:\Program Files (x86)\Steam\steamapps\common\Arma 3\HC" -password="xxxxxxxxx"

If your batch file is in the ..steamapps\common\Arma 3 directory, you could probably get by with:

arma3server.exe -client -connect=69.162.93.230 -mod="@Epoch;" -nosound -name=HC -profile=HC -password="xxxxxxxxx"

But remember to create a Config.cfg file in the HC directory and put the following line in it:
battleyeLicense=1;

 

(And we're assuming you don't have a firewall or router that is blocking the ports...)

Share this post


Link to post
Share on other sites

Thanks Floyd. I'll  give this a shot when I get home from work today. We already have other workstations connecting to the server through the same router, so I don't believe any ports are being blocked, but I will double check everything.

 

I have a feeling that once I get this working, I will have a face desk moment as to what was wrong.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Dzhabrailov
      Hello! who can make Headless Client for epoch1062 to order? Or I'm not at the address :(
    • By Thug
      I would like to learn how to make a simple custom AI mission. Is there any one out there willing to help.
    • By ViseVersa
      So, recently I was just browsing trough forums and I read about Headless Clients and I was like phew that would be a nice thing to have man. So I went straight to the Downloads, gave them a few Tests and decided screw this. I've seen "ARMA 2" Headless Clients using event handlers, that are for arma3 - not even sure, if they actually work in arma2 and then it's a mess (no offence thou, but it was very hard to read trough all that). Well, what Solutions did I have? Making my own one and share it with the Community to improve it to an acceptable Standard.
       
      The following Video (Sound might be loud) shows an Example of the Headless Client
       
       
      So, what's so Special about this...
      Well first of all this works on any Map. Also it works with any Loot Table. Also it works without the need of a player. It has it's own "independent Area" where it interacts in. What I mean with that is, that you won't need to rely on any Functions, as everything that is needed is included. All Variables and Functions work outside of the normal "dayz stuff", as only the Headless Client loads it and it won't overwrite anything. Also it comes with a few features available.
       
      You can fully customize the spawn Ratio between Zombies spawned on Buildings and in Wilderness, for Example you could have 3x as many Zombies in cities You can fully customize the Loot Tables or integrate your existing ones just by changing a variable You can fully customize which modules to use, like animal spawn, wild zombie spawn, building zombie spawn, loot spawn and custom spawn. You can customize which Animals to Spawn You can make AI Shoot at the Zombies You can shuffle the Loot by setting permaLoot to false, as the server clean up will then clean it up and the hc will just re-spawn it. You can ofc set how many zombies / animals / loot piles should max be spawned  
      For a full List, of available Options see the variablesHC.sqf.
       
      The Performance
      While you have the ability to use all those variables, you can tweak the performance of this. However, the script will only be as good as the code and I'm not perfect. I tried my best to check every tiny bit to make sure nothing ever goes wrong, but there's always that slight possibility. Also I'm not perfect and this is my very first attempt, so if I did something wrong or could've done it better just let me know. Also be carefully, when changing the Script Timers, as a to low value might impact dramatically on your FPS.
       
      The Design
      This Client is not meant to Tackle the common Problem of a Headless Client joining to early, etc. It is meant to be persistent, reliable and functional. It more a "spawning handler" for various things like the loot. If you want a "perfect" Headless Client this is not the thing you're searching for. This is the Basement of a Script that is living from user Input, user Feedback and user advices. It wants further improving (if possible) and optimizing (if possible). Regardless of the fact, that it is fully Stable you can however do things wrong - I personally have only limited methods to test this Client, while you or other maybe have a large player base that is willing to tackle a new world of Zombies - so.. If you find any Bug or have any more wishes just let me know.
       
      The Installation
      Please prepare for everything, that you'll need:
      An Editor of your choice (OK, this was obvious) Your mission.sqm (Located in your MPMissions\DayZ_Epoch_%INSTANCE%.%MAP% Your init.sqf (Located in your MPMissions\DayZ_Epoch_%INSTANCE%.%MAP% Your config.cfg (Usually Located in a Folder called "instance_number_mapName") The Headless Client itself (See also: GitHub - Headless Client)  
      IF you do NOT have a Headless Client Installed or failed to install it before:
       
      IF you do have a Headless Client installed or managed to do so before:
       
      The Last Step is simply to create a Folder inside your Mission named "headlessclient" (You can ofc define your own paths) and put all the HC Files into that Folder. Edit the Variables if you want to or just hop right into game and start the massacre!
       
      PS: If I was unclear with the Instructions at any point let me know.
       
       
      //EDIT:
      Just out of interest I forced the HC to join the wrong slot, to see what happens. Apparently it can be in any slot, it doesn't differ ^^
       
       
       
      //Edit
      Apparently some files on Github got broken during the Upload, they have meanwhile been replaced.
    • By Hoplox
      As the title says, i'm looking for a stable headless client i can use on my server. I've been looking through the forums for one but they seem to be unstable to be used on a live server Whether it be for zombies, loot, buildings or anything else. Please feel free to contact me by commenting below or adding me on steam. Thanks :)
      http://steamcommunity.com/id/hoplox/
      Still looking!
    • By 5nine
      What is it?
      - An admin controlled mission. Admins can, whenever they like, start an Admin Hunt which puts a marker on the admin and tells other player about it using a hint similar to #SEM announcements. If the Admin feels threatened he can call for reinforcements which spawns 3 AI's which will then follow him around.

      What is currently included/what are the features?
      - Called by any admin specified in the admin list
      - Gives players a marker on the map named "Adminhunt: (admin name)"
      - Admins can call for reinforcements which spawns in 3 AI helpers. 
      - Can, at any time, be stopped by the admin who started it.
      - Gives players different hints depending on mission status ("started", "called for reinforcements", "stopped" and "admin killed")
      - Supports multiple missions run in parallel (each admin can start their own mission)
       
      Why Re-release? What has changed?
      the old version was completely client side, which made it much harder to get it to work, with BE filter etc. In this version the AI's spawn serverside. This also includes a better function to get the scroll option to stay.
       
      Known Issues?
      None, but it is not tested on a server with high player count. 
       
      BE filters?
      Included in the Readme.
       
      Epoch Anti Hack?
      This has been tested and works with Epoch AH. 
       
      Install instructions: 
      https://github.com/5nine/NibbleGaming_AdminHunt
       
       
      Still dont get what this is?

      (sry about the lag/choppy video, I had my recording settings too high)
       
      Support or questions?
      Post a reply in this topic. please don't PM me. 
       
      Credits:
      BetterDeadThanZed: for coming up with this great Idea!
      KiloSwiss: for creating #SEM. where i got some ideas for AI functions and hints. 
      rems_be: for having a different solution
      The Entire NibbleGaming community: for help with testing, testing and testing. They also helped me alot with testing....
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...