Hello there, I'm fairly new to owning a server for KF and I followed this guide perfectly yet my download still seems to be coming from the server and not a redirected download. The speeds never changed
This is the guide I followed all highlighted by bold/colored letters
I know that the colors are super hard to read but its not the important part. the important part is below where im running into errors
-----------------------------------------------------------------------------------------------
6. INSTALLING CUSTOM MAPS USING A REDIRECT
-----------------------------------------------------------------------------------------------
Using the Killing Floor SDK the community is able to create its own maps for Admin to host of their servers. These maps can be automatically downloaded by users joining your server with a few easy steps as follows:
1) Download a custom map and place it in your maps folder. In my case I downloaded KF-WestLondonNight.rom and placed it in C:\KS1\maps
2) Go to your system folder and make a .bat with the following code:
Code:
ucc compress ..\maps\<mapname.rom>
Mine is:
Code:
This will compress the map into into a much smaller size and display .uz2 at the end of the map name.
KF-WestLondonNight.rom was compressed from 10.7 MB > 1.78 MB. This will reduce download time and keep bandwidth to a fraction of what it would have been without compression.
If you want to compress every single map in the map folder then here is a script from saweet. Even though it will compress the default maps as well, this can still be an efficient script if you have multiple custom maps to compress in one instance.
Make a .bat file containing the following command in your system folder. ie: compress_maps.bat
Code:
3) Go to your map folder and you'll see the compressed map as <mapname.rom.uz2>.
4) Remove this compressed map from your map folder and upload it to your third party host. I made a folder in the main web host directory called maps and placed the compressed map in there. http://www.yourhost.com/maps/
5) Go to your KillingFloor.ini and locate [IpDrv.HTTPDownload]
In the RedirectToURL= place the location of the compressed map:
RedirectToURL=http://www.yourhost.com/maps/
Note the forward slash at the end of the redirect link.
By default you will see UseCompression=True is already set.
6) Now you need to add the map to the map list. You can do this manually or through the Web Admin Interface.
I recommend using the Web Admin Interface for your first attempt as it will write a [KFMod.KFMaplist] entry at the bottom of your KillingFloor.ini with maps listed below as follows:
[KFMod.KFMaplist]
MapNum=0
Maps=KF-<Mapname>
Maps=KF-<Mapname>
Maps=KF-<Mapname>
Go to your Web Admin Interface and select Defaults > Maps. Select maps you want added to the map cycle and move them from Maps Not In Cycle > Maps In Cycle using the arrow tabs. Hit the Save button.
7) Restart your map/server and perform a Map Vote for the new map.
Once you have your [KFMod.KFMaplist] entry listed at the bottom of the KillingFloor.ini you can simply update map entries there for new custom maps or continue to use the Web Admin Interface.
If you don't have a host who can store your maps (and mods) then you can at least test the function using http://www.dropbox.com or http://www.fileden.com They both offer FREE hosting and bandwidth although dropbox appears to be the superior option with a 2GB upload limit and unlimited bandwidth. These companies change their plans from time to time so check their current offers.
You can also configure the redirect from your own server PC by installing your own web hosting application, like Apache.
Some maps come bundled with additional files for textures, sound, models, etc. You can also add these to your server redirect area in compressed form. They can all be added to the same redirect folder as the maps. Make sure they are added to the correct folders on the game server in uncompressed form.[/B]
__________________________________________________
SO at the start I was just uploading custom maps to my Killing Floor Server
And since I already had the maps saved to my Steam/Userapps/Common/
Killingfloor/Maps
it was not making me download maps from the server
But everyone who didn't have the maps and had to download
was getting a slow like 5-10 KB transfer rate
So I followed the guide but ran into lots of problems.....
I uploaded a map to dropbox.com
I setup a redirect link to my Dropbox.com archive that has my
KF-Doom2-Final-V7 map in there
Like so in my .Ini
After setting up the Redirect link to the maps it asks to delete the map from
your server. I then deleted the map from the server
Upon doing this it removed the map from my web admin cycle play list
And from being able to select it at all while playing in game
So i have the redirect link setup for the maps
but the map is no longer in my Server Files
then I try to manually add the map to my Killingfloor.Ini
Via
I then save the .ini file and upload it to my server and restart the server
But when I check my .ini file after a restart
it erases the code I just added: Maps=Doom2-Final-V7
This doenst make any sense...
The guide tells me to delete the file from my Kf Server
And when I do that, in the web admin and through manually editing the killingfloor.ini it wont let me add the Doom map UNLESS its uploaded to my server
Now when i have the map uploaded to my server and the redirect link up
It still downloads the map from my dam server!
WHATS GOING ON
Edit: basically it wont Allow me to have the map able to choose
UNLESS I have it on the server/maps file
And it wont download it from my redirect link
If I remove the map from my server files
It no longer shows in my Ini/Web Admin
And If I add it Manually into my Ini it erases the code
Also the Compress_maps.bat code and stuff didnt compress my maps at all ?
This is the guide I followed all highlighted by bold/colored letters
I know that the colors are super hard to read but its not the important part. the important part is below where im running into errors
-----------------------------------------------------------------------------------------------
6. INSTALLING CUSTOM MAPS USING A REDIRECT
-----------------------------------------------------------------------------------------------
Using the Killing Floor SDK the community is able to create its own maps for Admin to host of their servers. These maps can be automatically downloaded by users joining your server with a few easy steps as follows:
1) Download a custom map and place it in your maps folder. In my case I downloaded KF-WestLondonNight.rom and placed it in C:\KS1\maps
2) Go to your system folder and make a .bat with the following code:
Code:
ucc compress ..\maps\<mapname.rom>
Mine is:
Code:
Code:
ucc compress ..\maps\KF-WestLondonNight.rom
KF-WestLondonNight.rom was compressed from 10.7 MB > 1.78 MB. This will reduce download time and keep bandwidth to a fraction of what it would have been without compression.
If you want to compress every single map in the map folder then here is a script from saweet. Even though it will compress the default maps as well, this can still be an efficient script if you have multiple custom maps to compress in one instance.
Make a .bat file containing the following command in your system folder. ie: compress_maps.bat
Code:
Code:
for /f "tokens=*" %%a in ('dir /b ..\maps\*.rom') do ucc compress ..\maps\%%a
4) Remove this compressed map from your map folder and upload it to your third party host. I made a folder in the main web host directory called maps and placed the compressed map in there. http://www.yourhost.com/maps/
5) Go to your KillingFloor.ini and locate [IpDrv.HTTPDownload]
In the RedirectToURL= place the location of the compressed map:
RedirectToURL=http://www.yourhost.com/maps/
Note the forward slash at the end of the redirect link.
By default you will see UseCompression=True is already set.
6) Now you need to add the map to the map list. You can do this manually or through the Web Admin Interface.
I recommend using the Web Admin Interface for your first attempt as it will write a [KFMod.KFMaplist] entry at the bottom of your KillingFloor.ini with maps listed below as follows:
[KFMod.KFMaplist]
MapNum=0
Maps=KF-<Mapname>
Maps=KF-<Mapname>
Maps=KF-<Mapname>
Go to your Web Admin Interface and select Defaults > Maps. Select maps you want added to the map cycle and move them from Maps Not In Cycle > Maps In Cycle using the arrow tabs. Hit the Save button.
7) Restart your map/server and perform a Map Vote for the new map.
Once you have your [KFMod.KFMaplist] entry listed at the bottom of the KillingFloor.ini you can simply update map entries there for new custom maps or continue to use the Web Admin Interface.
If you don't have a host who can store your maps (and mods) then you can at least test the function using http://www.dropbox.com or http://www.fileden.com They both offer FREE hosting and bandwidth although dropbox appears to be the superior option with a 2GB upload limit and unlimited bandwidth. These companies change their plans from time to time so check their current offers.
You can also configure the redirect from your own server PC by installing your own web hosting application, like Apache.
Some maps come bundled with additional files for textures, sound, models, etc. You can also add these to your server redirect area in compressed form. They can all be added to the same redirect folder as the maps. Make sure they are added to the correct folders on the game server in uncompressed form.[/B]
__________________________________________________
SO at the start I was just uploading custom maps to my Killing Floor Server
And since I already had the maps saved to my Steam/Userapps/Common/
Killingfloor/Maps
it was not making me download maps from the server
But everyone who didn't have the maps and had to download
was getting a slow like 5-10 KB transfer rate
So I followed the guide but ran into lots of problems.....
I uploaded a map to dropbox.com
I setup a redirect link to my Dropbox.com archive that has my
KF-Doom2-Final-V7 map in there
Like so in my .Ini
Code:
RedirectToURL=http://dl.dropbox.com/u/53134067/
After setting up the Redirect link to the maps it asks to delete the map from
your server. I then deleted the map from the server
Upon doing this it removed the map from my web admin cycle play list
And from being able to select it at all while playing in game
So i have the redirect link setup for the maps
but the map is no longer in my Server Files
then I try to manually add the map to my Killingfloor.Ini
Via
Code:
Maps=kf-mountainpass
Maps=kf-icecave
Maps=kf-aperture
Maps=kf-abusementpark
Maps=KF-Doom2-Final-V7
I then save the .ini file and upload it to my server and restart the server
But when I check my .ini file after a restart
it erases the code I just added: Maps=Doom2-Final-V7
This doenst make any sense...
The guide tells me to delete the file from my Kf Server
And when I do that, in the web admin and through manually editing the killingfloor.ini it wont let me add the Doom map UNLESS its uploaded to my server
Now when i have the map uploaded to my server and the redirect link up
It still downloads the map from my dam server!
WHATS GOING ON
Edit: basically it wont Allow me to have the map able to choose
UNLESS I have it on the server/maps file
And it wont download it from my redirect link
If I remove the map from my server files
It no longer shows in my Ini/Web Admin
And If I add it Manually into my Ini it erases the code
Also the Compress_maps.bat code and stuff didnt compress my maps at all ?
Last edited: