Pelaaja Posted October 6, 2015 Report Share Posted October 6, 2015 (edited) Hi, I have my own lan server where I play with my friends and I often change maps and versions of different mods. As you may have seen from the title, the transfer rate is low and it takes ages to download a map or a mod. It's about 20 KB/s. I have 1000Mb/s lan so that shouldn't be a problem. Other internet server give much higher transfer rate so the problem must be in the server. I can't find a way to set the transfer rate from the server cfg's or from the internet. I have tried to change "sv_dl_maxRate" but it seems to have no effect on the downloading speed. If someone knows the solution, I would be more than thankful for his answer! Edited October 6, 2015 by Pelaaja Quote Link to comment Share on other sites More sharing options...
Smirre Posted October 6, 2015 Report Share Posted October 6, 2015 Hey. I am not expert with this lan stuff, but do you have a directory specified where you keep the maps and stuff for your friends to download? set sv_allowDownload "1" // global toggle for both legacy download and web downloadset sv_wwwDownload "1" // toggle to enable web downloadset sv_wwwBaseURL "nameofdirectorygoeshere" //download directory Also maybe this helps: http://www.crossfire.nu/tutorials/view/id/73 If this didn't help, you need to wait ailmanki or Mrmuppet to the rescue Quote Link to comment Share on other sites More sharing options...
Pelaaja Posted October 6, 2015 Author Report Share Posted October 6, 2015 Hey. I am not expert with this lan stuff, but do you have a directory specified where you keep the maps and stuff for your friends to download? set sv_allowDownload "1" // global toggle for both legacy download and web downloadset sv_wwwDownload "1" // toggle to enable web downloadset sv_wwwBaseURL "nameofdirectorygoeshere" //download directory Also maybe this helps: http://www.crossfire.nu/tutorials/view/id/73 If this didn't help, you need to wait ailmanki or Mrmuppet to the rescue Ok, thank you. I do. I'm sorry but your advice didn't help, hopely someone else will "rescue" me! Quote Link to comment Share on other sites More sharing options...
Eagle_cz Posted October 6, 2015 Report Share Posted October 6, 2015 (edited) hi, problem is, that when you want to use sv_wwwBaseURL/sv_wwwDownload its matter of webserver that will be able to serve files for download.PLEASE NOTE: this steps are for LAN settings only and internet settings could be pretty different! 1. add this to server.cfgset sv_lanForceRate 1set sv_allowDownload 1set sv_dl_maxRate 42000 (for example)set sv_wwwDownload 1set sv_wwwBaseURL "http://<your-local-lan-ip-here>/" (use ipconfig /all if you aren't sure, what IP you using ) 2. and next you need to setup local webserver for this purpose ...- download apache webserver (for example): http://de.apachehaus.com/downloads/httpd-2.4.16-x86.zip- extract it to C:\Apache24 (for example).- shortest way is to copy your etmain and etpub folder to C:\Apache24\htdocs- run apache by this:Start > run > CMDc:\Documents and Settings>cd c:\c:\>cd Apache24c:\Apache24>cd binc:\Apache24\bin>httpd.exe(note: if you will want to stop it, press CTRL-C)- open your browser and type: http://<your-local-lan-ip-here>/etmain/pak0.pk3 ...and you must see dialog box for file download3. start your etserver4. everything should work now ... but please note, that your apache server must be running when you want to use this web downloads...5. if you will want to use 'automatic' way, try manual for apache, how to run it in service mode (httpd.exe -k install etc.) .... if you will have other questions, feel free to contact me ... Edited October 7, 2015 by Eagle_cz 3 Quote Link to comment Share on other sites More sharing options...
Pelaaja Posted October 7, 2015 Author Report Share Posted October 7, 2015 (edited) hi, problem is, that when you want to use sv_wwwBaseURL/sv_wwwDownload its matter of webserver that will be able to serve files for download.PLEASE NOTE: this steps are for LAN settings only and internet settings could be pretty different! 1. add this to server.cfgset sv_lanForceRate 1set sv_allowDownload 1set sv_dl_maxRate 42000 (for example)set sv_wwwDownload 1set sv_wwwBaseURL "http://<your-local-lan-ip-here>/" (use ipconfig /all if you aren't sure, what IP you using ) 2. and next you need to setup local webserver for this purpose ...- download apache webserver (for example): http://de.apachehaus.com/downloads/httpd-2.4.16-x86.zip- extract it to C:\Apache24 (for example).- shortest way is to copy your etmain and etpub folder to C:\Apache24\htdocs- run apache by this:Start > run > CMDc:\Documents and Settings>cd c:\c:\>cd Apache24c:\Apache24>cd binc:\Apache24\bin>httpd.exe(note: if you will want to stop it, press CTRL-C)- open your browser and type: http://<your-local-lan-ip-here>/etmain/pak0.pk3 ...and you must see dialog box for file download3. start your etserver4. everything should work now ... but please note, that your apache server must be running when you want to use this web downloads...5. if you will want to use 'automatic' way, try manual for apache, how to run it in service mode (httpd.exe -k install etc.) .... if you will have other questions, feel free to contact me ... Thanks eagle! The apache server works great! but it created a new problem: Apache will run when I open httpd.exe but won't run from command "start C:\Apache24\bin\httpd.exe" it gives "syntax error on line: 39 of (path to httpd cfg) ;server root must be a valid directory". The server root in the cfg is "/Apache24". Edited October 7, 2015 by Pelaaja Quote Link to comment Share on other sites More sharing options...
Eagle_cz Posted October 7, 2015 Report Share Posted October 7, 2015 Thanks eagle! The apache server works great! but it created a new problem: Apache will run when I open httpd.exe but won't run from command "start C:\Apache24\bin\httpd.exe" it gives "syntax error on line: 39 of (path to httpd cfg) ;server root must be a valid directory". The server root in the cfg is "/Apache24". let me know via PM when you will be online (or catch me on chat/ts) and we can solve it via teamviewer. But it seems, that you have problem with right path of your apache folder. It must be in c:\Apache24 ... Quote Link to comment Share on other sites More sharing options...
Pelaaja Posted October 7, 2015 Author Report Share Posted October 7, 2015 let me know via PM when you will be online (or catch me on chat/ts) and we can solve it via teamviewer. But it seems, that you have problem with right path of your apache folder. It must be in c:\Apache24 ...Ok, Thanks! Quote Link to comment Share on other sites More sharing options...
Pelaaja Posted October 7, 2015 Author Report Share Posted October 7, 2015 Ok, problem solved! Eagle helped me via teamviewer. 2 Quote Link to comment Share on other sites More sharing options...
Eagle_cz Posted October 7, 2015 Report Share Posted October 7, 2015 For others: problem was on windows - OS wasnt able to check right paths of binaries/dll ... solved via:httpd.exe -k installand now it's standard windows service controlled by OS... (will start automatically after reboot)... 3 Quote Link to comment Share on other sites More sharing options...
Smirre Posted October 7, 2015 Report Share Posted October 7, 2015 Bird to the rescue Good job Eagle! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.