#headless_client

1 messages · Page 10 of 1

timid lagoon
#

PES3_Sus if i set it to a local IP, gamedig won't query it. if i set it to the public IP and differentiate with ports, they don't even fucking join. even after enabling the ports in ufw + OVH's game firewall

cunning sage
#

you can't query a headless client, it's a client

timid lagoon
#

i could've sworn linuxgsm let you query the headless client with gamedig... bleh. i'll just set it to monitor only the service

#

and i'd apologize but i think by the wall of text going back like 8+ hours, i haven't taken a break lmao. trying to get everything™️ working so i don't have to look at it again

#

thanks for bearing with my lack o sanity cells rn

#

at the cost of my sanity and brain cells today, i managed to get it all working, mainly thanks to y'all with teh missing pieces. I swore I read the wikis and such, today was just not my day

#

appreciate y'all @cunning sage @keen vault

#

i can now set up my crontabs like how i'd expect sobwhy, only took me however tf long

#

(and is on the profiling branch) PES4_HappyCry

inland pulsar
#

It seems that HC, despite releasing AI calculations from the server, is a very heavy client for the server, perhaps because it has unlimited bandwidth, which greatly limits the performance gains of the server. Does this perception make sense?

inland pulsar
#

Maybe something is wrong here, I'll double check to make sure the AI ​​units are located in the HC.

#

In fact, I had done something wrong:

4 cores for server, without HC: Server fps 250-300 Fps.

3 cores for server, 1 core for HC: Server fps 600-800, HC fps 185 fps.

keen vault
inland pulsar
#

Ok. Thanks.

sleek apex
#

That would be something interesting to see the impact of assigning separate cores for each process or just letting windows decide. I wonder if there is any noticeable difference between the two approaches.

keen vault
#

My guess was that it would have a slight impact on ryzen chips due to their design, so you're better of forcing one process to only use CPUs from that CCX.

Our server is running intel tho so can't test that theory.

sleek apex
#

Interesting, We are running ryzen for most of them atm but we are also using TCAdmin and VMs so most of it is probably too compartmentalized to get accurate data

limber grove
#

@keen vault assigning cores can matter sometimes but yeah only when it's a NUMA arch

#

@cunning sage @heavy tiger any ideas on why I can't boot this mission with emm.pbo deleted on the server? I don't really understand why this would happen if emm isn't in the mission's required addons

heavy tiger
#

"this mission" why would I magically know what mission you mean, and why do you ping me on 3AM

limber grove
#

I didnt think it would PING you I thought you'd see it eventually

#

I thought you might have an idea as to how to debug a mission's addon requirements

keen vault
limber grove
#

yes i looked in there and emm isn't listed

#

so i don't understand how loading the mission is giving me the "no config entry" thing for emm

sleek apex
#

Just know that this channel is meant for stuff relating to Headless Clients. So the people who could best help you won’t necessarily be looking here.

limber grove
#

this was a bug related to loading HCs on linux

sleek apex
#

But your issue is with Enhanced Movement loading?

#

You got a full path for the addon from the error?

cunning sage
#

EMM is part of SOG PF

paper tundra
#

Hello,
I've a question, which may be stupid, but does HC helps server when you don't have AI at all? (We only play PvP with almost real humans)

cunning sage
#

AAR, stats, other computation

paper tundra
cunning sage
#

no, anything that runs on HC needs to be designed for it

paper tundra
cunning sage
#

maybe you want to compute primes? or try to figure out the meaning of life? 🙂

#

or have really advanced logic for victory conditions

paper tundra
#

(and yes, we use perf binaries)

cunning sage
#

measure if you have a lot of computational heavy sqf running, try to remove it or move it to headless

sleek apex
# paper tundra I just want better server FPS 😉

If you are purely PvP. Your biggest benefit will likely be to look into the network settings found in the basic.cfg. This isn’t really the place to discuss it, #server_admins would likely be a better place for the info. But those settings will likely give you the most benefit if your allowed to edit them. Though be warned, the process to find the “correct” settings is mostly trial and error and can possibly result in worse fps before you get better. Just make small adjustments op to op as you can.

#

This doesn’t discount what Dahlgren said as well btw. If you are running scripts, those can have an effect as well.

