View Full Version : Config files
Sid77
04-24-2004, 06:50 PM
Noob question, sorry. I have setup a map rotation from the rcon but was wondering if I can have maybe 3 or 4 map rotation files/scripts so I can pick and choose when I feel like it. Is that possible?
Also I hear talk of people editing different .cfg files. Where do I find and edit these files? I'm currently renting a jolt uk 24 man server. I got ftp username and password with it, but can only use that to access the Jolt Server admin which doesnt let me do anything different from rcon in game? How can I get at this cfg files? Am I completely missing something here?
Any help would be appreciated.
If I recall, Jolt UK doesn't allow you to have acess to the game's Main folder right? As such, that does drastically limit what you can do...or at least certainly makes it more difficult.
You could try creating different map rotations and store them in your own call of duty/main folder, then bind keys in your config_mp.cfg file to execute the different ones you want. I'm not sure if it would work, but theoretically it should:
Example Config Contents (re.cfg):
//add your rconpassword
rconpassword "whatevermyrconpasswordis"
//Clear the old rotation
rcon set sv_maprotationcurrent ""
//Set the new rotation to RE
rcon set sv_mapRotation "gametype re map mp_chateau gametype re map mp_carentan gametype re map mp_brecourt gametype re map mp_rocket gametype re map mp_railyard gametype re map mp_dawnville gametype re mp_bocage gametype re map mp_brecourt gametype re map mp_harbor gametype re map mp_hurtgen gametype re map mp_pavlov gametype re map mp_powcamp gametype re mp_neuville"
//Rotate to the first map in the new rotation
rcon map_rotate
Bind for the above Example
/bind F5 "toggleconsole;exec re.cfg;toggleconsole"
Again, I'm not sure if this method will work, but I would think it should. You can also set it up through a series of cvars, then add a bind to execute those cvars using VSTR.
Other then that, you'd need access to the servers MAIN folder so you can upload different configs. Give my example and try and let me know if it works...
Sid77
04-25-2004, 08:49 AM
OK m8 will do. If what you say is true I can't edit any punkbuster cfgs either then? I wanted to put automessages from the console ingame and was told I needed to edit a punkbuster config file to do it.
You will be able to set them via the console; just going to take you longer. When you have everything set, simply type /PB_SV_WRITECFG and PB will write all the new settings/changes to the pbsv.cfg file, making the changes permanent (or until you change them and write the cfg again).
Sid77
04-25-2004, 01:26 PM
Thanks for all your help so far. I thought i successfully followed all the relevant commands but i still go no auto messages come up. Here's what I did....
pb_sv_tlist
// this told me there we no tasks running at the moment
pb_sv_task 10 60 "I typed a message here"
pb_sv_writecfg
//this told me the changes had been written to the config file. I restarted the map and no message appeared?
If I run /pb_sv_tlist it does show the tasks I have setup but they don't seem to be appearing.
I must have done something wrong?
Might need a server restart, not sure how PB changes work from a runtie perspective. Try restarting the server...
Sid77
04-25-2004, 02:07 PM
Not sure how to do that? It's been done once already but by Jolt, when they did I lost all my changes made to server.cfg. I could back this up if I could get to the file but I don't seem to be able.
They don't even give you the ability to start/stop the server???
...man...
Well, if you really want to, you could just issue /rcon quit. This would kill the server and IF Jolt.uk has their stuff setup properly (which I certainly doubt considering the lack of features they provide), the server would restart and your new settings would be in effect.
Should you try this, I strongly suggest you do this before:
1. Bring down your console
2. Type /rcon pb_sv_httpaddr "69.93.246.211" (replace with your server IP)
3. Then type /rcon pb_sv_httpport 28960 (port doesn't matter so long as no other program on that machine is using that port)
Then, when you write that to the config and restart your server, you will be able to access your server via the web using PunkBusters built in web control component. You would access it using a web browser, entering "http://" and then your server ip and whatever port you used above (i.e. http://69.93.246.211:28960). Then, you would enter your rcon password and then be able to manipulate various pb and server settings.
It's up to you. The worst case scenario is you killing the server and it not coming back up so you have to contact jolt.uk to get them to restart it for ya - don't know how their support is so you're on your own with that one :wink:
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.