ULX

Author Topic: ulx addforcedownload (not working)  (Read 3462 times)

0 Members and 4 Guests are viewing this topic.

Offline Typo001

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • My (Personal) Site
ulx addforcedownload (not working)
« on: April 10, 2008, 01:40:08 PM »
I have tried to put:
 ulx addForcedDownload "maps/gm_MSC_snow_flatgrass.bsp"
And it will not download when people join, is there something I am missing? Here is the full Configuration Settings ( .ini is in the cfg/maps folder and is the name for the map, and I tested if it works by adding a addvert)

Code: [Select]
// You can put commands that you want to execute ONLY on gm_construct here.
// For example, you could raise the ragdoll limit for gm_construct
// You can make other map-specific configs by creating a .ini in their name in this folder
ulx addForcedDownload "maps/gm_MSC_snow_flatgrass.bsp"
ulx addCsayAdvert "test!" 100 255 200 610 5
Thanks

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ulx addforcedownload (not working)
« Reply #1 on: April 10, 2008, 03:08:29 PM »
Maps already automatically download.
Experiencing God's grace one day at a time.

Offline Typo001

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • My (Personal) Site
Re: ulx addforcedownload (not working)
« Reply #2 on: April 10, 2008, 04:45:50 PM »
That is why I did that, for some reason maps will not download (so what my friends say)
And at this time I can not remember the name, but that sv_allowdownload (do not blame if it is wrong I can’t remember) is on 1. And it is like that on other servers too. If u do not have the map, it will disconnect u from the server.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ulx addforcedownload (not working)
« Reply #3 on: April 10, 2008, 05:41:09 PM »
Code: [Select]
"sv_allowdownload" "1"
"net_maxfilesize" "<size in mb of largest file you'd send>"
That net_maxfilesize defaults to 16mb I think, smaller than most maps.

If you also use "sv_downloadurl" "http://yoursite.com/gmod/maps" ... Google how to bzip compress the file (.bz2)

I've seen indication that the new engine also allows storage of bz2 maps directly on the server if you don't use sv_downloadurl, but someone else will have to comment.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Typo001

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • My (Personal) Site
Re: ulx addforcedownload (not working)
« Reply #4 on: April 17, 2008, 12:18:53 PM »
Code: [Select]
"sv_allowdownload" "1"
"net_maxfilesize" "<size in mb of largest file you'd send>"
That net_maxfilesize defaults to 16mb I think, smaller than most maps.

If you also use "sv_downloadurl" "http://yoursite.com/gmod/maps" ... Google how to bzip compress the file (.bz2)

I've seen indication that the new engine also allows storage of bz2 maps directly on the server if you don't use sv_downloadurl, but someone else will have to comment.
Thank you that is what I have been looking for was the "net_maxfilesize" because the map is 20.4 mb
So I said in the console net_maxfilesize 25 isn't that right, just to make sure I am doing it right.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ulx addforcedownload (not working)
« Reply #5 on: April 17, 2008, 01:18:39 PM »
Thank you that is what I have been looking for was the "net_maxfilesize" because the map is 20.4 mb
So I said in the console net_maxfilesize 25 isn't that right, just to make sure I am doing it right.

Should work.
Experiencing God's grace one day at a time.