gloomy cobalt
#

Hey, is there any good AI mods thst are good with HC? Seems like sometimes they don’t follow movemarks and driving skills are horrible

keen vault
gloomy cobalt
sleek apex
#

That’s why the function exists. On the AI mod side though, they would unfortunately need to be built for it. And even then, AI lose some of their ”memory” upon transfer so you would still have issues.

keen vault
#

Could possible blacklist AI from being transferred based on type? never tried that tho

sleek apex
#

Can do it by classname. But not specifically by type atm.

white monolith
#

Is anyone else having trouble with HC disconnecting/crashing since the latest ARMA update?

heavy tiger
#

Don't run 32bit HC

white monolith
timid tangle
#

using the same mission and mods loaded, headless works in Malden map

15:00:38 [ACE] (headless) INFO: Registered HC: HC1
15:00:56  Mission id: 1752b50175cfa32bfa590a988085d4f7e93500e9
15:01:11 [ACE] (headless) INFO: Present HCs: [HC2,HC1] - Full Rebalance: true
15:01:11 [ACE] (headless) INFO: Groups Transferred: Total: 0 - HC1: 0 - HC2: 0 - HC3: 0```


but this error happens when loading in Tanoa map (apex DLC required)
```15:07:25 [ACE] (headless) INFO: Registered HC: HC1
15:07:25 [ACE] (headless) INFO: Registered HC: HC3
15:08:53  Mission id: cef552a26d7882fcb311c38de87142987092d6c6
15:08:55 [ACE] (headless) INFO: Unit [HC1] became local with broken loadout - attempting to fix
15:08:55 [ACE] (headless) INFO: Removed HC: HC1
15:08:55 [ACE] (headless) INFO: Unit [HC3] became local with broken loadout - attempting to fix
15:08:55 [ACE] (headless) INFO: Removed HC: HC3
15:09:08 [ACE] (headless) INFO: Present HCs: [] - Full Rebalance: true
15:09:08 [ACE] (headless) INFO: Groups Transferred: Total: 0 - HC1: 0 - HC2: 0 - HC3: 0```


do the HC need to have the DLC to work in Tanoa map (or DLC required maps)?
sonic vortex
#

In theory, no. But I've had the same issue myself.

cold trail
#

Which mod is better for headless client management, Zulu or Werthles? I kept hearing people want to use Zulu now, but it seems like Zulu is breaking as of the latest update

cold trail
#

Also, to be clear, this is using 64 bit headless client

keen vault
#

Zulu works fine for us

cold trail
#

Interesting. We were getting this error yesterday on it

#
_index = zhc_offload_HeadlessArray pushBackUnique>
23:46:16   Error position: <zhc_offload_HeadlessArray pushBackUnique>
23:46:16   Error Undefined variable in expression: zhc_offload_headlessarray
23:46:16 File t\zhc\addons\offload\fnc_initHeadless.sqf..., line 25
23:46:21 Error in expression <HandlerId = [_sourcestr, _refreshDelay, _position] call zhc_stat_fnc_fpsMonitor;>
23:46:21   Error position: <_position] call zhc_stat_fnc_fpsMonitor;>
23:46:21   Error Undefined variable in expression: _position
23:46:21 File t\zhc\addons\stat\fnc_fpsHcHandler.sqf..., line 23
23:46:21 Error in expression <rver) exitwith {};

private _position = zhc_offload_DataIndex + 1;
private _sour>
23:46:21   Error position: <zhc_offload_DataIndex + 1;
private _sour>
23:46:21   Error Undefined variable in expression: zhc_offload_dataindex
23:46:21 File t\zhc\addons\stat\fnc_fpsHcHandler.sqf..., line 20
23:46:21 Error in expression <dlessIds";


sleep (5);
if (!(player in zhc_offload_HeadlessArray)) then {
[true>
23:46:21   Error position: <zhc_offload_HeadlessArray)) then {
[true>
23:46:21   Error Undefined variable in expression: zhc_offload_headlessarray
23:46:21 File t\zhc\addons\offload\fnc_initHeadless.sqf..., line 38
23:46:51 NetworkClient::OnClientStateChanged state MISSION ASKED, expected ROLE ASSIGNED
23:46:51 NetworkClient::PrepareGame - no role assigned
keen vault
#

Oh eh... We had something similar but HC balancing didn't seem to be affected.

cold trail
#

Never mind, fixed the problem. Someone turned off the offloading setting

foggy shale
#

If someone is willing to do some DM's with me over this, and answer some questions. I have a dedicated, runs fine, but I've never bothered with headless client and never truly understood how to do them to allow the server to run even better, or so I am told it would.

If anyone is game, send me a DM, otherwise more research, but I feel braindead trying to read through doing it

twilit sierra
#

Hi guys, I have a question regarding Headless client. I created a server using TADST and I also created an Headless client on the same PC I'm hosting and playing. However, I want to add a second Headless client from a PC I have at home. What IP should I put in TADST and the .bat file for the second Headless client? Thanks in advance!

twilit sierra
#

Also do i need to put it two times in TADST?

#

Or just once?

cunning sage
#

yes. no. yes. it is even default in server allowed HC since a patch or two

twilit sierra
#

@cunning sage i tried like you said

#

But it didn't

#

Work

cunning sage
#

remember that each HC will need separate premade slots

twilit sierra
#

Yes i have three slots

cunning sage
#

and to avoid issues with data cache lock each should have separate profiles directory

#

perhaps that's only with perf binary

#

your console/log will state your error

twilit sierra
#

Uuuuh

#

Wait

#

I used the same bat file

#

I just changed directories

#

Omg why is it so complicate

twilit sierra
cunning sage
#

I'm not sure what you mean with "changed directories"

#

probably easier if you post what you're doing instead of us guessing 🙂

twilit sierra
#

The files path sorry

cunning sage
#

i.e. post the bat files you use to launch server and clients

twilit sierra
#

I need first to remove my name and the IP lol

cunning sage
#

remove your IP? think_turtle

#

the IP should be 127.0.0.1 if they are on the same machine

twilit sierra
#

I tried but it didn't work

#

So i changed it with the my IP AKA the IP of the server

cunning sage
#

but you said you're hosting on the same machine?

twilit sierra
#

Yes

#

And also i have one Headless client on it

#

The problem is with the second one

cunning sage
#

then you should use 127.0.0.1 i.e. localhost

twilit sierra
#

I put 127.0.0.1 in both

cunning sage
#

show bat files instead

twilit sierra
#

Yes i will

cunning sage
#

there's is no point in me guessing what you're talking about 😄

twilit sierra
#

Uuuuuh I cant send it

#

@cunning sage check DMs

cunning sage
#

looks good, what is the issue shown in console/log?

twilit sierra
#

@cunning sage if you mean when i start the Headless client the issue is that it doesn't do nothing

cunning sage
#

"doesn't do nothing" is not very specific

twilit sierra
#

Im not joking lol, it just says cretaed profile and thats it

#

It doesn't connect etc

#

It doesn't give errors

cunning sage
#

there is not "created profile" log statement in neither server nor headless logs?

twilit sierra
#

Where can i check that?

#

In RPT files?

#

Btw i didn't port forward, etc because im playing on same connection

#

@cunning sage sorry, it doesnt say "created profile" but "Dedicated client created" and in the log statement of the server it doesn't say nothing

#

Like it didn't even connect

cunning sage
#

you don't have to port forward for loopback interface, might have to allow in windows firewall though

twilit sierra
#

Wdym sorry?

#

@cunning sage

cunning sage
#

routers does not have to be port forwarded, game needs permission to bind ports in windows firewall

twilit sierra
urban juniper
#

is there an RCON command to manually assign an HC to the proper role? we got the HC to connect to the server,but it's not automatically assigning to the slot

cunning sage
#

sounds like some issue in the setup, HC should autojoin slot

torn flare
#

I have a dedicated server and 3 headless clients whenever the AI Load in all 3 of the Headless Clients crash, they are all 64bit, any help on how to stop them crashing?

regal whale
#

What exactly is a headless client? what does it do?

heavy tiger
#

Channel description

cunning sage
#

”Magic”

analog trail
#

Has anyone here encountered ErrorMessage: File /home/container/.local/share/Arma 3 - Other Profiles/HC3\HC3.Arma3Profile, line 10: Config: End of file encountered after Not Fuzz: Ope?

#

It proceeds to then crash the HC

#

This is the .Arma3Profile for reference

version=2;
class MainMap
{
    class Compass
    {
        inBack=0;
        position[]={-0.068000004,-0.063750006,0.2};
        positionBack[]={0.010000003,0,0.1};
    };
};
lastMPMission="Not Fuzz: Ope";
volumeCD=5;
volumeFX=5;
volumeSpeech=5;
volumeVoN=5;
singleVoice=0;
soundEnableEAX=1;
soundEnableHW=0;
volumeMapDucking=1;
#

I've also encountered File /home/container/.local/share/Arma 3 - Other Profiles/HC2\HC2.Arma3Profile, line 18: '.C': 'C' encountered instead of '= on an earlier file

#

but the contents was mostly identical, that class MainMap was at the bottom.

cunning sage
#

No, it does not manage profiles atm

#

Check for Unicode characters

analog trail
#

Can't find any

#

A different .Arma3profile looks like this though

version=2;
class MainMap
{
    class Compass
    {
        inBack=0;
        position[]={-0.068000004,-0.063750006,0.2};
        positionBack[]={0.010000003,0,0.1};
    };
};
lastMPMission="Not Fuzz: Operation Cornetto";

and is still running

#

making me wonder if there's some kind of issue with writing out the mission name?

cunning sage
#

Check for hidden characters

#

Like non breaking space

#

Classic config breaker

#

Should be fine within strings but blobdoggoshruggoogly

analog trail
#

Late reply, but couldn't find any hidden characters

heavy tiger
analog trail
#

My running theory is that two HCs are reading/writing to the file at the same time

#

Or something like that

#

Anyhow lazy fix for now is to empty the file and make it read-only, we'll see if that fixes it for the time being.

last ledge
last ledge
cold trail
#

What is the point of diminishing returns for headless clients?

Like, I've got a server with a dozen cores, a good processor, and good enough memory. I want to have a lot of AI placed (in the hundreds). I know I can support more than one HC, but what is the optimal number before I start hurting performance?

mellow bluff
#

I wouldn’t go above 5 HCs :)

cold trail
#

Gotcha, thanks!

exotic coral
#

So having a weird issue and I'm 99% sure it's down to headless clients (Zulu headless client specifically) the AI spawn in without simulation enabled. When you enable it, it may work for like 30 seconds, then disables itself again. Dynamic simulation is disabled within the mission file. Using Simplex Support Services to do this, but issue can be recreated with any mod that spawns in AI (that isn't Zeus).

#

Huh, actually just found the ZHC Caching options, and that may be what is causing the issue meowfacepalm

gloomy cobalt
#

are HC Ais suppossed to behave bad?

#

like dont follow movemarks etc.

#

i am using ZULU

#

anyone else using ZULU?

fierce lantern
#

Can headless clients connect to player servers?

#

Or only dedicated?

sleek apex
#

that goes for any HC

sleek apex
heavy tiger
#

See link in channel description

frank sky
#

arma uses 2 cores ... server might have 8+ cores. run another arma instance (headless client) on 2 other cores, and have it connect to the server, like a player but without a display interface (hence, "headless"). then use the headless client to spawn some/all of the AI on, making use of more CPU cores.

#

the server cannot really make use of normal player CPU cores to offload AI onto ("headed client") , as there would be a huge increase in network traffic over internet which would quickly bottleneck the server and ruin player FPS. Since the Headless Client is running off the same machine as the Server, there is no network traffic bottleneck, so it works

heavy tiger
#

arma uses 2 cores ...
Incorrect :poutcat:

frank sky
#

technically incorrect but effectively true

#
  • mostly 2 cores
cunning sage
#

No, you can check to see how many threads are working. It just doesn’t saturate all that many cores at all time.

heavy tiger
#

Especially on server with high player count, it definitely uses alot of cores

cunning sage
#

Yeah, just because the constant load isn't saturating all cores doesn't mean that burst loads won't. If you restrict the server to too few cores or run too many server/headless processes it will suffer.

quiet cape
#

Any good videos on to show how to setup headless client? For arma? I think we have one but don’t really understand how it all works

quick niche
#

do i need an extra arma 3 copy to make my laptop a headless client?

quick niche
#

thanks!

ebon flax
#

Got a theoretical question for you, is there a max number of headless clients that can be connected to a server and if so, where is the perforce drop-off / bottleneck e.g what would be the playable max?

heavy tiger
#

The max number is the max number of players, I think 128?

#

Performance dropoff is not really possible to say

#

depends too much on what you're doing

cunning sage
#

when in doubt, use one

flat rock
#

Hi Everyone, I've tried the search but didn't find anything related:

Is it possible to use a wildcard (mask) or CIDR notation in the headlessClients Array, or is this always a 1:1 mapping?
Follow-up Questions would be if it is possible to disable the IP-Filter for headlessclients?

cunning sage
#

1:1, no wildcard or cidr

normal frost
ruby wigeon
#

IME the number of AIs you can handle is typically limited by client perf anyway, so in practice even two HCs is questionable if your server has good cores.

keen vault
cunning sage
#

Or if you run other logic on HCs 🙂

calm geode
#

if i set up a headless client per linux, using "./arma3server_x64 -client -name=HC1 -profiles=logs -ip=### -connect=### -port=2302 -password=## -nosound -world=empty -logfile=logs/arma3serverHC" it doesnt create a log file. anyone got a idea what i did wrong?

ruby wigeon
#

I don't think -logfile exists, and -profiles doesn't work on Linux.

heavy tiger
#

logFile doesn't exist.
And linux doesn't write log files, it just writes to console

west flame
#

Is it an intentional feature that when isRemoteExecuted is used with a HC -> Client remoteExec it returns false? Same with remoteExecutedOwner returning 0 instead of the ClientOwner ID of the headless client?

unreal loom
#

So, i have managed to get the HC to launch and connect to my server. They just do not connect to the roles themselves. Anyone have an idea as to why this is happening?

ruby wigeon
#

You have headless client objects set up in the mission?

unreal loom
#

From what i am aware, yes. I'm using ACE and from what i've read it takes care of everything. Just need to load mission and go into ACE Headless and turn it on. Once thats on launch the HC

ruby wigeon
#

What roles are you expecting them to connect to then?

unreal loom
#

This is the "Error" that popped up this time while launching

6:45:05 > You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.
alive_amb_civ_placement, alive_amb_civ_population, alive_mil_opcom, alive_mil_cqb, alive_mil_placement, alive_main, alive_sys_profile, alive_sys_data, alive_sys_playeroptions, alive_sys_weather, alive_sup_player_resupply, alive_sup_combatsupport, alive_sup_cas, alive_sup_transport, alive_mil_c2is.

#

I am using ALiVE and want to connect the ALiVE AI to them to reduce load on players PCs

ruby wigeon
#

That error implies that whatever machine generated it isn't loading ALiVE.

#

which would definitely be a problem if it's an ALiVE mission.

unreal loom
#

Thats the weird part. ALiVE is loaded on the machine. I'm running it from my dedicated box that also runs my server. I use FASTER to help configure everythign

#

everything**

ruby wigeon
#

Post the RPT.

unreal loom
#

Trying, but its not uploading

ruby wigeon
#

This is the server RPT?

unreal loom
#

thats the HC RPT

ruby wigeon
#

It's a server RPT. No -client, no -connect, no -password.

unreal loom
#

Got it figured out. Just did a batch file instead of using FASTER. Was easier

keen vault
unreal loom
#

They’re deployed. The server itself runs with the mods. Just not the HC.

keen vault
#

did you tick them in the HC column?

unreal loom
#

I’m 50% sure I did that lol. I’ll check later when I’m on my rig

gloomy cobalt
#

am i the only one experiencing ai ragdoll laggy/glitchy with them on HC and perfectly good without HC loaded?

ruby wigeon
#

Well, the ragdoll for HC AI is going to be simulated on the HC and transmitted from it, so that would be an indication that either the HC frame rate is low or it's struggling to push enough data over the network.

frank sky
#

hmm. having issues connecting my headless

#
18:34:12  > You were kicked off the game. Steam authentication failed.```
#

