0

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

user525717
  • 155
  • 2
  • 3
  • 6
  • This is nearly identical to a question we had about Counter-Strike: Source (perhaps you are also playing CS:S and just mistagged?) http://gaming.stackexchange.com/q/63114/13845 – agent86 Jun 29 '12 at 14:13

3 Answers3

1

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

tiddy
  • 4,482
  • 7
  • 33
  • 42
1

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

Novarg
  • 7,721
  • 11
  • 39
  • 60
0

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

Dave McClelland
  • 15,515
  • 21
  • 83
  • 125