Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
I have followed the tutorials on it. Read the wiki. and googled for three days. I cannot get this to work. I have them hosted on a public dropbox. with garrysmod structure not bzipped and it still will not download any faster... I think I am doing something wrong. I put that code in the game.cfg and in server.cfg. Neither worked. Can someone tell me how to do this. and walk me through this?
Posts: 2,440
Threads: 73
Joined: May 2009
Reputation:
33
Possibly the download speed of your public dropbox is as slow as your game servers...
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
do you have a root server? then simply host the files on a webserver running on that root. that is much faster then the normal download, there is no need for a physical separation from the game servers...
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
03-31-2010, 05:25 PM
(This post was last modified: 03-31-2010, 05:28 PM by austech360.)
(03-31-2010, 03:20 PM)loopyman Wrote: Possibly the download speed of your public dropbox is as slow as your game servers...
No. Dropbox would be ALOT faster than the game server. Dropbox runs around 500k + gmod runs at around 20k
(03-31-2010, 05:13 PM)BehaartesEtwas Wrote: do you have a root server? then simply host the files on a webserver running on that root. that is much faster then the normal download, there is no need for a physical separation from the game servers...
Do you mean host an apache server? and host them on the same box? I can do that. If thats what your talking about. But, I still do not know about how to make a recourse.addfile. or whatever it is. I need someone to walk me through it. I read something about adding specific folders? I would need to add models, sound, lua, and all those right? They are on the server, and the webserver. How would I do this?
Posts: 1,127
Threads: 22
Joined: Sep 2008
Reputation:
10
Can you please provide internet-connection speed?
If its fast enough to handle it, i would definetly prefer that
Slå den med jeres fiberforbindelser...
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
(03-31-2010, 07:11 PM)lol554 Wrote:
Can you please provide internet-connection speed?
If its fast enough to handle it, i would definetly prefer that
20 down 5 up, in Megabits. it is DEFINEITELY fast enough for all im doin. It can handle it no problem.
Posts: 1,127
Threads: 22
Joined: Sep 2008
Reputation:
10
Then i would suggest running an apache server, this will make big advantages, but i would prefer you to put a 2 Mbps cap on the apache server, so you dont risk that people are getting max lagged, because of a new client, taking all the bandwidth, downloading the files
Slå den med jeres fiberforbindelser...
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
03-31-2010, 09:36 PM
(This post was last modified: 03-31-2010, 09:37 PM by austech360.)
I need to know how to set it up though. I have the apache server ready and all. the files are in it. I need to know how to set up server.cfg and other stuff. I think I recall reading that the files are not added automaticly. you must add each file on its own with resource.addfile. and I do not know how to do that.
(03-31-2010, 09:24 PM)lol554 Wrote: Then i would suggest running an apache server, this will make big advantages, but i would prefer you to put a 2 Mbps cap on the apache server, so you dont risk that people are getting max lagged, because of a new client, taking all the bandwidth, downloading the files
Or am I just a noob that doesnt know what hes talking about. I think its more that than anything.. LOL. I understand most of it. I just need to be told somethings here and there.
Posts: 3,906
Threads: 404
Joined: Oct 2007
Reputation:
21
I don't think dropbox offers open HTTP access. You need that for it to work.
~ 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: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
add
sv_downloadurl "http://<yourip>/path/to/the/game/directory"
to your server config. The path of your game directory is e.g. the cstrike directory for counter-strike servers.
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
(04-01-2010, 06:14 PM)BehaartesEtwas Wrote: add
sv_downloadurl "http://<yourip>/path/to/the/game/directory"
to your server config. The path of your game directory is e.g. the cstrike directory for counter-strike servers.
I have done this. and the downloads do not seem to be any faster... I read something about resource.addfile what is that. and do I need it. I will have Models, sounds, and those kind of folders in the webserver
Posts: 2,440
Threads: 73
Joined: May 2009
Reputation:
33
What is your local download speed?
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
have a look at the apache access logs if the files are really downloaded from the web server...
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
(04-02-2010, 06:04 PM)BehaartesEtwas Wrote: have a look at the apache access logs if the files are really downloaded from the web server...
ok. Here is what confuses me. IDK what it really means when put together..
Code:
76.127.120.96 - - [01/Apr/2010:22:23:01 -0700] "GET /garrysmod HTTP/1.1" 301 246
76.127.120.96 - - [01/Apr/2010:22:23:01 -0700] "GET /garrysmod/ HTTP/1.1" 200 380
76.127.120.96 - - [01/Apr/2010:22:23:01 -0700] "GET /favicon.ico HTTP/1.1" 404 209
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
That was in the access.log Ok. reasonable right? Ok. Now for the twist.
Code:
Starting the Apache2.2 service
The Apache2.2 service is running.
rmine the server's fully qualified domain name, using 192.168.1.4 for ServerName
[Thu Apr 01 21:38:29 2010] [notice] Apache/2.2.15 (Win32) configured -- resuming normal operations
[Thu Apr 01 21:38:29 2010] [notice] Server built: Mar 4 2010 11:27:46
[Thu Apr 01 21:38:29 2010] [notice] Parent: Created child process 1240
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.4 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.4 for ServerName
[Thu Apr 01 21:38:29 2010] [notice] Child 1240: Child process is running
[Thu Apr 01 21:38:29 2010] [notice] Child 1240: Acquired the start mutex.
[Thu Apr 01 21:38:29 2010] [notice] Child 1240: Starting 64 worker threads.
[Thu Apr 01 21:38:29 2010] [notice] Child 1240: Starting thread to listen on port 80.
[Thu Apr 01 22:23:01 2010] [error] [client 76.127.120.96] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Thu Apr 01 22:47:40 2010] [error] [client 76.172.80.193] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/garrysmod/cache, referer: hl2://76.127.120.96:27015
[Thu Apr 01 22:47:40 2010] [error] [client 76.172.80.193] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/garrysmod/cache, referer: hl2://76.127.120.96:27015
[Thu Apr 01 22:47:40 2010] [error] [client 76.172.80.193] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/garrysmod/cache, referer: hl2://76.127.120.96:27015
[Thu Apr 01 22:47:40 2010] [error] [client 76.172.80.193] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/garrysmod/cache, referer: hl2://76.127.120.96:27015
[Thu Apr 01 22:47:40 2010] [error] [client 76.172.80.193] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/garrysmod/cache, referer: hl2://76.127.120.96:27015
[Thu Apr 01 22:47:40 2010] [error] [client 76.172.80.193] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/garrysmod/cache, referer: hl2://76.127.120.96:27015
[Thu Apr 01 22:47:40 2010] [error] [client 76.172.80.193] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/garrysmod/cache, referer: hl2://76.127.120.96:27015
[Thu Apr 01 22:47:40 2010] [error] [client 76.172.80.193] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/garrysmod/cache, referer: hl2://76.127.120.96:27015
[Thu Apr 01 23:14:46 2010] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
Ok. So. what does it mean? It cannot get those files? so it downloads from the game? or it just does without?
Posts: 737
Threads: 26
Joined: Jan 2009
Reputation:
6
From my experience, it just does with out. Even tho some say it would fallback to the gameserver
|