i dont recall what the solution was for that

keen vault
void zinc
#
23:50:06 Client: headlessclient - Unauthorized Headless Client connection attempt
#

halp

#

both server and client has a good configuration but still got this error

void zinc
#
 0:20:20 Client: headlessclient - Unauthorized Headless Client connection attempt
 0:20:20 Client: headlessclient - Kicked off because of invalid ticket: Invalid ticket - Ticket invalid
 0:20:21 Client: headlessclient - Unauthorized Headless Client connection attempt
 0:20:21 Client: headlessclient - Kicked off because of invalid ticket: Invalid ticket - Ticket invalid
 0:20:22 Client: headlessclient - Unauthorized Headless Client connection attempt
 0:21:40 Client: headlessclient - Unauthorized Headless Client connection attempt
 0:21:41 Client: headlessclient - Kicked off because of invalid ticket: Invalid ticket - Ticket invalid
 0:21:41 Client: headlessclient - Unauthorized Headless Client connection attempt
 0:22:08 Client: headlessclient - Unauthorized Headless Client connection attempt
 0:24:03 Client: headlessclient - Unauthorized Headless Client connection attempt
 0:24:03 Client: headlessclient - Kicked off because of invalid ticket: Invalid ticket - Ticket invalid
 0:24:04 Client: headlessclient - Unauthorized Headless Client connection attempt
 0:24:04 Client: headlessclient - Kicked off because of invalid ticket: Invalid ticket - Ticket invalid
 0:24:05 Client: headlessclient - Unauthorized Headless Client connection attempt
