Author Topic: 1.2 Server problem with vms-gppr2078.pk3 auto download [SOLVED]  (Read 2524 times)

WoGoMo

  • Posts: 95
  • Turrets: +6/-6
1.2 Server problem with vms-gppr2078.pk3 auto download [SOLVED]
« on: December 09, 2010, 06:58:15 am »
Hi i'm hoping someone here can help me with this.

I have the following settings in my server.cfg:

Code: [Select]
// Allow downloads from the server
//set sv_allowdownload 1
set sv_wwwDownload 1

// Base URL for http downloads
sets sv_wwwBaseURL "http://downloads.mercenariesguild.net"
sets sv_dlURL "http://downloads.mercenariesguild.net"

But when a client that doesnt have vms-gppr2078.pk3 connects, it tries to get the file from http://downloads.mercenariesguild.net/base/data-gppr2078.pk3 instead of http://downloads.mercenariesguild.net/gpp/data-gppr2078.pk3 which naturally gives u a HTTP 404 error.

Now for some information about what I am doing:

I compiled this tremded myself from
Code: [Select]
svn checkout -r 2078 svn://svn.icculus.org/tremulous/branches/gpp

The command I am using to run the server is:
Code: [Select]
tremded.x86 +set fs_basepath /home/alidrus/Tremulous/gpp1_src_code/build/release-linux-x86/base +set fs_homepath /home/alidrus/Tremulous/gpp1_src_code/build/release-linux-x86 +set dedicated 2 +set net_port 9646 +exec server.cfg

I also have vms-gppr2078.pk3 and data-gppr2078.pk3 in /home/alidrus/Tremulous/gpp1_src_code/build/release-linux-x86/base.

Other than this, the server is running fine. I can connect from my client if I manually copy vms-gppr2078.pk3 into the correct directory, but just cant get the auto download running properly.

Someone please help. Thanks!
« Last Edit: December 10, 2010, 06:12:26 am by WoGoMo »
There is no sig...

Ingar

  • Tremulous Developers
  • *
  • Posts: 554
  • Turrets: +302/-7
    • Ingar's projects on the Web
Re: 1.2 Server problem with vms-gppr2078.pk3 auto download
« Reply #1 on: December 10, 2010, 12:46:51 am »
Make sure that data-gppr2078.pk3 and vms-gppr2078.pk3 on your server are in the gpp/ directory, and not in base/.
Add +set fs_game gpp to your server command line options.


WoGoMo

  • Posts: 95
  • Turrets: +6/-6
Re: 1.2 Server problem with vms-gppr2078.pk3 auto download
« Reply #2 on: December 10, 2010, 03:14:07 am »
Thanks Ingar. I will try it later today, once I have a speedy enough net connection to ssh to my server.

Update: It worked!. Thanks once again Ingar. You're a real life saver.
« Last Edit: December 10, 2010, 06:11:53 am by WoGoMo »
There is no sig...