Quake 4 Files Goes Live!

Lenard
Posts: 737
Joined: Mon Aug 04, 2003 7:00 am

Post by Lenard »

There is no addon.conf file so it will not work. It must contain an addon.conf file in the root directory as outlined here: http://zerowing.idsoftware.com/linux/doom/AddonPaks

This has to become the standard for map makers. If someone else wants to make one for phrantic, at least a temp one, that would be great so we can stick it in there and run a test.
[img]http://myspace-001.vo.llnwd.net/00555/10/05/555355001_l.gif[/img]
Robcq
Posts: 47
Joined: Sat Oct 29, 2005 9:13 pm

Post by Robcq »

if i read that correct that should not effect the autodownload system. the addon is just so people don't have to have all the maps to connect to the server just the map that is current in the rotation.

I beleive that if there are no addons then when the player connects they autodownload all the files they don't have before the get on the server.
wydDooMer
Posts: 6
Joined: Fri Feb 24, 2006 1:03 am

Post by wydDooMer »

You don't need an addon.conf. The addon.conf is if you don't want your users to have to download a map that isn't being played when the first connect to the server.
wydDooMer
Posts: 6
Joined: Fri Feb 24, 2006 1:03 am

Post by wydDooMer »

The config you posted "should" work.

Try this to test it. I know for a fact this works, I'm using it on the q3w server:

set net_serverdownload "2"
set net_serverDlBaseURL "http://www.quake3world.com/files/quake4server/maps/"
set net_serverDlTable "q4base/map_swq4dm1_final.pk4"
Lenard
Posts: 737
Joined: Mon Aug 04, 2003 7:00 am

Post by Lenard »

Yes, try that.
[img]http://myspace-001.vo.llnwd.net/00555/10/05/555355001_l.gif[/img]
wydDooMer
Posts: 6
Joined: Fri Feb 24, 2006 1:03 am

Post by wydDooMer »

I'm thinking the f.q4w directory structure should be q4base instead of base if this does work. No downloads offered means it can't find the map on the server.
Last edited by wydDooMer on Fri Feb 24, 2006 1:41 am, edited 1 time in total.
Goofos
Posts: 44
Joined: Thu Jan 26, 2006 5:54 pm

Post by Goofos »

wydDooMer wrote:You don't need an addon.conf. The addon.conf is if you don't want your users to have to download a map that isn't being played when the first connect to the server.
Sure? I thought its only if the map needs another pk4, like a texture Pak.
Last edited by Goofos on Fri Feb 24, 2006 1:31 am, edited 1 time in total.
Robcq
Posts: 47
Joined: Sat Oct 29, 2005 9:13 pm

Post by Robcq »

ok i just used that url and somone says it worked. so now how do i get ur guys site to work with it?
wydDooMer
Posts: 6
Joined: Fri Feb 24, 2006 1:03 am

Post by wydDooMer »

Goofos wrote:
wydDooMer wrote:You don't need an addon.conf. The addon.conf is if you don't want your users to have to download a map that isn't being played when the first connect to the server.
Sure? I thought its only when the map needs another pk4, like a texture Pak.
Nope, check this thread out for more info http://www.quake3world.com/forum/viewtopic.php?t=17375

From now on mappers should start including an addon.conf instead of the .def.
wydDooMer
Posts: 6
Joined: Fri Feb 24, 2006 1:03 am

Post by wydDooMer »

Robcq wrote:ok i just used that url and somone says it worked. so now how do i get ur guys site to work with it?
set net_serverdownload "2"
set net_serverDlBaseURL "http://q4files.escapedturkey.net/quake4/pk4s/"
set net_serverDlTable "q4base/map_swq4dm1_final.pk4"

Now the f.q4w guys have to rename their "base" folder to "q4base". base is for doom3, q4base is for q4.
Lenard
Posts: 737
Joined: Mon Aug 04, 2003 7:00 am

Post by Lenard »

We did not know of this but it will be fixed later tonight. I changed the directories but kmg has to... do something.
[img]http://myspace-001.vo.llnwd.net/00555/10/05/555355001_l.gif[/img]
Lenard
Posts: 737
Joined: Mon Aug 04, 2003 7:00 am

Post by Lenard »

I just changed the directories. It should work. Try it one more time with the new ones.
[img]http://myspace-001.vo.llnwd.net/00555/10/05/555355001_l.gif[/img]
Goofos
Posts: 44
Joined: Thu Jan 26, 2006 5:54 pm

Post by Goofos »

wydDooMer wrote:
Goofos wrote:
wydDooMer wrote:You don't need an addon.conf. The addon.conf is if you don't want your users to have to download a map that isn't being played when the first connect to the server.
Sure? I thought its only when the map needs another pk4, like a texture Pak.
Nope, check this thread out for more info http://www.quake3world.com/forum/viewtopic.php?t=17375

From now on mappers should start including an addon.conf instead of the .def.
Sounds good but reloadEngine sounds ugly :> If someone will test this, i have uploaded a map with a addon.conf, its 2box4.
iluvquake4
Posts: 941
Joined: Tue Dec 13, 2005 1:47 am

Post by iluvquake4 »

KMG wrote:Can't connect to pure server: No downloads offered. Yes, please post your config and this is from our FAQs:

http://files.quake4world.com/faqs.php

Q. Why do my server auto-download settings not work?

A. Make sure your auto-download cvars are set up as follows:

(Please note that this assumes auto-downloading from Quake 4 Files)
net_serverdownload "2" -- (0 == no auto-redirect support, 1 == auto-redirect to website, 0 == autodownload from link)

