>:O Gaming community from Philadelphia Pa starting their own server.
I once had a very extremely basic server setup with no addons and now I'm looking to get it setup a little more indepth.
Is there any guides to setting up servers AFTER the initial setup? The server runs and can connect and the basic stuff. Now I want to add mods, extra props, addons.
I downloaded a tons of stuff off garrysmod.org and am looking to install it. Alot of the stuff gives no clear indication of what do to with it. Some items say extract to the addons folder, when they say this does it mean serverside or client side? After its copied where on earth do I find them?
Looking at extra:
props
vehicles
nps
player models.
Any help would be greatly appreciated.
Well are they all just add ons? if so it should be rather self explanatory..
thats the point, ITS NOT. and I even asked a couple questions in my previous post.
Do I do this on the server, or the client?
If server, how do I push these out to clients?
After said folder is moved to addons folder, where is it located in the game?
I'm terribly sorry for the absolute n00b questions, but its not like there are any set guides or real tutorials out there for this kind of stuff. Not that I've found, but if there is please show me. I'd be glad to read them.
This game is completely based around mods and as such I'd expect a little more structure in the way its done.
May I have an example of one of these mods?
Also you're going to need to work on the server so others can join your server and download what you want them to see.
Thanks for your help, and quick response, I get instant email notifications ;)
Give me a minute to get a list of a few addons I've downloaded.
Thanks again.
[editline]25th April 2011[/editline]
I downloaded this mod:
[url]www.garrysmod.org/downloads??aview&id=99863[/url]
T-Rex
It comes zipped and contains an addons folder. I assume I copy this to the addons folder. Do i do this on MY pc or the server? Id rather it be on the server and then pushed out to the client. I cant possibly expect anyone who connects to have the same extras I have.
However. I copied it to the addons folder on the server. I connect via my pc and its not telling me im downloading any kind of extra files.
Am I thinking this through correctly?
Yea for that one you put the 'T-rex' folder on the server under /orangebox/garrysmod/addons/ then people who join the server will download the add on and it will work on the server. if you where to just install it on your pc it would only work on your single player.
[url]http://imgur.com/SGq98[/url]
Theres a screenshot of the garrysmod/addons folder with a highlighted t-rex folder.
Go ahead and connect to meanyfaceclan.us:27035, tell me if it downloads anything except the map and gta4 cars (which are supposed to be driveable but arent which is a separate issue)
Thanks for your help so far.
I won't, but that will work.
except it doesnt. :(
If you are trying to install addons on the server you put them in the server's addons folder. If a mod does not come with an info.txt you extract the contents (like the materials, models, sounds, etc. folders) into the same folders on the server (make sure you don't stack up the folders ex: materials/materials/ doesn't work).
If you have the addon already on your PC it won't re-download it, since that's silly.
Also, make sure that net_maxfilesize is set to 64 (which is also the maximum allowed value for that).
Thanks for your reply
That sounds like it should work.
However the aforementioned t-rex download contains a t-rex folder. Inside that folder is lua, materials, models, sound and info.txt
I moved the t-rex folder to the addons folder so that the directory structure is now:
garrysmod\addons\T-Rex
however nothing is downloaded by the client
I believe my problem is getting the server and client to sync. A copy of the addon may very well be on the server. But this really isnt useful if the client does not have it also.
How do I get the server to push out these files to the clients?
Also correct me if I'm wrong, but there is a way for these files to be included in the cache file that is downloaded by the client when the server restarts. Id rather NOT do it this way as I cant possibly expect people to redownload stuff everytime the server restarts.
I've restored to a completely stock copy of gmod server.... looking for the very next step to push out addons.
I setup WAMP ([url]http://www.wampserver.com/en/[/url]) on the gmod server. Root directory is the srcds/orangebox/garrysmod/ folder.
Verified server is accessible to outside world on port 8084
added lines:
"sv_downloadurl" "http://jaredmadams.ath.cx:8084/garrysmod/"
"sv_allowupload" "0"
"sv_allowdownload" "0"
to the server.cfg file according to this wiki: [url]http://wiki.garrysmod.com/?title=Setting_up_sv_downloadurl[/url]
getting ready add manual files (addons) using resource.addsinglefile according to this wiki: [url]http://wiki.garrysmod.com/?title=Resource.AddSingleFile[/url]
am I heading in the right direction?
[editline]27th April 2011[/editline]
used this generator: [url]http://www.facepunch.com/threads/842886-Resource-File-Generator[/url]
to generate the .lua files for a test addon (this addon [url]http://www.garrysmod.org/downloads/?a=view&id=74922[/url])
moved .lua file to lua/autorun/server
partial contents of this lua file (theres actually 1164 files):
[code]
resource.AddSingleFile( '/addons/Military Models 2/info.txt' )
resource.AddSingleFile( '/addons/Military Models 2/settings/spawnlist/military_models.txt' )
resource.AddSingleFile( '/addons/Military Models 2/models/military2/ship/sp_rattack.dx80.vtx' )
resource.AddSingleFile( '/addons/Military Models 2/models/military2/ship/sp_rattack.dx90.vtx' )
resource.AddSingleFile( '/addons/Military Models 2/models/military2/ship/sp_rattack.mdl' )
resource.AddSingleFile( '/addons/Military Models 2/models/military2/ship/sp_rattack.phy' )
resource.AddSingleFile( '/addons/Military Models 2/models/military2/ship/sp_rattack.sw.vtx' )
[/code]
the url from above [url]http://jaredmadams.ath.cx/garrysmod[/url] + a URL in the code would = this example:
[url]http://jaredmadams.ath.cx/garrysmod/addons/Military[/url] Models 2/models/military2/ship/sp_rattack.sw.vtx
is indeed a working URL
everything is setup accoring to the wiki and some sparse information i've found here
---------------------------------------------
however the server doesnt push out any files to clients.
I get these lines of output when the server starts:
Compressing lua files into datapack...
Skipped. Datapack exists.
no other code on start that would indicate a problem. Is there a way to delete this datapack and possibly force the server to create a new one? one that includes the mod i just added?
buuuuuuuuuuuuuuuuuuuuuuuuuuuump
someone?
is the server hosted on a linux or on a windows server?
and you install the addons on the server just like you would install it on the client.
It is a Windows server.
As stated in the thread I want the addons on the server to be pushed to the client automatically.
Was I no being clear in the last 4-5 posts?
This can't be this hard to do. virtually every server i join requires me to download something.
bummmmmmmmmmmmmmmmmmmmmp
still looking for some insight onto how to get the servers to push addons to the clients automatically........
anyone?
anyone at all?
[QUOTE=krakah;29517387]bummmmmmmmmmmmmmmmmmmmmp
still looking for some insight onto how to get the servers to push addons to the clients automatically........
anyone?
anyone at all?[/QUOTE]
If there is an info.txt in the folder of the mod you downloaded, then it belongs into addons folder if not, then every folder (models, sounds, lua, materials) go to your garrysmod main folder(on the gameserver).
if that doesen't work, then you have downloaded a shitty addon.
if you are unable to do the most simple task as a server owner, then you should stop being a server owner.
Sorry, you need to Log In to post a reply to this thread.