Author Topic: LAN server download help  (Read 2627 times)

Offline jerkan

  • Rank: Private
  • *
  • Posts: 12
LAN server download help
« on: March 04, 2009, 04:10:03 pm »
i have X5 server on Wifi Lan but i don't know how set downloads to work

i set:

set sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "\\ main Lan  IP \ X5 server"
//seta sv_wwwDlDisconnected "0"

in "X5 server" folder i put usermaps and mods

but dont work

Help please.

I'm sorry, I don't speak English very well

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
Re: LAN server download help
« Reply #1 on: March 04, 2009, 04:49:27 pm »
seta sv_wwwBaseURL "\\ main Lan  IP \ X5 server"

www = World Wide Web

These settings will not work without a website to download from

Offline -rdx-jeroen

  • Rank: Private
  • *
  • Posts: 45
Re: LAN server download help
« Reply #2 on: March 04, 2009, 05:06:08 pm »
i could be wrong but i think its possible when you install a certain program on your lan server.
last week i came across a program what could be usefull for you.
ill see iff i can find it and i will post here.

Offline SiCDude4Him

  • Rank: Private
  • *
  • Posts: 79
    • http://www.thunderinglegionclan.com
Re: LAN server download help
« Reply #3 on: March 04, 2009, 05:06:42 pm »
While in Iraq last year we had CoD4 LAN games on Saturday nights when we were back at base.

If you have Win XP here's a guide on how to install IIS so you can act as the web server so everyone can download the mod and custom maps from you:

http://www.webwizguide.com/kb/asp_tutorials/installing_iis_winXP_pro.asp

Your server.cfg should look like this:

set sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "computername" (whatever your local computer name is) or your LAN IP adress
seta sv_wwwDlDisconnected "0"

I recommend you set a static IP on your machine so everyone on your LAN can just command line connect to you in-game:

\connect 192.168.1.2:28960

or

\connect computername

Hope this helps :)

Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
Re: LAN server download help
« Reply #4 on: March 04, 2009, 05:26:41 pm »
XAMPP is another simple program you can use on a Windows PC

Offline SiCDude4Him

  • Rank: Private
  • *
  • Posts: 79
    • http://www.thunderinglegionclan.com
Re: LAN server download help
« Reply #5 on: March 04, 2009, 05:39:08 pm »
Nice looking program. I haven't had a chance to run this.

http://www.apachefriends.org/en/xampp-windows.html

Offline -rdx-jeroen

  • Rank: Private
  • *
  • Posts: 45
Re: LAN server download help
« Reply #6 on: March 04, 2009, 05:56:00 pm »
Quote
/We are going to be using two small applications for this.

http://www.ritlabs.com/en/products/tinyweb/
http://freenet-homepage.de/ralph.becker/tinybox/

1. Download both applications from the above URLs.

2. Extract the file TINY.EXE from the first file in "C:\Program Files\TinyWeb" (I will be using this one but you can use whichever directory you want).

3. Extract the file tinybox.exe from the seconds file in the same directory as the previous one.

4. Create a shortcut for the tinybox.exe on your Desktop.


5. Create a file with the name index.html inside the directory where Cod4:MW is installed. For me this is "C:\Program Files\Activision\Call of Duty 4 - Modern Warfare". Inside the file just type something like "LAN CoD4:MW Redirect Server!".

6. Start the program "TinyBox" by double-clicking the icon we created in step #4.

7. Under "Projects" click the button that says "New" and enter the following information and click "Save" when done:
Name: CoD4:MW Redirect Server
Root Directory: C:\Program Files\Activision\Call of Duty 4 - Modern Warfare (or where you have CoD4:MW installed).
Start Directory: Same as above.
Port: 80.
You should end up with something like this:


8. Edit the file server.cfg and make sure the variable sv_wwwbaseURL is pointing to the IP address that your machine (the one running the server) has been assigned, for example (be careful not to add a slash at the end!!!):
set sv_wwwbaseURL "http://192.168.1.24"

9. Everything is ready. Every time you start TinyBox just make sure the project "CoD4: Redirect Server" is selected and click on the button "Start".


A nice and quick way for people to download the mod and custom maps in a LAN environment! (I had both computers in wireless when I did this test and I was getting around 1.2MB/s)


Enjoy!

found this at the openwarfare forum

Offline jerkan

  • Rank: Private
  • *
  • Posts: 12
Re: LAN server download help
« Reply #7 on: March 05, 2009, 09:01:39 am »
Thank you to Help, I will try