keen vault
void zinc
#

the module was placed, scripts, all the requirements was implemented but i still got the issue

keen vault
#

Scripts?
Did you give the modules variable names?

heavy tiger
#

So definitely not "all of it", double check it.

#

I'll change that log message to also print the IP address

heavy tiger
#

11:32:18 Client: dedmen - Unauthorized Headless Client connection attempt from 192.168.73.1:2316
There with next profiling branch update

cunning sage
#

that should help with confusion around container IPs 🙂

small hatch
#

just realised there is a channel for this

small hatch
#

Does headless client require some extra work on Zeus or will it automatically take over the units?

keen vault
#

you need some mod like ZHC to transfer units to it

small hatch
#

doesn't ace come with some sort of support for HC?

keen vault
#

Yup but it's real basic

small hatch
#

right, just need something to make it as simple as possible with let's say some tangible improvement

cunning sage
#

ace now bundles the acex headless client manager yeah

#

you just need to enable it in CBA Settings

small hatch
#

Awesome thanks

humble dirge
#

is this where i can come ask questions and such on HC?

frank sky
#

yep

humble dirge
#

so if you have a hosted client and you get another server and set it up to be a HC, do the zueses then have to do anything special to have the AI use that HC other then put down a HC module?

cunning sage
#

You need to assign the AIs to the HC manually or use a manager such as ACE Headless