net_serverDlBaseURL "http://q4files.escapedturkey.net/quake4/pk4s/" -- (This is the domain name of the hosting server and a base directory)

net_serverDlTable "base/filename1.pk4,base/filename2.pk4,base/filename3.pk4" -- (This is made to reflect the Q4 base directory)
This person from quakenet.org IRC is correct:

<eX-> escapedturkey
<eX-> your pk4 site seems to be set up wrong
<eX-> you need to rename "base" folder to "q4base"
<eX-> otherwise it wont work

So he's right, the files need to be in q4base, not base.

:icon31:
iluvquake4
Posts: 941
Joined: Tue Dec 13, 2005 1:47 am

Post by iluvquake4 »

In FireFox if I click on the download link, it starts opening the file as a text file. You may want to mention for the person to right click on the file and choose save as.

http://www.files.quake4world.com/detail.php?id=19

:icon31:
Lenard
Posts: 737
Joined: Mon Aug 04, 2003 7:00 am

Post by Lenard »

Will do. I changed the directories.

BTW that 2box4 remake looks sweet. I am reviewing it now.
[img]http://myspace-001.vo.llnwd.net/00555/10/05/555355001_l.gif[/img]
KMG
Posts: 83
Joined: Fri Apr 15, 2005 4:21 am

Post by KMG »

Yes I noticed that some browsers interperet pk4 files that way too. I'll make sure and put up a notice. Anyway, it's changed to q4base/ now, sorry I did not think of that, it was pretty obvious.
KMG
Posts: 83
Joined: Fri Apr 15, 2005 4:21 am

Post by KMG »

I'm wondering if I have access to that.

Yeah I don't.
KMG
Posts: 83
Joined: Fri Apr 15, 2005 4:21 am

Post by KMG »

I added some mirror URL fields and I'm working on a bunch of crazy systems 'n junk.
KMG
Posts: 83
Joined: Fri Apr 15, 2005 4:21 am

Post by KMG »

riddla wrote:
iluvquake4 wrote:In FireFox if I click on the download link, it starts opening the file as a text file. You may want to mention for the person to right click on the file and choose save as.

http://www.files.quake4world.com/detail.php?id=19

:icon31:
I think this can be remedied simply by adding the pk4 mimetype to the webserver itself.
I'm looking into this some more.
MAXIMUS
Posts: 1
Joined: Sat Feb 25, 2006 3:58 pm

Post by MAXIMUS »

Robcq wrote:This is what i tried :

net_serverdownload "2"
net_serverDlBaseURL "http://q4files.escapedturkey.net/quake4/pk4s/base/"
net_serverDlTable "q4base/map_swq4dm1_final.pk4"

I just wanted to test it out with one map. When i connect it asked me if i wanted to download the file. Then, I clicked yes and it said that the transfer failed or was cancled. Am I doing soemthing wrong?
Ummm. That doesn't work. I configured my server (LOVE DUMP) with those settings and it didn't work.

I have tried setting up my web server with that the phrantic map download. I got everything actually working, except my q4 client died after the download started. Not sure what the problem is there.

Based on my tests with my web server and quake4 server, the correct config should look like this:

Code: Select all

net_serverdownload "2" 
net_serverDlBaseURL "http://q4files.escapedturkey.net/quake4/pk4s" 
net_serverDlTable "q4base/map_swq4dm1_final.pk4"
Hence, the full URL will look like:

Code: Select all

http://q4files.escapedturkey.net/quake4/pk4s/q4base/map_swq4dm1_final.pk4
It is important that the files be stored on the server with the path shown above.

Like I said, using my own web server instead of the one above, I was able to get my client to initiate a download. I don't want to post my server's URL here since it can't take a heavy load.

Has anyone successfully downloaded a file using the autodownload feature?
KMG
Posts: 83
Joined: Fri Apr 15, 2005 4:21 am

Post by KMG »

This is the autodownload link for phrantic:

Code: Select all

http://q4files.escapedturkey.net/quake4/pk4s/q4base/map_swq4dm1_final.pk4
Try it.

http://q4files.escapedturkey.net/quake4 ... _final.pk4
Robcq wrote:net_serverDlBaseURL "http://q4files.escapedturkey.net/quake4/pk4s/base/"
That "base/" should not be on the end there. Take that off if you have it. Other than that it should be working.
iluvquake4
Posts: 941
Joined: Tue Dec 13, 2005 1:47 am

Post by iluvquake4 »

You'll probably want to pretty up the site sooner than later.

http://www.esreality.com/?a=post&id=1020880

:icon31:
iluvquake4
Posts: 941
Joined: Tue Dec 13, 2005 1:47 am

Post by iluvquake4 »

The faq is still wrong and confusing people.


net_serverDlTable "q4base/filename1.pk4,base/filename2.pk4,base/filename3.pk4" (This is made to reflect the Q4 base directory)

Should say:

net_serverDlTable "q4base/filename1.pk4,q4base/filename2.pk4,q4base/filename3.pk4" (This is made to reflect the Q4 base directory)

It's missing the q4 from 'base'. Please fix. :icon31:
iluvquake4
Posts: 941
Joined: Tue Dec 13, 2005 1:47 am

http://q4files.escapedturkey.net/quake4/pk4s/q4base/

Post by iluvquake4 »

http://q4files.escapedturkey.net/quake4/pk4s/q4base/

Why is map_2box4.zip a zip file and not a pk4? :confused:
Locked