ULX

Author Topic: Possible help with server/server's fast dl  (Read 5859 times)

0 Members and 1 Guest are viewing this topic.

Offline Xx!CntTouchThis!xX

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Possible help with server/server's fast dl
« on: October 21, 2011, 10:38:34 PM »
Hi, im Xx!CntTouchThis!xX.
          I am here to ask about help with fast dl. If I am correct for fast dl to work you must setup a ftp. I have set up a ftp and my server commands are this.

sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "ftp://*My ip would be here*/garrysmod/"

It doesn't seem to make the dl faster. I would really like this so I don't need to narrow down a bunch of files on ULX forced downloads or have to sacrifice stuff for my users because I cant get fast dl to work. BTW I use Filezilla server and client.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Possible help with server/server's fast dl
« Reply #1 on: October 22, 2011, 11:22:02 AM »
1) Not sure you can host using FTP..think it has to be HTTP.
2) Using your same ip will lag the players connected to your game. Thats the whole reason it supposed to be faster..Gmod won't download to connecting people more than 20% of your bandwidth set for each player. If  you open up your same connection you run the game servers on, and it's a home connection not meant for mass serving of data (like a web/data hosting would), then any time someone connects, it will take up whatever your internet can send, causing lag to your gmod players.

What is
http://wiki.garrysmod.com/?title=General_Server_Setup_Information#What_exactly_is_Fast_Download_or_sv_downloadurl.3F
Setting  up
http://wiki.garrysmod.com/?title=Setting_up_sv_downloadurl

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Xx!CntTouchThis!xX

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Possible help with server/server's fast dl
« Reply #2 on: October 22, 2011, 12:02:34 PM »
1) Not sure you can host using FTP..think it has to be HTTP.
2) Using your same ip will lag the players connected to your game. Thats the whole reason it supposed to be faster..Gmod won't download to connecting people more than 20% of your bandwidth set for each player. If  you open up your same connection you run the game servers on, and it's a home connection not meant for mass serving of data (like a web/data hosting would), then any time someone connects, it will take up whatever your internet can send, causing lag to your gmod players.

What is
http://wiki.garrysmod.com/?title=General_Server_Setup_Information#What_exactly_is_Fast_Download_or_sv_downloadurl.3F
Setting  up
http://wiki.garrysmod.com/?title=Setting_up_sv_downloadurl

I realize that and i have a actual web host now. This has a public_htm folder. To more questions. As I showed in the beginning of the post sv_allowupload and sv_allowdownload are set to 1. I have seen other sites say 0, others say 1. Second will this all be automatically downloaded or will I have to do something in the data/ulx/downloads.txt file?

Offline Xx!CntTouchThis!xX

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Possible help with server/server's fast dl
« Reply #3 on: October 22, 2011, 01:15:49 PM »
Also to add to what I asked was about compression. If I compress the files do i just put them back normally and they will download correctly?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Possible help with server/server's fast dl
« Reply #4 on: October 22, 2011, 04:02:50 PM »
allowdown/allowup - I recommend 0 as also shown in the wiki page for setting up sv_downloadurl
Too many various exploits I've seen over the past few years use down/up load if set to 1.

Please read http://wiki.garrysmod.com/?title=Setting_up_sv_downloadurl
Re: compression - Though you could leave maps normal and it work, your players would benefit from .bz2 compression.

ULX downloads.txt is for files as shown in the section of the 'set up' link I've given, aptly named
Content that must be manually added
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Xx!CntTouchThis!xX

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Possible help with server/server's fast dl
« Reply #5 on: October 23, 2011, 09:54:05 AM »
allowdown/allowup - I recommend 0 as also shown in the wiki page for setting up sv_downloadurl
Too many various exploits I've seen over the past few years use down/up load if set to 1.

Please read http://wiki.garrysmod.com/?title=Setting_up_sv_downloadurl
Re: compression - Though you could leave maps normal and it work, your players would benefit from .bz2 compression.

ULX downloads.txt is for files as shown in the section of the 'set up' link I've given, aptly named
Content that must be manually added

Just to clear up something. Lets say I wanted the weapons file in models for my source weapons I would type addons/Firearmsweaponssource/models/weapons? Then lastly you kinda cleared up about the .bz2 but im just asking. would I go and replace every file with the new compression and when they download it it will be unpacked? sorry and if this is my last post for this thanks a bunch.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Possible help with server/server's fast dl
« Reply #6 on: October 23, 2011, 11:49:43 AM »
If using compression, remove the non-compressed map file, leave only the <map name>.bz2 file.

In theory, you'd need to remove /addons/<add on name> from every file you wanted to force that isn't included automatically.
Example. /models/weapons/<3 model files> (I think, not sure about the first slash in front of models, or if all 3 files need to be in the list..I think I remember seeing somewhere, perhaps in the wiki, that if you included just one file extension, it would download the other two or three files associated with a model..or, maybe I'm getting confused with)

I say in theory because, 1) I've seen people say they use whole path and 'it just work', but, I'd try first and it's worked for me in past, 2) addon folders are virtual... /addon/<addon_name>/models, in effect, to Gmod, becomes /models/<model files>
It's the same with lua/textures/models/maps in addons folders.

Hope that helps.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Xx!CntTouchThis!xX

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Possible help with server/server's fast dl
« Reply #7 on: October 23, 2011, 01:22:45 PM »
If using compression, remove the non-compressed map file, leave only the <map name>.bz2 file.

