PDA

View Full Version : executing a cfg file on the client


Boy_One
01-02-2006, 03:43 PM
Hi there,

i hava a question on executing a .cfg on startup of a client. What i want is i want yust like mohaa to execute a cfg file with the rcon password and the private password in it.

On mohaa it was like this

moh_spearhead.exe +exec passwd.cfg
and the cfg file looked like this :

rconAddress 217.19.28.175
rcon_Password secret //(x = your rcon password).
password secret //(x = your private slot password).

But on cod it doesn't work... Does anybody know how to do this???

OldDog
01-02-2006, 06:54 PM
You have to put the parameters in a startup command line, like so:

CoD2:
"E:\Program Files\Activision\Call of Duty 2\CoD2MP_s.exe" +connect xxx.xxx.xxx.xxx +rcon login your-rcon-password


CoD(UO):
"E:\Program Files\Call of Duty\CoDMP.exe" +connect xxx.xxx.xxx.xxx +rconpassword your-rcon-password

Create a shortcut, and add either of these as a command-line.

[ELS]WRX Boy
01-04-2006, 04:23 AM
You can also do it using a cfg file. I have been doing it that way since COD came out. Here is what mine looks like (edited though):

"C:\Program Files\Call of Duty\CoDUOMP.exe" +exec binds.cfg +exec connect.cfg

OldDog
01-04-2006, 10:59 AM
Really?? I'll have to try it...thx.

Boy_One
01-04-2006, 04:29 PM
WRX Boy']You can also do it using a cfg file. I have been doing it that way since COD came out. Here is what mine looks like (edited though):

"C:\Program Files\Call of Duty\CoDUOMP.exe" +exec binds.cfg +exec connect.cfg


Ok and what is in the cfg file then???

Something like :

rcon login your-rcon-password

And that is it????