PDA

View Full Version : Shortcut commands to connect to server


Canadaka
12-15-2008, 01:19 AM
With COD4 you could use commands appended to the game EXE shortcut to login to RCON and connect to a server. This is handy because i have shortcuts on my desktop to connect to my clans server and match server in one click and have RCON access.

But with COD5 "world at war" these commands don't seem to work from the shortcut, I think its because of the new online profile. After the game lunches it takes awhile to login to your profile, so the startup commands fail.

So I was wondering if anyone knew of a way to get around this, or if there is a different method of automating connecting to a server from a shortcut.

This is an example of the shortcut I have for COD4

"C:\Games\Call of Duty 4 - Modern Warfare\iw3mp.exe" +rcon login PASSWORD +connect 208.100.45.210 +cl_connectionAttempts 30

=ACID RAIN=
12-15-2008, 01:49 AM
What is the command used to authenticate to the server? Find that and it might be possible to write the shortcut so it launches that, and then after that it launches the connection attempt.

It's probably in the cmd list, but I have no idea what they might have named it.

edit: Looks like dw_connect might be it. I'll mess with this some.

edit2: nope, more research needed.

=ACID RAIN=
12-15-2008, 02:25 AM
Best I can see right now is a bind. Getting past or waiting for that account auth is going to be interesting ;)

Canadaka
12-15-2008, 02:57 AM
is there possibly a delay command?
load game, then delay 10 seconds then do the connect command.

=ACID RAIN=
12-15-2008, 03:15 AM
I tried +wait 10 in command line
I tried wait 10 in a .cfg file and called it from command line

Nothing seemed to work. It wasn't parsing "wait 10" correctly, so I'm not sure if times are deprecated now in the wait command or what. Additionally I'm not sure how to make it wait after the auth is set in motion. As of now if it could wait, it would wait 10, then attempt the auth.

If you could cue a command it would be great, but I'm not sure how this could be done. It's 1AM though, I may be able to think of something more useful tomorrow.