frank sky
#

is there any trick to getting more than 1 headless client to connect

#

testing at home

#

second HC wont boot up properly

#

is there a limit to the instances of "arma3server_x64.exe" that can be running perhaps

cunning sage
#

They will try to lock the cache file

keen vault
#

the profiling branch blocks it, main branch works fine with multiple HCs using the exact same config folders

ruby wigeon
#

I assume you can do -name hc0, -name hc1 and it'll work?

keen vault
ruby wigeon
#

huh. Does that mean headless clients don't work on Linux anymore?

#

I thought the only thing they accessed in the root profiles folder was the log output.

keen vault
#

🤷 thats what it was the last time I tested this (January ish)

#

see here for someone trying that on linux 😄

frank sky
#

i am on dev branch

#

so we can add multiple HC with arma3server_x64.exe, but the -profiles startup param needs to be different?

cunning sage
#

Yes, or you’ll run into data lock. Or spawn headless clients when server has finished starting

frank sky
#

thanks, managed to get it working with that advise

lone knoll
#

Anyone get issues with zues mods when using a HC?

#

Having issues with AI carrying out commands using the reinforcements modules

keen vault
#

They aren't particularly responsive if on an HC, i get the best results by transferring them onto my client first and then telling them what to do

frank sky
#

interesting that if I, as zeus, give a server-owned group a waypoint, they will ignore it... but if i give a HC-owned group a waypoint, they will follow it

