View Full Version : +fs_game
MAJ.BRUNO
10-31-2005, 11:29 PM
mod directories are fully supported as in cod:uo!
PLEASE start using them. I've yet to see any of the custom servers using this feature. Just add this to your command line:
example:
+set fs_game ec_rifles
ec_rifles "name of folder used" has to be placed in the home directory of your server, not in main. This makes it alot easier for admins and clients.
Create your folder and place your mod and configs in it, the server will create the game and console logs for you.
You can see an axample of this on one of my servers at: 66.55.142.123
//UPDATED FOR 1.2
Use of a mod directory and custom maps: This is what i use in my config
// Downloads
seta sv_allowdownload "1"
set sv_wwwDownload "1"
set sv_wwwBaseURL "http://eyecandyconversions.com/cod2"
Now on your ftp: you need to have the mod dir. name and main dir. in the same folder/dir as your: set sv_wwwBaseURL
http://eyecandyconversions.com/cod2/images/ftp.jpg
On your server put the maps in your main folder, and make sure you have the same maps in your redirect:main folder. You will see your mod downloading, but may not see your maps downloading upon joining the server.
RaptureReady
11-01-2005, 11:19 AM
That is how I set mine up. All of our mods go into a MoG folder, seperate from the main.
topmug
11-01-2005, 12:44 PM
Always use this on all my servers just wish everyone else would, it saves so many issues with mod conflicts etc.... glad that they left this in lol :D
Top
rudedog
11-01-2005, 01:06 PM
Worthy of a sticky
[ELS]WRX Boy
11-01-2005, 02:55 PM
Thank you very much for pointing this out. I had no idea, but now my clans server is set up this way as well. Thanks again for sharing the info.
hikari
11-08-2005, 04:01 AM
i head you were able to add this to you config file
i have tryed with no luck
anyone have any suggestions?
topmug
11-08-2005, 04:28 AM
Hikari you have to add it to your games shortcut, read this post and see i it makes it easier for you
http://www.fpsadmin.com/forum/showpost.php?p=42243&postcount=5
using that post this is an example
Usage: +set fs_game
Sample: "C:\Program Files\Activision\Call of Duty 2\CoD2MP_s.exe" +set dedicated 1 +set fs_game mugscod
SertifiablyCrazy
11-12-2005, 10:04 AM
Thanks guys.....I have been looking EVERYWHERE for this. Now I can clean my mods up. I use FireDaemon and it seems to be working ok with the script added to it.
Plague
01-03-2006, 02:35 AM
I also use this function. However, I do have a question! When switching the game path everything works great except, if a player tries to change any settings while they are in the server the settings do not hold. They will hold until the player leaves but if he reconnects the settings are lost. I noticed that changing the gamepath on the server creates a config_mp.cfg on the clients pc. When the client tries to save a setting in the server I guess it doesnt save to the right config. Does anyone know what Im talking about or am I not making sense. Anyway, my question is how do I fix this?
xGrunt
01-04-2006, 08:20 AM
I don't know that it's fixable at present. In COD:UO (and other games running the Q3 engine) you could to do this with an autoexec.cfg file that contained all your binds/configurations and would auto-execute as the game started. I've never been able to get it to work on COD2.
What I have done is to put all of my stuff into an autoexec.cfg file, then execute it from the console as I enter the game. It's a bit of a pain but it works.
Scrapie
01-27-2006, 07:33 PM
just put a autoexec.cfg with all binds in /main paste and add +exec autoexec.cfg in your cod2 shortcut
Butch
03-09-2006, 11:01 PM
I rent a server and in my FTP when I first open COD2 I see:
Main
miles
cod.bmp
cod2mp_s.exe
cod2sp_s.sexe
codlogo.bmp
gfx.d3d.mp_x86_s.dll
gfx.d3d.x86_s.dll
localization.txt
mss32.dll
shortcut to cod2mp_s.exe.lnk.
For example if I want to add AWEmod to my server I would create a folder and place it here with the others. Is this correct??
In that folder would go the awe mod, config for it. Correct??
To execute the mod and config file I would add a line to my original config for COD2. I'm not sure but it would be along the lines of: exe.awe.config???
I would like to add a mod but wish to do it correct any help you could give will be appreciated.
Thanks, Butch
xGrunt
03-10-2006, 08:18 AM
Yes. Add a folder named exactly the same as the name you use for the +set fs_game modname you use in your startup line. So for AWE you would add +set fs_game awe3b5 to your startup line and create a new mod folder also named awe3b5.
So you'd have two folders in the COD2 game server directory, main and awe3b5. Follow the directions that come with the AWE mod and upload all the files into the new awe3b5 folder. There are some choices you have to make about certain files (type of grenade smoke, etc) so be sure to read thru the instructions.
You have to modify the awe.cfg file that is among the awe35b files to your liking. The awe.cfg file is well annotated so you shouldn't have any trouble with this.
Then you execute the mod from within your server config by adding 'exec awe.cfg' (no quotes) before the map rotation part of the server config. When the game server starts, it will be running the mod.
BloodyDream
05-12-2006, 07:11 PM
Quick question.. I have AWE set up as fs_game and working perfectly. My question is can I run another fs_game folder on the same server for maps and place all of my custom maps into this folder? Or would it be better to place them into the AWE folder?
example "+set fs_game awe3b5 +set fs_game maps"
Ghost-Ryder
05-12-2006, 11:48 PM
Map have to go in the main folder as far as i know.
BloodyDream
05-13-2006, 01:24 AM
yes, tried since last post and found out the hard way. Looks like you can only run about 5 or 6 customs before you start getting errors. I'm gonna try a map pack tomorrow and see how that goes.
payableondeath
05-13-2006, 06:19 AM
thats due to a limit in the Iwn sum/name dvars :( hope they fix it in the next patch (thats if they do one lol)
putting all your maps in to a map pack should make it work fine with more maps :)
[Dead*Prez]Hamburger
06-21-2006, 04:03 AM
Correct, there is a limit of 4 extra .iwd files. Use packscape and drag and drop all the files into one of the map .iwd folders that shows up in the packscape program, then rename the new file "yourclan_mappack01"
I limit each pack to about 50 megs for no perticular reason.
As for the fs_game:
I had half my clan not able to load our new custom server because of exactly this problem, and had many public players connect and after downloading the maps get disconnected for the same errors. Some other server admins are running mods in the main folder and they were causing a conflict. PLEASE use game folders for each of your servers becuase not only are you messing up how your server runs, but anybody who has connected to your server in the past may now not be able to use other servers. And if they are not tech savy, they will not be able to figure out what the problem is.
The procedure has been explained enough, so I was just adding my frustrating story to the pot.
genuvine
08-01-2006, 06:51 AM
Hamburger']Correct, there is a limit of 4 extra .iwd files.
Sorry, not correct. The IWD Sum Mismatch problem is caused by the server info_string.
worm, the creator of the pam mod, has investigated to that problem and you can review his results here:
iwd Sum/mismatch Revealed, An in-depth study http://www.wormsworld.net/forums/viewtopic.php?t=954
or here: http://www.iwnation.com/Forums/index.php?showtopic=24147
Once again we all have to say a big thanks to worm for his magnificent work.
Hamburger']I had half my clan not able to load our new custom server because of
exactly this problem, and had many public players connect and after
downloading the maps get disconnected for the same errors. Some
other server admins are running mods in the main folder and they
were causing a conflict. PLEASE use game folders for each of your
servers becuase not only are you messing up how your server runs,
but anybody who has connected to your server in the past may now not
be able to use other servers. And if they are not tech savy, they
will not be able to figure out what the problem is.
Absolutly correct. Nothing more to say.
I recommend every admin to create his own, unique mod folder using fs_game for all mods and mappacks. this technique decreases highly mod/map load errors because your files don't interfere with others from other servers. I put all my maps into the fs_game (current 20) and i don't have any load errors. the only barrier is the info_string (mentioned above)
i hope my post will help you.
greets, genuvine
battlereadybuddha
08-05-2006, 11:57 PM
I cannot get the command line to work. My server provider, the same one as in your banner, if that helps, 'does not support changing file permissions', when I go to add that in my ftp. I have read the other posts, and that talks about adding 'C:/Program Files/Activision/Call of Duty 2/CoD2MP_s.exe +fs_game <mod name>' but thats what it says when I right-click>Properties. Help please?
[Sorry if I am a noob at this, this is my first time with a server... I have already set up my http redirect, hopefully, correctly, so I just need to get this functioning on my server, and thats it... <mod name> would be 'awe3nag', and I have those file names set up already. Thanks!]
*EDIT* I contacted my provider, they helped me out.
[5W-SS]Dion
12-24-2006, 02:31 PM
I recommend every admin to create his own, unique mod folder using fs_game for all mods and mappacks. this technique decreases highly mod/map load errors because your files don't interfere with others from other servers. I put all my maps into the fs_game (current 20) and i don't have any load errors. the only barrier is the info_string (mentioned above)
Genuvine,
You say you put your custom maps into your mod folder and use fs_game to set the folder. How do you get the server to see the maps in there??
I have a mod folder set up and everything is working great, but when I put the custom maps in that folder the server doesn't show them as available.
Is there something special I have to do to get them noticed by the server?? Any special command on setting the map rotation? Do they need to be in a "main" folder within the mod folder??
This would really be great because there are some custom map files from another server that conflict with custom maps on my server.
Thanks for any help!
Merry Christmas,
Dion
Scrapie
12-25-2006, 07:36 AM
i will give u an example of starting line of one of my servers
./cod2_lnxded +set fs_game plastik +set fs_homepath "/home/codservers/server/plastik/logs" +set fs_basepath "/home/codservers/server/" +set net_ip 82.102.8.25 +set net_port 28010 +set dedicated 2 +set sv_punkbuster 1 +exec server.cfg
+set fs_game plastik -> set the name of the mod folder
+set fs_homepath "/home/codservers/server/plastik/logs" -> logs and pb config folder
+set fs_basepath "/home/codservers/server/" -> default folder where is the fs_game folder
[5W-SS]Dion
12-26-2006, 10:53 AM
Thanks Scrapie,
I am running a mod file and it works great. I was able to put the custom maps in there and the server will see them and play them. yay!
Now the problem I'm having is that the client doesn't automatically download the custom maps (redirect) when they are located in the mod folder.
They download the mod file - which is in the mod folder - just fine. But all they get is "unable to load file" when trying to join. My redirect setup is all working fine as long as the custom maps are in the "main" folder in my redirect. :(
Right now I am putting the custom maps in the "main" folder of the redirect so the public will download them, but all clan members are manually moving the files to the mod folder on their local hard drive. When they do that everything works fine...but it is a pain.
Is there something special I need to do to get those custom maps to download (redirect) from the mod folder?
Here is my config string:
./cod2_lnxdeddiontkdg +set dedicated 2 +set ttycon 0 +set net_ip 72.5.249.35 +set net_port 28960 +set com_hunkmegs 128 +set sv_maxclients 24 +set logfile 3 +set fs_basepath /home/diontkdg/cod2 +set fs_homepath /home/diontkdg/cod2 +set sv_pure 0 +set sv_punkbuster 1 +set fs_game FWSS +set +exec server.cfg +exec
From other research in the forums I've found a couple other fs_ commands ...does anyone ever use this...not sure what it does??
fs_ignorelocalized "0"
Merry Christmas!
Dion
Scrapie
12-27-2006, 09:49 AM
first of all, put:
./cod2_lnxdeddiontkdg +set fs_game FWSS +set fs_homepath /home/diontkdg/cod2 +set fs_basepath /home/diontkdg/cod2 and after put all others commands
in order to use the redirect option put in your config this:
//Direct Download
set sv_allowDownload "1"
set sv_wwwDownload "1"
set sv_wwwBaseURL "http://www.YOURSITE.com/FS_GAME"
set sv_wwwDlDisconnected "1"
in this case it will be: "http://www.YOURSITE.com/FWSS"
uf u dont understand anything because of my english, tell me :X :D
another thing... if ur m8s have maps into main folder, they dont need to put them into a folder with your fs_game name
genuvine
12-28-2006, 01:47 AM
Once again from start.
Look at your cod2 installation. Top of the tree is the folder with the *.exe files.
main is a subfolder. main has all related gamefiles (iw_00 - iw_xx and all localised_files). Any other *.iwd is NOT an original file from the manufacturer.
The "other" files can interfere with each other.
Now comes +fs_game into the game. CoD will treat this information as location of "main". THIS IS IMPORTANT.
--
Note: with this technique you will gain a "clean" main folder. (you don't need to worry about the original files, cod will take the information from this files automatically - other files will be ignored (they are not from the manufacturer).)
--
Create directly your personal mod folder under the top of the tree with the *.exe files. Copy first all your maps, mods and your individual server config files here.
Upload this folder (with contents) onto your gameserver (NOT IN "main" THERE!!! This is NOT the top of the tree, see above, switch one level higher. If you cant switch a level higher, you can't use fs_game. this can occur at some gameproviders. sorry guys)
Now the redirection.
set sv_allowDownload "1" means allow downloads in general from server
set sv_wwwDownload "1" means allow/use http redirection
set sv_wwwDlDisconnected "1" means disconnect the player from gameserver while downloading yes/no
and:
set sv_wwwBaseURL "http://www.YOURSITE.com/FS_GAME" - your "own" main folder. (this is your folder you have uploaded.)
sv_wwwBaseURL in detail:
log on to your webspace with your ftp client. create a folder e.g. cod2. Now you have your_website_url/cod2 as an adress.
set sv_wwwBaseURL "your_website_url/cod2"
Now CoD2 handle this information in the same way as on your local computer. "your_website_url/cod2" is your (see on top -> top of the tree is the folder with the *.exe files.)
gameserver
|
|-main
|-your_mod_folder
webspace (starting from cod2!!!)
|
|-your_mod_folder
upload your full mod folder under -> cod2 onto your webspace.
Last Step:
You must change or add to your cod-starting script (its a .sh or .bat/cmd file, depends on your os) +fs_game name_of_your_modfolder.
IMPORTANT: If you can't do this you once again can NOT use the fs_game method. Unfortunately this happens very often. Ask your provider for access/rights.
Done.
Restart Server.
Still encountering problems? Start from top.
regards, genuvine
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.