Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

i want to make counter-strike shortcut with connect parameter when game stats automatically connect to server

I have tried -connect xx.xx.xx.xx:27015 but i does not works

share|improve this question
    
This is nearly identical to a question we had about Counter-Strike: Source (perhaps you are also playing CS:S and just mistagged?) gaming.stackexchange.com/q/63114/13845 –  agent86 Jun 29 '12 at 14:13
add comment

3 Answers

up vote 1 down vote accepted

According to this you should do it like that:

steam://connect/<ip address>:<port>

It can be a simple .bat file or a shortcut for a browser that will load that link. Other option is to use this argument:

+connect <ip address>:<port> 

Hope it helps

share|improve this answer
add comment

I believe the Counter-Strike launch parameter is "+connect" not "-connect".

Full list of launch parameters are located here: https://developer.valvesoftware.com/wiki/Command_Line_Options#Examples

share|improve this answer
add comment

Try changing -connect to +connect as per the Valve Wiki article on Command Line Options

share|improve this answer
    
I'm not at home to test right now, but that should work (probably) –  Dave McClelland Jun 29 '12 at 13:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.