keen vault
#

Interesting, my experience is the complete opposite of that :D

lone knoll
keen vault
humble dirge
#

anyone know why i would be getting Warning Message: Addon 'CUP_Afghan_Data' requires addon 'CA_E' and my HC is just having steam auth issues?

#

im beating my head against the wall with this

#

if someone wants to be a hero ive been working on this for 12 hours now lol

ruby wigeon
#

First one is just missing CUP terrains core, I think.

humble dirge
#

both servers have it

ruby wigeon
#

Is it successfully loading?

humble dirge
#

ive even redownlaoded it on my HC

ruby wigeon
#

Check out the mod tables in the RPTs.

humble dirge
#

thats error i gave is from the logs when the host techs looked at it

#

my HC just steam auth errors and wont connect

#

im still new to hc and stuff so reading the rpt is a little odd for me

humble dirge
#

yeah still having the issue heh

#

just a wall of steam auth errors

keen vault
humble dirge
#

headlessClients[] = that is in the server cfg with the HC connection Info in it for the ip and such

#

im staring at the HC slot in the mission

keen vault
humble dirge
#

wait

#

i dont put the ip of my hc in there?

keen vault
#

well yeah, is your HC on a different network or on the same PC you're hosting your server?

humble dirge
#

i am using a host

#

theyre in the same datatcenter and such

