Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Typo001 on April 10, 2008, 01:40:08 PM

Title: ulx addforcedownload (not working)
Post by: Typo001 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
Title: Re: ulx addforcedownload (not working)
Post by: Megiddo on April 10, 2008, 03:08:29 PM
Maps already automatically download.
Title: Re: ulx addforcedownload (not working)
Post by: Typo001 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.
Title: Re: ulx addforcedownload (not working)
Post by: JamminR 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.
Title: Re: ulx addforcedownload (not working)
Post by: Typo001 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.
Title: Re: ulx addforcedownload (not working)
Post by: Megiddo 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.