Author Topic: Downloading Maps  (Read 3944 times)

0 Members and 1 Guest are viewing this topic.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Downloading Maps
« on: August 31, 2007, 02:10:44 PM »
hey guys.. it's my turn for a little help if you don't mind.. shouldn't be too hard..

ulx addForcedDownload...

can I use this command in my server.ini to allow users to download maps from my server if they dont have it already?

like... ulx addForcedDownload maps/whatever.mapextension

if this isn't possible with ulx, do you know how it is? Ive looked around on Google.. and I cant find any solutions. I know it is possible, because like with Counterstrike.. or whatever, you can get the maps from them..


Thanks a lot guys. =)

Offline Chironex

  • Full Member
  • ***
  • Posts: 197
  • Karma: 11
  • Formerly known as Kyzer
Re: Downloading Maps
« Reply #1 on: August 31, 2007, 03:13:53 PM »
Its -> sv_allowdownload
And you can set a limit (in mb) with -> net_maxfilesize

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Downloading Maps
« Reply #2 on: August 31, 2007, 03:34:07 PM »
Kyzer's got it on that.
Not mentioned is the fact that those aren't ULX controlled, they're part of Steam/Source engine.
They'd go in your server.cfg file (not ULX .ini files)
And if you have a faster public html server different than your game server, you can use sv_downloadurl

Find a tutorial and info on those and compressing maps using bzip also.
« Last Edit: August 31, 2007, 03:36:11 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Downloading Maps
« Reply #3 on: August 31, 2007, 03:50:48 PM »
For anyone setting up a dedicated server, I highly recommend you check out http://www.srcds.com. Look through the forums and they have information on anything you could need.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Downloading Maps
« Reply #4 on: August 31, 2007, 07:29:24 PM »
Thanks a LOT guys.. One of my team members is making a custom map for us which shouldnt be too large a file size, but we didn't want to have to defer people to a website to get the map. Thanks again.

Offline WildWill

  • Global Moderator
  • Full Member
  • ****
  • Posts: 100
  • Karma: 15
    • Beast_Building_Server
Re: Downloading Maps
« Reply #5 on: September 01, 2007, 03:56:16 AM »
Using sv_downloadurl with a map offsite will substantially increase the speed that your clients download at. It will also preserve you server upload for gaming instead of file hosting. Just my two cents :) 

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Downloading Maps
« Reply #6 on: September 01, 2007, 11:27:41 AM »
yeah.. this is how I set it up... seeing as I have a seperate server for my website, I just threw the maps there. Also for some reason with sv_allowdownload and sv_allowupload set to 1.. my server still wont allow maps to be downloaded. it gets the files associated with the maps.. but not the maps themselves.. of course with the sv_downloadurl set.. it works fine.

Thanks again guys.