Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
04-02-2010, 07:35 PM
(This post was last modified: 04-02-2010, 07:44 PM by austech360.)
(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.
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
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.
Posts: 2,440
Threads: 73
Joined: May 2009
Reputation:
33
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!
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
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?
Posts: 3,906
Threads: 404
Joined: Oct 2007
Reputation:
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
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.
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
Thanks Mooga. But that doesnt quite work like I want. I want it to recursively go into all folders.
and keep the folder structure.
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
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 \{\} \;
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
I think find hates me... I keep getting parameter format is incorrect.
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
(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?
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
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.
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
can you be more specific about the error you get? e.g. copy+paste an error message and exactly tell us what you did.
Posts: 31
Threads: 0
Joined: Apr 2010
Reputation:
0
Wheres your web hosting based? Wheres your game server based?
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
04-12-2010, 05:16 PM
(This post was last modified: 04-12-2010, 05:16 PM by BehaartesEtwas.)
@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.
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
04-13-2010, 03:57 PM
(This post was last modified: 04-13-2010, 04:26 PM by austech360.)
(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??))
|