Jump to content

Problem with low "transfer rate" with own LAN server


Pelaaja

Recommended Posts

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 by Pelaaja
Link to comment
Share on other sites

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 download
set sv_wwwDownload "1"        // toggle to enable web download
set sv_wwwBaseURL "nameofdirectorygoeshere" //download directory
 
 
If this didn't help, you need to wait ailmanki or Mrmuppet to the rescue :)
Link to comment
Share on other sites

 

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 download
set sv_wwwDownload "1"        // toggle to enable web download
set sv_wwwBaseURL "nameofdirectorygoeshere" //download directory
 
 
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!  :P

Link to comment
Share on other sites

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.cfg

set sv_lanForceRate 1

set sv_allowDownload 1

set sv_dl_maxRate 42000 (for example)

set sv_wwwDownload 1
set 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 > CMD

c:\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 download

3. start your etserver

4. 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 by Eagle_cz
  • Like 3
Link to comment
Share on other sites

 

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.cfg

set sv_lanForceRate 1

set sv_allowDownload 1

set sv_dl_maxRate 42000 (for example)

set sv_wwwDownload 1
set 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 > CMD

c:\Documents and Settings>cd c:\
c:\>cd Apache24
c:\Apache24>cd bin
c:\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 download

3. start your etserver

4. 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".  B)

Edited by Pelaaja
Link to comment
Share on other sites

 

 

 

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".  B)

 

 

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 ...

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

For others: problem was on windows - OS wasnt able to check right paths of binaries/dll ...

 

solved via:

httpd.exe -k install

and now it's standard windows service controlled by OS... (will start automatically after reboot)...

  • Like 3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...