SRCDS Steam group


sv_downloadurl tutorial questions and suggestions
#46
RES files are only needed for content relating to the map. The bz2's do not need to be listed in the res file. The clients will request the 'filename+.bz2' from the redirect first, if it gets a 404 response it requests 'filename'.
Manage your redirects/fast downloads with one click! SourceRSC and HL1RSC
Need a free web based game server hosting panel? Check out UGCC.
Reply
#47
MjrNuT Wrote:So allow me to run this by you guys on setup to test the bz2 compression for 1 map wrt the gameserver and the webhost. Please provide any corrections as I want to be exactly precise with this.

TF2 map called cp_castle3.bsp

Gameserver:
/maps/cp_castle3.bsp

Res file in /maps/cp_castle3.res with following content:
Code:
"resources"
{"maps/cp_castle3.bsp.bz2" "file"}

Web Host:
/maps/cp_castle3.bsp.bz2

Is this it? (for now, I'd like to avoid bz2 file on gameserver)

I attempted with the above. I also removed teh RES file completely since no additional content. No success with this.

I checked my URL "..../tf2/" initial

and tried with URL ".../tf2"

No luck with either. I also double checked w/ my GSP on the MIME settings and they assure it is correctly set and was rebooted.

With my Initial URL as listed and having only *.bsp files, the download works. I'm miffed about this not working b/c bz2 for some great maps are 40 Mb like the example, and its a huge difference to get down to 22Mb.

Any other advice with this?
Reply
#48
Do you have the sv_downloadurl value in quotes?

sv_downloadurl "http://mywww.com/redirect/tf2"

Also, can you download the files via your web browser?
Manage your redirects/fast downloads with one click! SourceRSC and HL1RSC
Need a free web based game server hosting panel? Check out UGCC.
Reply
#49
Masher Wrote:Do you have the sv_downloadurl value in quotes?

sv_downloadurl "http://mywww.com/redirect/tf2"

Also, can you download the files via your web browser?

Yes.

Yes.
Reply
#50
What does it say in your web server log?

What does it say in your client console?
Manage your redirects/fast downloads with one click! SourceRSC and HL1RSC
Need a free web based game server hosting panel? Check out UGCC.
Reply
#51
web server log: I don't believe I have access to that. ONly ftp to the location. I believe you are speaking about the URL location?

as for client console: I had a clanmate test as I was working the server remotely. I'll have to try and obtain that from him or do it myself later.
edit - I did confirm w/ him that his download bar said: .../cp_castle3.bsp.bz2, but then disconnected after about 2 minutes due to "no map found"

do you have a chat method we could discuss to minimize posts here?

my steam is: mjrnut
Reply
#52
I added my skins to a url page (only skins no maps) . People can download the skins but cant download the map off the server. Is it all or nothing or can you put somethings on the url page and the maps will be downloaded off of the server.
Reply
#53
If you use sv_downloadurl ALL custome files have to be on the HTTP server, it can not grab one file from the url and grab one file from the server.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#54
I can't see the attachment
Reply
#55
I have tried this with my own server and I am having some weird problems. alright well after making a windows webserver with Abyss on another comp in my house I have made my server.cfg for my server, also other computer in my house. (really I'm supposed to host for another server but I am just testing it on my own for now)

Anyways, my server.cfg has
sv_downloadurl "http://rusmar-content.no-ip.info/dod/"
sv_allowupload 1
sv_allowdownload 1

and I am trying to get Bzip2 to work so on my webserver I have 'dod_orange_rm_explosives.bsp.bz2'
and on my game server i have both the bsp and the bz2.
I used 7-zip to compress my bsps

Whenever anyone connects including me, I get:

Map [maps/dod_orange_rm_explosives.bsp] has incorrect BSP version (1348031555 should be 20).
Couldn't CRC map maps/dod_orange_rm_explosives.bsp, disconnecting

Now the really weird part about this is that even if I put just the .bsp file in the webserver it tries to download the bz2 and fails again.

I'm thinking it has to do with the server not being able to connect to the webserver because they are on the same network?, I have no idea how to test if this is working, my gameserver is on linux and my webserver is on windows.

Can anyone help me?
Reply
#56
i filly understand how to do this tutorial but. How do i get the files onto the website.

im using x10hosting.

can anyone help, thanks guys
Reply
#57
http://www.x3puni.piczo.com

i dont understand what to do.
i made a page called "cstrike"
i then add this hyperlinked text to the page
".../css_matt_css/cstrike/maps/de_urbancollege_a1.bsp "
the page cannot be found :S

HELP PLEASE

or is there a way for people to download maps without making a bloody website
Reply
#58
ok, go into your ftp, you should have a folder called: public_html. go into that. make new folder called cstrike. upload all maps into that.

go into your server.cfg. add sv_downloadurl "your site here"
Reply
#59
OmfG! WTF! Help? o_O

Im tryin to use sv_downloadurl with usein wampserver
and i used a redirected ip bcuz im on a dynamic ip, but it's seem to be working nice i can go on myipredirect.---.org/cstrike and i can download files from there, but when i set the path in server.cfg and i attempt to load it from cs it's still take 2 hours, like ignorin the sv_downloadurl and still download from the main source...

I've tried many things , all i can tell is once i logged on and took 5 secons to load that same file, some how some why it worked but i dont know how and now its not working lol... but im tryin to load the same file and it's a model not a map does it matter?

edit. by the way i use proper path such like site.org/cstrike/models/shmod/ or
.../cstrike/maps ...etc..


and how do i make sure the files are downloadable and readable??

edit. i just made a test i asked a friend to get on thesite.org/cstrike/model/shmod/thefile.mdl and he was able to download it... but it's not workin in cs.. still take 2 mins to load that 1.9m file.. lol
Reply
#60
rusmar user Wrote:Anyways, my server.cfg has
sv_downloadurl "http://rusmar-content.no-ip.info/dod/"
sv_allowupload 1
sv_allowdownload 1

Try:
sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "http://rusmar-content.no-ip.info/dod/"


x3puni Wrote:or is there a way for people to download maps without making a bloody website

You dont need to create a website - but you do need to have an area which is visible to the web.

Bender Wrote:and how do i make sure the files are downloadable and readable??

sv_allowupload 1
sv_allowdownload 1
Make sure you can see them via a web-browser.
Also post up you server.cfg -(without passwords)
---
{DT-UK} Wozzer
http://www.deeptrimmer.co.uk
Server Details:
Deep Trimmer Premiere TDM -=No RPGs=-
62.231.156.78:27015
Reply


Forum Jump:


Users browsing this thread: 13 Guest(s)