Hi, I would like to start server with custom mod on 1.3. I want to use fastdownload for this and everything works fine up to this point.
I have no idea how to make download into folder mymod instead main. Any suggestions?:confused:
Printable View
Hi, I would like to start server with custom mod on 1.3. I want to use fastdownload for this and everything works fine up to this point.
I have no idea how to make download into folder mymod instead main. Any suggestions?:confused:
Hey,
Since you have uploaded your mod and created folders etc, you've to upload the mods (only .iwds files) on your web server.
I'll explain to you how I do that on my own server.
Okay, firstly I do that using FileZilla.
So, after logging in FileZilla, I'll be moved to the root folder, after that I create a folder called ''cod2'' ( you can call it what you want ).
so now I have root/cod2... so in cod2 I create these folders:
1) main ( for .iwds_00 files ... )
2) mod folders (for example polat_sd)
After that, I just upload the iwds to main then my mods with server.cfg to my mods folder.
** don't forget cod2_lnxded **
Here we have done.
Now we're moving to upload the mods on your web-server.
First, install apache by using
When you have done this, go to var/www/htmlCode:sudo apt-get install apache2
At html folder, create the same mod folder that you've created in root/cod2 ( same name )
Move the .iwds folders ( mods ) without the server.cfg to the folder.
After you have done all of that, we're ready for fast downloading...
Make sure that you've added these lines to your server.cfg
Code://Downloads
set sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "http://your_server_ip"
seta sv_wwwDlDisconnected "1"
seta sv_allowAnonymous "0" // Dozvoljava spajanje
That's all, this should works :D
My things:
On putty type this command:PHP Code:
sudo apt-get install apache2
On your server.cfg:PHP Code:
ln -s /home/cod2/yourmod/mod.iwd /var/www/html/fastdownload/cod2/yourmod
Then if you dont have enough space on your server its more good to make an ln -s command.PHP Code:
set sv_allowdownload "0"
set sv_wwwDownload "1"
set sv_wwwBaseURL "http://YOURSITE/fastdownload/cod2"
set sv_wwwDlDisconnected "1"
And when you will change something on your iwd.
Its will be redirect to your fastdownload folder automatic.
If you have fastdl working, then you should add +set fs_game mymod to the startup line, and move the files into that directory.