SRCDS Steam group


Can you use server to push files to client
#1
Hi,

Is it possible to get the SRCDS Server, Garry's Mod in particular to push files to teh connecting client?

In other words, I know that maps and associated files are pushed when you connect but what about other files e.g. SWEPS, NPCs, Models.

My example is that I found a Terminator NPC/Model and wouldl ike to install it onto my server and then push it out to any clients that connect to the server.

The reason is I am setting up a server for a small group and want to make sure everyone has all the same files, so usingteh server as the master file source and as we agree to add another SWEP, it goes onto the server and then pushed out automatically

Paul
Reply
#2
yep, try this. http://forums.alliedmods.net/showthread.php?p=602270
Reply
#3
Thanks for the pointer, going to give it a go now
Reply
#4
np Smile
Reply
#5
Hi,

GMOD client stuck downloading first file

Ok, I have installed SourceMod, mmsource and downloader.

I have set sm_downloader_enabled to 1 and simple also to 1.

Just in case I have put the following lines in my INI files:

SIMPLE
\addons\EXPLODING Rainbow Gun\info.txt
\addons\EXPLODING Rainbow Gun\readme.txt
\addons\EXPLODING Rainbow Gun\lua\entities\splodin_rainbow
\addons\EXPLODING Rainbow Gun\lua\entities\splodin_rainbow\shared.lua
\addons\EXPLODING Rainbow Gun\lua\weapons\rainbowgun\cl_init.lua
\addons\EXPLODING Rainbow Gun\lua\weapons\rainbowgun\init.lua
\addons\EXPLODING Rainbow Gun\lua\weapons\rainbowgun\shared.lua

NORMAL
//Don't modify or remove the Comment Lines ( // )
//Files (Download Only No Precache)

\addons\EXPLODING Rainbow Gun\info.txt
\addons\EXPLODING Rainbow Gun\readme.txt
\addons\EXPLODING Rainbow Gun\lua\entities\splodin_rainbow
\addons\EXPLODING Rainbow Gun\lua\entities\splodin_rainbow\shared.lua
\addons\EXPLODING Rainbow Gun\lua\weapons\rainbowgun\cl_init.lua
\addons\EXPLODING Rainbow Gun\lua\weapons\rainbowgun\init.lua
\addons\EXPLODING Rainbow Gun\lua\weapons\rainbowgun\shared.lua

//Decal Files (Download and Precache)

//Sound Files (Download and Precache)

//Model Files (Download and Precache)


What am I doing wrong?

Paul

Hi,

I removed the two text files from the list including the rianbow folder and reconnected my GMOD client.

This time it tried to download nothing at all, but the rainbow gun works and I cannot find the LUA files on my client anyway.

I must be missing something fundemental here, what is it as I assumed puting the list of files in the INI file would result in them downloading to the client.

Also the rainbow gun is only available when connected to the server and not stand alone.




Paul
Reply
#6
try taking the dash out from in front of addons, and do you use a fast/dl server?
Reply
#7
Try removing this part: \addons\EXPLODING Rainbow Gun and just leave in the actually files: lua\entities\splodin_rainbow\shared.lua
Reply
#8
(03-28-2011, 08:05 AM)SinisterSaint Wrote:  try taking the dash out from in front of addons, and do you use a fast/dl server?

Thanks, tried that now with no difference. Is there a way I can check if the server can actually find the files? is there some auditing/logging that can be switched on?

What is a Fast/dl server?

(03-28-2011, 07:35 PM)Nisd Wrote:  Try removing this part: \addons\EXPLODING Rainbow Gun and just leave in the actually files: lua\entities\splodin_rainbow\shared.lua

Thanks, remve dthat liine so only individual files but still the same.

I just asked someone ekse if there is some logging/audit that can be switched on to see if the server has found the file, any idea?
Reply
#9
(03-26-2011, 08:07 PM)beddau Wrote:  Also the rainbow gun is only available when connected to the server and not stand alone.

If this is what you want, then it is not possible, you can only control what the client have loaded while he is on the server.

If you want the SWEP to be available when running single player or such, you would need to install the addon in the clients addon folders.

Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)