Ulysses

General => Off-Topic => Topic started by: Prizim on December 15, 2009, 06:13:00 PM

Title: Forced Downloads Taking Forever, How Do I Force Addon Weapons?
Post by: Prizim on December 15, 2009, 06:13:00 PM
Posted this is another part of the forums earlier, realized it was in the wrong section. Reposting:
Hello. I apologize if this question has been asked before, but I'm starting my own buildRP server, and I want to force the downloads of the weapons (ep2 sniper, and a few others, nothing too big), and when people start to download it, the info.txt files take forever. I looked around, and found that I can't just add full addons. I removed the info.txt files and then the .vtf files took forever (mind you, this isn't 2-minutes-for-one-file-forever, this is forever-forever). So how do I add addon-weapons as forced downloads? I mainly want people to see them and use them. Thank you for reading/possibly helping.
Title: Re: Forced Downloads Taking Forever, How Do I Force Addon Weapons?
Post by: JamminR on December 15, 2009, 06:22:16 PM
sv_downloadurl (http://forums.alliedmods.net/showthread.php?t=21331)
Downloading anything but lua text files directly from the game server is too slow, and to be honest, even the lua files in my opinion can take too long
(When joining a server with much custom content.. I waited 10 minutes for only 400 lua files one time)
If  you're running a dedicated server, most hosts also offer a website, or charge little additional for http.
Bzip your packs... upload them to the web host.

[Also, sorry if you've read this and are now replying (see you in the currently reading list) ... our FAQ section has how to use forceddownloads regarding addons too]
Title: Re: Forced Downloads Taking Forever, How Do I Force Addon Weapons?
Post by: Megiddo on December 15, 2009, 08:08:24 PM
Only problem with sv downloadurl is that it's a pain to update every time you change a lua script...
Title: Re: Forced Downloads Taking Forever, How Do I Force Addon Weapons?
Post by: Prizim on December 15, 2009, 09:00:38 PM
I can't thank you enough for the help. I added the sv_downloadurl to my config file, and hopefully it'll work. I really appreciate the prompt reply.

EDIT: One more thing, and this might not be your department...I am using it for a darkrp server, and I can't get the admin configurations to stick...every time the server restarts, it goes back to normal. Any suggestions?
Title: Re: Forced Downloads Taking Forever, How Do I Force Addon Weapons?
Post by: Megiddo on December 15, 2009, 09:08:28 PM
I can't thank you enough for the help. I added the sv_downloadurl to my config file, and hopefully it'll work. I really appreciate the prompt reply.

EDIT: One more thing, and this might not be your department...I am using it for a darkrp server, and I can't get the admin configurations to stick...every time the server restarts, it goes back to normal. Any suggestions?

He might be using the garry method of saving convars, which only saves on a successful server shutdown (that is, not a crash).
Title: Re: Forced Downloads Taking Forever, How Do I Force Addon Weapons?
Post by: JamminR on December 15, 2009, 09:14:59 PM
Also Prizim, remember, you have to have an http server available, and host the files you want downloaded on it.
That tutorial I link to summarizes it quickly. Use google for much more information.
Title: Re: Forced Downloads Taking Forever, How Do I Force Addon Weapons?
Post by: Prizim on December 15, 2009, 09:35:26 PM
Also Prizim, remember, you have to have an http server available, and host the files you want downloaded on it.
That tutorial I link to summarizes it quickly. Use google for much more information.

Oh. So the ftp thing my server company gave me won't work?
Title: Re: Forced Downloads Taking Forever, How Do I Force Addon Weapons?
Post by: Prizim on December 16, 2009, 02:13:24 PM
So I tried going into my server.cfg and setting the sv_downloadurl to what I want, but nothing downloads now. First of all, I used an ftp:// type of site, and I'm not sure if that works with this. (MammothGames, the company I use, said it would work for custom files), but it still doesn't force any downloads. Do I have to set anything up in ULX to force it? Or does FTP just not work for this kind of thing?
Title: Re: Forced Downloads Taking Forever, How Do I Force Addon Weapons?
Post by: JamminR on December 16, 2009, 03:51:58 PM
FTP won't work for Gmod/Source downloads, BUT, your host probably has a path that you ftp files to, then access through http://<something.com/<username> or <yourname.mammoth.com> etc.
Check their help site.

Title: Re: Forced Downloads Taking Forever, How Do I Force Addon Weapons?
Post by: Prizim on December 16, 2009, 04:11:19 PM
FTP won't work for Gmod/Source downloads, BUT, your host probably has a path that you ftp files to, then access through http://<something.com/<username> or <yourname.mammoth.com> etc.
Check their help site.

OK, I see what I have to do now. It should work from here-on-out. Once again, thank you so much.