Overkillz Posted August 10, 2015 Share Posted August 10, 2015 Hey dear guys, Im trying to speed up the download of my server. Well, Im trying to use httpdownloadurl and it doesn't works for me. I have an dedicated server and Im running a website there, well, I created a directoy which have -777 permisson (ATM) to test if it download my script, but it doesn't do it. This is the url which I have the httpdownloadurl http://my-website.net/files/ and this is an screen of the folder Well, I have .htaccess configured to AddType application/octet-stream .lua Well, I have no idead what I need to get it works. I have restarted the server, but nothing, it doesn't work I hope you can help me. Regards. Link to comment
Jaysds1 Posted August 13, 2015 Share Posted August 13, 2015 If your mta server is on your dedicated server then you wouldn't need httpdownloadurl. If it's not, I see one problem you made so far; you're support to have a resources folder with all your resources/scripts. Link to comment
Mr_Moose Posted August 14, 2015 Share Posted August 14, 2015 The root of your http server file system must match the directory structure of the server files, either add the folder "Scripts" (and any subfolder below that) to http download url property. The symptom here is obvious, nothing is downloaded you say, well that's because the server sees an empty folder. Link to comment
Overkillz Posted August 15, 2015 Author Share Posted August 15, 2015 The root of your http server file system must match the directory structure of the server files, either add the folder "Scripts" (and any subfolder below that) to http download url property. The symptom here is obvious, nothing is downloaded you say, well that's because the server sees an empty folder. "Script" is the name of the resource. It containt the meta and a client file. But it didnt work. Link to comment
Mr_Moose Posted August 15, 2015 Share Posted August 15, 2015 You should not copy your actual resources to the webserver. Copy your files from "mods/deathmatch/resource-cache" and keep any change in that folder synced with your webserver. Link to comment
Overkillz Posted August 18, 2015 Author Share Posted August 18, 2015 You should not copy your actual resources to the webserver. Copy your files from "mods/deathmatch/resource-cache" and keep any change in that folder synced with your webserver. Could you give me some steps to keep sync my webserver with mtaserver ? If you can, could you tell me it detaily ? Regards. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now