SRCDS Steam group


Fast download is PISSING ME OFF
#16
(04-02-2010, 07:00 PM)Nisd Wrote:  From my experience, it just does with out. Even tho some say it would fallback to the gameserver

hmm
wierd
I think it does fall back now that I think of it... I deleted some local content. then connected. and It didnt download from the HTTP server.
Ok. Let me go into more depth as to what is going on here. I have a sandbox server with mods. Ok. Simple as that. Now. I have an apache server, hosted on the same box. It has the content from the mods in it. they are located at http://austinserver.mine.nu/garrysmod/ If you go there. You will see all those folders. I added the "sv_downloadurl" "http://austinserver.mine.nu/garrysmod/ line to my server.cfg Is this right? and is there anything else I need to do.
Reply
#17
(04-02-2010, 06:30 PM)austech360 Wrote:  76.172.80.193 - - [01/Apr/2010:22:47:40 -0700] "GET /garrysmod//cache/dua/b3516128601.dua.bz2 HTTP/1.1" 404 238
76.172.80.193 - - [01/Apr/2010:22:47:40 -0700] "GET /garrysmod//cache/dua/b3516128601.dua HTTP/1.1" 404 234
76.172.80.193 - - [01/Apr/2010:22:47:40 -0700] "GET /garrysmod//cache/dua/b3209045995.dua.bz2 HTTP/1.1" 404 238
76.172.80.193 - - [01/Apr/2010:22:47:40 -0700] "GET /garrysmod//cache/dua/b3209045995.dua HTTP/1.1" 404 234
76.172.80.193 - - [01/Apr/2010:22:47:40 -0700] "GET /garrysmod//cache/dua/b2148035667.dua.bz2 HTTP/1.1" 404 238
76.172.80.193 - - [01/Apr/2010:22:47:40 -0700] "GET /garrysmod//cache/dua/b2148035667.dua HTTP/1.1" 404 234
76.172.80.193 - - [01/Apr/2010:22:47:40 -0700] "GET /garrysmod//cache/dua/b1861304465.dua.bz2 HTTP/1.1" 404 238
76.172.80.193 - - [01/Apr/2010:22:47:40 -0700] "GET /garrysmod//cache/dua/b1861304465.dua HTTP/1.1" 404 234
[/code]

the code "404" means "not found". make sure the files are in the right directory (this highly depends on apache configuration). you can do a fast test with your browser. got to:
http://76.172.80.193/garrysmod//cache/dua/b1861304465.dua
and see if that file downloads. (apparently your web server is down atm, I cannot reach it)

ps: make also sure that only required files are accessible from the web. especially config files with rcon passwords shouldn't be.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#18
Uhh... I think you have an extra "/" in there...

Use:
Code:
sv_downloadurl "http://austinserver.mine.nu/garrysmod"

That should work... In those logs it shows "/garrysmod//cache/" note the two "/"
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#19
shouldn't make any difference...
http://forums.srcds.com/viewtopic/14003//2
is the same as
http://forums.srcds.com/viewtopic/14003/2
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#20
Well. Ok. Lets assume for a minute that everything is working fine. How do I BZ2 all the files in the garrysmod DIR, in one simple move? I would like to just point it to the main Garrysmod DIR, and let it go after that. like. compress all the files under the folder. but keep the folder structure intact?
Reply
#21
I re-built bzip.zip ages ago. It's worth a try. Do note that it does remove the originals, however. So copy the maps/files to the folder.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#22
Thanks Mooga. But that doesnt quite work like I want. I want it to recursively go into all folders.
and keep the folder structure.
Reply
#23
this executes "bzip2 -k" on every file in your current directory including all sub-directories. (-k is for keep, so that your original file is not deleted)
Code:
find -type f -exec bzip2 -k \{\} \;
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#24
I think find hates me... I keep getting parameter format is incorrect.
Reply
#25
(04-07-2010, 05:22 PM)BehaartesEtwas Wrote:  this executes "bzip2 -k" on every file in your current directory including all sub-directories. (-k is for keep, so that your original file is not deleted)
Code:
find -type f -exec bzip2 -k \{\} \;

have any clue why it would do that?
Reply
#26
I have yet to make it work. Fast download is working. Now. I need to get the bzip2 thing working. I know I will need a bzip 2 exe placed somewhere. Lets start with that, where do I put that? What command do I run after that. I kneed specifics, BTW guys, Dont use apple products, they suck.. So does apple.. Im pissed at apple right now. Off topic. Mom wanted me to tell everyone.
Reply
#27
can you be more specific about the error you get? e.g. copy+paste an error message and exactly tell us what you did.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#28
Wheres your web hosting based? Wheres your game server based?
[Image: signature.jpg]

Reply
#29
@reaction: that doesn't matter for bzipping the files...

btw: are you on Linux or Windows? I assumed Linux. If it's Windows, probably the easiest way to get this done is by installing cygwin, a Unix shell for windows (from http://www.cygwin.com) and run the command there.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#30
(04-12-2010, 05:16 PM)BehaartesEtwas Wrote:  @reaction: that doesn't matter for bzipping the files...

btw: are you on Linux or Windows? I assumed Linux. If it's Windows, probably the easiest way to get this done is by installing cygwin, a Unix shell for windows (from http://www.cygwin.com) and run the command there.

ahh, I see I see, I am running windows xp, I know, Fail move right? it works very well though. and I like serverchecker, so, im gonna try to stick to it! ill go get cygwin and try that same command. maybe you can help me out if it doesnt work?
(04-12-2010, 05:16 PM)BehaartesEtwas Wrote:  @reaction: that doesn't matter for bzipping the files...

btw: are you on Linux or Windows? I assumed Linux. If it's Windows, probably the easiest way to get this done is by installing cygwin, a Unix shell for windows (from http://www.cygwin.com) and run the command there.

Ok. So. I have cygwin installed, and right off the bat, I lost myself, I tried to CD into the folder, that failed. I decided to not fuck with anything so I dont screw things up. So. I was hoping you could help. the folder that needs zipping is at "C:\gmod\garrysmod" what do I type in cygwin, or do I put cygwin in that folder, or what, I am totally at a loss. ((can you tell im confused??))
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)