keen vault
#

did they tell you what IP to insert there?

humble dirge
#

i am asking

#

i also put that in the server.cfg on the main machine right?

#

not on the HC?

keen vault
#

I'd definitely try out headlessClients[] = {"127.0.0.1"}; , thats the localhost IP

humble dirge
#

but thats if i am hosting off a comp in my home isnt it?

keen vault
#

they're probably doing the same

ruby wigeon
#

Depends if they have an "add N HCs" button on the server, or there's a separate server interface that you put in headless client mode.

#

Former would probably use 127.0.0.1, latter would probably use external IP.

humble dirge
#

ok so i got it to work

#

if it connects and all that then do i just spawn a butt ton of enemies to test it to see if the server dies like it did before or is there a better way to see if it is taking the load of the AI?

keen vault
humble dirge
#

acex

ruby wigeon
#

Spawn enemies, run [count allUnits, { local _x } count allUnits] on the server.

#

ACEX might take some time to move them.

humble dirge
#

werthless better?

keen vault
#

ZHC is imho best with the debug menu and the option to transfer AI back

sleek robin
keen vault
#

I hope you're not running ZHC on a liberation mission...

sleek robin
#

its not

#

thats just the debug thing

tall bobcat
#

I'm trying to test an MP mission with an HC on a local 3den multiplayer server, is this even possible?
I've attempted to run the HC from the same pc using with startup parameters .\arma3server -client -connect=localhost but my client gets a steam client error upon connecting each time. I'm pointing to my config in A3's startup params and have repeated the steps consistent with my working HC implementation on my Linux DS but no avail.
Am I missing something? Thanks 🍻

keen vault
tall bobcat
#

As far as the local config goes, things are working.
HC wasn't even showing as connecting until I added -config=MY_CONF to the Host section of my startup params via the launcher. That got my HC connecting but still disconnects upon joining with the steam client error.

Only have this in my config:

headlessClients[]  = {"127.0.0.1", "localhost"}; 
localClient[]      = {"127.0.0.1", "localhost"};
cunning sage
#

Are you running a dedicated server? Or are you hosting via the in game menus?

tall bobcat
#

This is via the game menu

cunning sage
#

Launch a dedicated server instead, either via the dedicated server binary or with the -server argument

tall bobcat
#

Ahh okay, so there's no way to connect an HC to a 3den created instance?
Ideally, I'd like to be able to edit in 3eden -> launch local server with new edits -> Start HC/connect to server -> debug HC-> repeat ♾️ but if this is not possible then my question is answered. Thanks folks 🙂

urban juniper
#

No

#

Why would you want to?

ruby wigeon
#

Testing that scripts actually work on headless clients, I guess.

urban juniper
#

Nope, no reason. HC is explicitly a thread offloader, it doesn't need to function in 3DEN because 3DEN doesn't need AI

remote coral
#

Hey guys,
Whats the recommended number of HC's before it starts to become detrimental? This is for dedicated server running larger ops of 50-60 pers.

