View Full Version : autoexec_mp.cfg execution?
imported_Maxim
11-16-2003, 01:11 PM
When is autoexec_mp.cfg supposed to be executed? I've placed it in my main directory and when I load CoDMP.exe it's not executed. And when I join a server, it's not executed. I've placed an echo in it so it's easily visible and have only seen it when I manually exec the autoexec_mp.cfg myself. Am I missing something somewhere? Shouldn't it execute when CoDMP.exe is loaded?
imported_MaD-Ogre
11-16-2003, 08:56 PM
It's the last .cfg file loaded. Mine works fine. Set a bogus cvar in your file (like set testme "here"). Then after you load CoD, pull down the console and type cvarlist and use PageUp and PageDown to look for the cvar. If it's there, your file loaded.
imported_Maxim
11-16-2003, 11:05 PM
Yeah, i've placed an echo in it so it's easily visible but i've only seen it when I execute it myself.
imported_MaD-Ogre
11-17-2003, 09:10 AM
If you're talking about starting the client, I'm not sure that you'll see the echo, that's why I suggested the bogus cvar. If you're starting a server, you can slide the console response bar up and at the very top you'll see what .cfg files were loaded, and your echo.
imported_Maxim
11-17-2003, 09:44 AM
Ohh sorry about that, yeah this is as a client. :( I did what you siad and the CVAR is in the list. This makes me ask which commands along with echo are moot in the autoexec? I have a connect in there in hopes that it will connect to my favorite server when I load the game but it doesn't seem to do that. :(
I just did a little check to see if my rconpw was set and it wasn't, it was still the default.
I had in my config:
rconpassword <password>
And it didn't set it, but when I changed it to:
set rconpassword <password>
It worked fine, does it prefere to use the set command when not ingame or something?
imported_MaD-Ogre
11-17-2003, 01:30 PM
rconpassword is a cvar and you should use a set command in config files.
Client-side configs executed at startup won't show up in the console. echo does work from the client, though.
Checkout my list of rcon commands http://webpages.charter.net/clan_kirkpatrick/sok/CoD%20Commands.pdf.[/url]
LPChip
10-28-2004, 01:43 PM
It can also be, that there are other mods that have this autoexec_mp.cfg in their mod. If so, it is possible that that file is loaded instead of yours.
You can fix this by renaming your script to something else, and either call +exec scriptname.cfg from the commandline, or locate the mod that is using the autoexec file and modify that autoexec file by adding exec scriptname.cfg to it.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.