Jump to content
Sign in to follow this  
msg trit

Headless Client: Connect to a Server with a Password

Recommended Posts

Using the recent betas I've been experimenting with the headless client, starting a dedicated server and getting the headless client to connect to it etc.. The problem I'm having is trying to get the headless client to connect to a dedicated server when the server has a password set. If the dedicated server does not have a password then the headless client connects to it without a problem. If the dedicated server does have a password after about 8 - 10 seconds of the headless client starting up it starts displaying repeated "Cannot join the session. Wrong password was given." messages. I've tried many different passwords as well, even simple ones like a single letter or number, it fails to connect whatever the password is.

The shortcut for the headless client is as follows. (Please note I've tried adding -connect=127.0.0.1, but it didn't help)

"C:\Program Files (x86)\Bohemia Interactive\ArmA 2\Expansion\beta\arma2oa.exe" -beta=Expansion\beta;Expansion\beta\Expansion -client -name=__HC__ -password=hctest

Has anyone else managed to get the headless client to connect to a dedicated server that has a password set? If yes is there a certain way to do it?

Mods: Apologies if this thread is in the wrong place or it breaks any other rules. Please move or edit as necessary.

Share this post


Link to post
Share on other sites

An update to my initial post, I have managed to get the headless client to connect to a dedicated server that has a password set (using the 99515 beta patch, not sure if that had any affect). However the headless client does seem to be somewhat picky about when it does connect.

So far I have discovered that after the headless client is started it won't connect unless at least one player is connected and the mission has been selected, also during my testing it seems like the headless client won't connect until the mission has been selected twice (with the headless client has being restarted each time, which sounds weird I know).

I think I should reiterate that none of these connection problems occur if the server does not have a password set.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×