In theory, you'd need to remove /addons/<add on name> from every file you wanted to force that isn't included automatically.
Example. /models/weapons/<3 model files> (I think, not sure about the first slash in front of models, or if all 3 files need to be in the list..I think I remember seeing somewhere, perhaps in the wiki, that if you included just one file extension, it would download the other two or three files associated with a model..or, maybe I'm getting confused with)

I say in theory because, 1) I've seen people say they use whole path and 'it just work', but, I'd try first and it's worked for me in past, 2) addon folders are virtual... /addon/<addon_name>/models, in effect, to Gmod, becomes /models/<model files>
It's the same with lua/textures/models/maps in addons folders.

Hope that helps.



I am now in the process of compressing every single file that i need to compress. im almost done. Thanks tho it sould work fine. Thanks!

Offline Xx!CntTouchThis!xX

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Possible help with server/server's fast dl
« Reply #8 on: October 23, 2011, 03:10:57 PM »
I am now in the process of compressing every single file that i need to compress. im almost done. Thanks tho it sould work fine. Thanks!

Guess what. Sorry to bother again but the people download the stuff but people are getting errors. Sorry everything is were it should be, help?

Offline Xx!CntTouchThis!xX

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Possible help with server/server's fast dl
« Reply #9 on: October 23, 2011, 03:57:33 PM »
Also I just looked on the valve wiki for this. sv_download and upload is set to 1, wtf

Offline strategos

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 2
  • I wanna be the guy
    • Community
Re: Possible help with server/server's fast dl
« Reply #10 on: October 23, 2011, 11:31:26 PM »
Just a tip for FastDL:

Don't be like me the first time you use it and upload every garrysmod file. Make sure to delete the ones that can compromise you like server.cfg. If you carelessly upload it, they can read it by directing their web-browser to it.

Offline Xx!CntTouchThis!xX

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Possible help with server/server's fast dl
« Reply #11 on: October 25, 2011, 09:22:49 PM »
I got it working finally. It seems like the path was the same in the downloads.txt file. Not addons, also with the compression i got that. Server is up and running now. I dont want to advertise but I will.

Xx!CntTouchThis!xX Freebuild server (Fast DL)

also this is what the final downloads file looks like after ALOT of copy and paste.

materials\models\prop
materials\models\props_forsaken
materials\models\static
materials\models\testmodels
models\props_forsaken
models\static
models\testmodels
settings
materials\vgui\entities\gmod_playx.vmt
materials\vgui\entities\gmod_playx.vtf
materials\vgui\entities\gmod_playx_repeater.vmt
materials\vgui\entities\gmod_playx_repeater.vtf
models\copcar.dx80
models\copcar.dx90
models\copcar.mdl
models\copcar.phy
models\copcar.sw
models\copcar.vvd
models\copcar.xbox
models\copcarru.dx80
models\copcarru.dx90
models\copcarru.mdl
models\copcarru.phy
models\copcarru.sw
models\copcarru.vvd
models\copcarru.xbox
models\enforcer.dx80
models\enforcer.dx90
models\enforcer.mdl
models\enforcer.phy
models\enforcer.sw
models\enforcer.vvd
models\enforcer.xbox
models\gdub.dx80
models\gdub.dx90
models\gdub.mdl
models\gdub.phy
models\gdub.sw
models\gdub.vvd
models\weapons\v_kick.dx80
models\weapons\v_kick.dx90
models\weapons\v_kick.mdl
models\weapons\v_kick.sw
models\weapons\v_kickvvd
models\weapons\v_pist_a300.dx80
models\weapons\v_pist_a300.dx90
models\weapons\v_pist_a300.mdl
models\weapons\v_pist_a300.sw
models\weapons\v_pist_a300.vvd
models\weapons\v_pist_a300.xbox
models\weapons\w_pist_a300.dx80
models\weapons\w_pist_a300.dx90
models\weapons\w_pist_a300.mdl
models\weapons\w_pist_a300.phy
models\weapons\w_pist_a300.sw
models\weapons\w_pist_a300.vvd
models\weapons\w_pist_a300.xbox
models\player\gasmask.dx90
models\player\gasmask.mdl
models\player\gasmask.phy
models\player\gasmask.vvd
models\player\gasmask.xbox
models\player\swattb.dx80
models\player\swattb.dx90
models\player\swattb.mdl
models\player\swattb.phy
models\player\swattb.sw
models\player\swattb.vvd
models\player\swattya.dx80
models\player\swattya.dx90
models\player\swattya.mdl
models\player\swattya.phy
models\player\swattya.sw
models\player\swattya.vvd
models\player\swattyac.dx80
models\player\swattyac.dx90
models\player\swattyac.mdl
models\player\swattyac.phy
models\player\swattyac.sw
models\player\swattyac.vvd
models\player\swattyd.dx80
models\player\swattyd.dx90
models\player\swattyd.mdl
models\player\swattyd.phy
models\player\swattyd.sw
models\player\swattyd.vvd
models\Characters\cop.dx80
models\Characters\cop.dx90
models\Characters\cop.mdl
models\Characters\cop.phy
models\Characters\cop.sw
models\Characters\cop.vvd
materials\icons
materials\Cable
materials\vgui\entities\copcar.vmt
materials\vgui\entities\copcar.vtf
materials\vgui\entities\copcarru.vmt
materials\vgui\entities\copcarru.vtf
materials\vgui\entities\enforcer.vmt
materials\vgui\entities\enforcer.vtf
materials\vgui\entities\sent_Radio3.vmt
materials\vgui\entities\sent_Radio3.vtf
materials\vgui\entities\smod_leg.vmt
materials\vgui\entities\Smod_leg.vtf
materials\models\cop
materials\models\copcar
materials\models\copcarru
materials\models\enforcer
materials\models\player
materials\models\weapons
sound\weapons
sound\player
materials\ragMorphInvisible.vmt
materials\ragMorphInvisible.vtf