• Forced Download help.
    10 replies, posted
im having a problem forcing people to download models. i tried doing it with ULX, but i can seem to get that to work at all. when i do it the /lua/autorun/server way the server just gets stuck on the downloading /addons/blahblahblah part or crashes all together. I've looked for a fix but i cant seem to find one on Google. i fiddled around with it for about 5 hours and still nothing. anyone else have this problem?
in lua/autorun/server make a new file and name it what you want. Then do this [CODE] if ( SERVER ) then resource.AddFile("pathhere") end [/CODE] Then it will force it. It will not be fast dll because you don't have that set up( I don't know this but if you do it will do fast dll )
[QUOTE=shadowslayer9;41791019]in lua/autorun/server make a new file and name it what you want. Then do this [CODE] if ( SERVER ) then resource.AddFile("pathhere") end [/CODE] Then it will force it. It will not be fast dll because you don't have that set up( I don't know this but if you do it will do fast dll )[/QUOTE] the guys im renting the server from already have fast DL set up for me. see, this is the thing, i already did this, it just froze on the downloading/blahblahblah bit. the two files are also fairly small 41.3 KB (42,312 bytes) and 2.28 KB (2,336 bytes) to be exact. and i have no idea why this is happening. even with the 20kb/s regular speed it shouldn't just freeze.
In your server.cfg is your download set up right?
[QUOTE=shadowslayer9;41791298]In your server.cfg is your download set up right?[/QUOTE] i know your supposed to put sv_allowdownload 1 in there. i've already done that though so it cant be that.
[QUOTE=squire;41791354]i know your supposed to put sv_allowdownload 1 in there. i've already done that though so it cant be that.[/QUOTE] No, lol you got half of it sv_allowdownload 1 sv_allowupload 1 sv_downloadurl "This is your Fast DLL site" Once you got that retry with the script
[QUOTE=shadowslayer9;41791426]No, lol you got half of it sv_allowdownload 1 sv_allowupload 1 sv_downloadurl "This is your Fast DLL site" Once you got that retry with the script[/QUOTE] i know this already its been done by the guys im renting the server from set up. but its still stuck.
1. They are not BZiped right 2. You don' have the script installed.
Talk to your mates who your rented the server from, also make sure it's not just you.
[QUOTE=nettsam;41791673]Talk to your mates who your rented the server from, also make sure it's not just you.[/QUOTE] ill do that, ill ask the guys i rented the server from, see if its something on their side. EDIT: it was something on their side.
[QUOTE=squire;41791701]ill do that, ill ask the guys i rented the server from, see if its something on their side.[/QUOTE] good luck
Sorry, you need to Log In to post a reply to this thread.