total 1 Posted March 29, 2015 (edited) Hi, I have tried for a while to get a local headless client to work on my dedicated server, but it just gets disconnected again and again with this error message: player headless client kicked steam ticket check failed [null] - Inside the mission I have placed a playable Virtual Entities, Headless Client unit. - Inside the server.cfg file, I have placed: headlessClients [] = {"84.213.177.99"}; localClient [] = {127.0.0.1}; - I start the headless client with arma3server.exe inside the Arma 3 Server folder: -client -connect=127.0.0.1 -port=2332 -password=elite2 "-mod=Curator;Heli;Kart;@Blastcore-A3-Phoenix;@Blastcore-Tracers;@CBA_A3;@nato_russian_sf_weapons;@rhs_afrf3;@rhs_usf3;@norwegian_units;@Ares;@ASR_AI3;@CPM;@task_force_radio;@AllInArmaTerrainPack;@agm;@XLib;@bornholm" Does anyone see what's wrong? Must I install Arma 3 with steam on my dedicated server to get it to work or can I use the same arma3server.exe that my servers use? Edited March 29, 2015 by Total Share this post Link to post Share on other sites
killzone_kid 1330 Posted March 29, 2015 prety sure localclient is one word for starters Share this post Link to post Share on other sites
total 1 Posted March 29, 2015 (edited) prety sure localclient is one word for starters It is one word in the config, it appeared a space after Copy/Paste. Still problems! ---------- Post added at 20:42 ---------- Previous post was at 19:55 ---------- I have now tried to create a new profile with the game, uploaded it to the server and then run the profile on the headless client: -client -nosound -connect=127.0.0.1 -port=2332 -password=elite2 "-profiles=C:\Server\Games\ArmA3\A3Master\Profiles\Headless" -name=Headless "-mod=Curator;Heli;Kart;@Blastcore-A3-Phoenix;@Blastcore-Tracers;@CBA_A3;@nato_russian_sf_weapons;@rhs_afrf3;@rhs_usf3;@norwegian_units;@Ares;@ASR_AI3;@CPM;@task_force_radio;@AllInArmaTerrainPack;@agm;@XLib;@bornholm" Still not working. Edited March 29, 2015 by Total Share this post Link to post Share on other sites
total 1 Posted March 30, 2015 I guess I need a real Arma 3 client on my server to get this to work? It is bad that I need to waste 25GB with serverspace to use a local headless client... Share this post Link to post Share on other sites
killzone_kid 1330 Posted March 30, 2015 have you tried headlessClients[]={"127.0.0.1"}; localClient[]={"127.0.0.1"}; Share this post Link to post Share on other sites
total 1 Posted March 30, 2015 (edited) have you tried headlessClients[]={"127.0.0.1"}; localClient[]={"127.0.0.1"}; Yes, still getting kicked. It did work with a real client though. My problem now is that the HC won't connect to the virtual HC unit. I tried to drag the HC as admin, but that didn't work. EDIT: I need to login as admin before the HC joins the server. Edited March 30, 2015 by Total Share this post Link to post Share on other sites
killzone_kid 1330 Posted March 30, 2015 what if you remove all mods? Share this post Link to post Share on other sites
total 1 Posted April 1, 2015 (edited) Thank you, Killzone. I have installed a client on my server and that's working. My problem now is to run the AI spawn script. INIT.sqf: if !(hasInterface or isServer) then { execVM "Spawn1.sqf"; }; Spawn1.sqf if !(hasInterface or isServer) exitwith {}; _side = createCenter EAST; _Squad1 = [getMarkerPos "Spawn1", _side, ["O_soldier_SL_F","O_soldier_TL_F", "O_soldier_AR_F", "O_soldier_AAR_F", "O_soldier_AA_F"], [], [], [0.3, 0.6]] call BIS_fnc_spawnGroup; [leader _Squad1,"Sector1","random"] execVM "scripts\UPSMON.sqf"; What's wrong? The headless client is connected, but after 5 min or so, one immortal AI without weapon, spawn right on the Spawn1 marker. He is not moving and I can't kill him. Edited April 1, 2015 by Total Share this post Link to post Share on other sites
killzone_kid 1330 Posted April 1, 2015 _side = createCenter EAST; dont need that this is kinda done automatically in A3 so you can just _side = east; also ....execVM "scripts\UPSMON.sqf"; 3rd party script, could be the cause of wierd behaviour as well. Share this post Link to post Share on other sites
fight9 14 Posted April 2, 2015 Your if-then condition to run the script is the same to exit the script. You are running the script, then exiting immediately. if !(hasInterface or isServer) then { //... if !(hasInterface or isServer) exitwith {}; Remove that top line of Spawn1.sqf. Share this post Link to post Share on other sites
total 1 Posted April 2, 2015 I have tried that, but it looks like my headless Client doesn't run scripts at all. No hint messages and no ai. ---------- Post added at 15:14 ---------- Previous post was at 15:12 ---------- And no error messages. Share this post Link to post Share on other sites
total 1 Posted April 3, 2015 (edited) This is a script I've used before, which does not longer work. The script works on the server but not through HC. Init.sqf: if(isNil "paramsArray") then{ paramsArray=[0,0,0]}; //get mission parameter to see if //HeadlessClient is present and assign its name if(paramsArray select 0 == 1) then{ if(isServer) then{ HCPresent = true; publicVariable "HCPresent"; }; if (!hasInterface && !isServer) then{ HCName = name player; publicVariable "HCName"; }; } else{ if(isServer) then{ HCPresent = false; HCName = "NOONE"; publicVariable "HCPresent"; publicVariable "HCName"; }; }; if(!isServer) then {waitUntil{!isNull player}}; //Init UPSMON script call compile preprocessFileLineNumbers "scripts\Init_UPSMON.sqf"; //execute spawnscripts on HC if present, otherwise on Server if(HCPresent) then{ if(!hasInterface && !isServer) then{ execVM "spawnscript1.sqf"; //execVM "spawnscript2.sqf"; //execVM "spawnscript3.sqf"; }; } else{ if(isServer) then{ execVM "spawnscript1_small.sqf"; //execVM "spawnscript2_small.sqf"; //execVM "spawnscript3_small.sqf"; }; }; Description.ext: class Params { class HeadlessClient { title = "Headless Client"; values[] = {0,1}; texts[] = {"OFF","ON"}; default = 0 ; }; }; Spawnscript1.sqf: Private ["_grp1", "_grp2", "_grp3"]; if (! isServer && hasInterface) exitwith {}; hint "HC Spawn test!"; _sideHQ = createCenter east; // Area 1 _grp1 = createGroup east; _grp1 = [getMarkerPos "area1_spawn1", _sideHQ, ["O_soldier_TL_F", "O_soldier_AA_F", "O_soldier_AA_F", "O_soldier_AA_F"], [], [], [0.3, 0.6]] call BIS_fnc_spawnGroup; nul = [leader _grp1,"area1_0","fortify","AWARE"] execVM "scripts\UPSMON.sqf"; _grp2 = createGroup east; _grp2 = [getMarkerPos "area1_spawn2", _sideHQ, ["O_sniper_F", "O_spotter_F"], [], [], [0.3, 0.6]] call BIS_fnc_spawnGroup; nul = [leader _grp2,"area1_1","nowait","AWARE","noveh"] execVM "scripts\upsmon.sqf"; _grp3 = createGroup east; _grp3 = [getMarkerPos "area1_spawn3", _sideHQ, ["O_soldier_TL_F", "O_soldier_AA_F", "O_soldier_AA_F", "O_soldier_AA_F"], [], [], [0.3, 0.6]] call BIS_fnc_spawnGroup; nul = [leader _grp3,"area1_2","nowait","AWARE","noveh"] execVM "scripts\upsmon.sqf"; Edited April 3, 2015 by Total Share this post Link to post Share on other sites
total 1 Posted April 4, 2015 The problem was TFR on the HC. It is fixed now! Thanks! Share this post Link to post Share on other sites