-
Notifications
You must be signed in to change notification settings - Fork 16
Setting up "FastDL" or http server downloads
Emosewaj edited this page Aug 17, 2019
·
2 revisions
- Open your server.cfg file and add these two dvars
set sv_wwwBaseURL "http://domain.com/iw4x/" or "http://0.0.0.0/iw4x/" //if using an IP and not a domain, put the IP of your server
set sv_wwwDownload "1"
- Access your webservice via FileZilla or any other client
If you do not have a website/domain and want to host these locally, follow the instructions for the Windows Webservice or Linux Webservice.
- Create a "iw4x" directory in the root folder of your hosted website/domain
- Copy your "mods" folder from your IW4x installation into this directory
- Make sure the name of the mod you want to use on your server is named correctly
- Open a web browser of your choice and go to "http://domain.com/iw4x/" or "http://0.0.0.0/iw4x/"
If set up correctly you will see a mods folder and it will contain your mod files
The final path should look something like this: "http://0.0.0.0/iw4x/mods/modname/z_mod.iwd"
If you want to host the files on the same server you host your IW4x game you can follow these steps
- Download XAMPP on your windows server
- Install XAMPP
- Open windows advanced firewall
- Click inbound rules
- Click add rule
- Add a new rule by PORT and specify TCP and port 80
- Open XAMPP
- Start the Apache service
- Open your browser and go to the ip address of your windows server If done correctly you will see an XAMPP welcome page
- On the windows server go to C:/xampp/htdocs
Continue from step 3 in the Server Configuration steps
If you want to host the files on the same server you host your IW4x game you can follow these steps
- Install web server of your choice (Nginx, Apache, etc)
- For nginx run the command:
sudo apt install nginx
- After nginx is installed run the command:
sudo service nginx start
- Go to /var/www/html/
Continue from step 3 in the Server Configuration steps
- The files you put on the http downloads MUST be the same files that your server is using
- If you get an error saying "Unable to download mod.iwd" when you try to join the server, the files are not in the correct place
Thanks to Matrix#7801 for writing up this guide.
Note: The information in this wiki may or may not be accurate. If you have more accurate information, feel free to request an edit.