runic cobalt
#

That really depends on the mission, the amount of AI spawned in it and the capacity of the server(s).

A single HC is usually enough when running Zeus missions (so the amount of AI is limited to only what is needed at that time).
When the mission has already have a lot of AI pre-placed a second HC could be useful.

I usually calculate 100 AI Groups (not units) per HC to be on the safe side.

keen vault
#

same amount of players, we run with two

remote coral
#

So we currently run with 2 and they are usually zeus missions with no more than 50 AI pre placed. But I've been told in the past that there's no point running more than 2 because the effectiveness is reduces and it can actually be detrimental to performance. Is there any truth behind that really?

ruby wigeon
#

If you're running with only 50 AIs I wouldn't bother with the HCs at all.

#

The direct performance cost from the server adding HCs isn't large, I think. Just some extra network spam. If they're running on the same hardware then you're using a lot more memory & cores with HCs, which may have a negative impact on the server itself.

remote coral
#

No, you misread what I said. 😄
We run zeus missions with no more than 50 AI pre-placed. During the rest of the mission there will generally be 200+.

#

But the rest of your comment does kind of answer my question anyway.

frank sky
#

im a little more conservative with HCs, generally not more that ~60-75 AI units running on a HC

#

with 3 HC that drops down to about 30 AI per HC

signal terrace
#

I'm trying to set up a headless client at the moment. I've added the relevant IP settings to the server.cfg with the loopback IP.

The startup parameters for my headless client are

arma3server.exe -client -connect=127.0.0.1 -password=<password> -name=HC1 -par=startup_params.txt -profiles=headless

startup_params.txt contains my mod line.

The Headless client is connecting to the server with the name headlessclient. It's not slotting in to any of the headless client roles. I can see the client open on the physical server and it's also echoing back when I connect to the server via my game, so I can tell the HC is connected to the server. I think the problem is just that it's not choosing a slot.

I remember from a few years ago that you should set -name= to the name of the slot, in this case HC1, but the headless client is still using the name headlessclient.

Have the setup steps changed?

#

Also worth noting that, while the process for the headless client can see me connecting/disconnecting to/from the server, I cannot see the headless client in the lobby.

cunning sage
signal terrace
#

I'm logged in as admin. I can see the slots themselves but no HCs in those slots

#

Adding allPlayers to a watch also only shows my unit

#

Well ignore that. I'm braindead.

I had

headlessClient[]={"IP"};

instead of

headlessClients[]={"IP"};

cunning sage
#

easy mistake 😄

ruby wigeon
#

-name doesn't matter btw.

#

Although apparently on profiling(?) you can't share profiles between instances anymore, so you'll need to give your HCs a unique profile name.

frank sky
#

do we have any idea why AI switch to pistol when offloaded to headless client?

keen vault
#

Maybe their loadout becomes corrupted and they loose their rifle and then switch to their secondary?

runic cobalt
signal terrace
keen vault
signal terrace
#

Is it -profile or -profiles

I know -profiles sets the folder where required profiles are stored.

keen vault
#

going of memory and not changing that all to often so not sure 😅

#

-profiles=<path>

signal terrace
#

I'll double check my startup params again later. I'm sure I set the latter with -name

keen vault
#

It might be optional so they connect to a specified slot but its definitely not required.

cunning sage
#

with profiling each server and clients tries to lock the cache file so they'll get stuck if all use same cache folder. cache folder is controlled with -profiles

signal terrace
#

That's good to know. I am using symlinks and Powershell to automate my deployment/update process where core game data is shared. I was going to share profiles to centralize profile configs but I'll split them out instead due to the cache lock issues you've both mentioned.

frank sky
#

I alter the loadout on server by default (change primary weapons, etc), then some time later maybe it gets offloaded to HC

#

the unit will pull out its pistol

#

only fix i have is quite dirty

#

on HC after offloading to HC _unit setunitloadout (getunitloadout _unit)

#

since using _unit selectweapon (primaryweapon _unit) does nothing

humble dirge
#

Anyone ever have an issue where the AI are naked when they connect to the HC? We're using Acex atm for the HC mod

dusk radish
#

Yeah, try the CBA Setting