xXMADEXx Posted November 16, 2013 Share Posted November 16, 2013 (edited) Hi guys. I just wanted to share a little bit about my HTTP mod loader system. This resource is a script that allows you to upload your mods to a locally hosted webserver, and when clients join they can download/enable/disable/delete them onto/from their local computer. This script is very useful if you have a lot of mods on your server and you're losing players due to the download size. How-to Install: 1. You need to have a web server (Preferably XAMPP or WAMP -> 64 bit|32 bit) 2. Upload your mods to the web server (XAMPP: %install path%/htdocs | WAMP: %install path%/www) 3. Add the files to mod_c.lua 4. Login to router (Using http://192.168.0.1) 5. Find the port forwarding section 6. Port forward port 80 (This is done so that clients can download the mods via an apache web server) 7. Open client.lua and change the "sreverIp" and "ipv4IP" variables (To what it says) 8. Start resource 9. Join game and type /vehmods Download https://community.multitheftauto.com/index.php?p= ... ls&id=8249 Note: For a hosted server, it REQUIRES a web-server on the same host (same IP) Edited March 13, 2014 by Guest Link to comment
Desaster Posted November 16, 2013 Share Posted November 16, 2013 how I can make it work on a hosted server? Link to comment
Spajk Posted November 16, 2013 Share Posted November 16, 2013 Its a bit harder, Desaster, but you should be able to use MTA's inbuild http server. Link to comment
xXMADEXx Posted November 16, 2013 Author Share Posted November 16, 2013 how I can make it work on a hosted server? The mods will only work if the web server is hosted on the same computer as the MTA server due to "fetchRemote" on the client side script. Link to comment
Fantanic Posted November 17, 2013 Share Posted November 17, 2013 Hello , I got a little problem . The script is working for me but someone others cant download the mods and enable it. While i can enable the mod and see the mod. Greetings , Jonas Link to comment
xXMADEXx Posted November 17, 2013 Author Share Posted November 17, 2013 Hello , I got a little problem . The script is working for me but someone others cant download the mods and enable it. While i can enable the mod and see the mod. Greetings , Jonas Its mostly a problem with the firewall settings in USBWebHost. Link to comment
Fantanic Posted November 17, 2013 Share Posted November 17, 2013 Hello , I got a little problem . The script is working for me but someone others cant download the mods and enable it. While i can enable the mod and see the mod. Greetings , Jonas Its mostly a problem with the firewall settings in USBWebHost. So i have to turn of firewall on USBWebserver or? And how i do it ? Greetings , Jonas Link to comment
Estevam2d Posted November 17, 2013 Share Posted November 17, 2013 In my this same problem, and already went to the firewall and no fix. Link to comment
Estevam2d Posted November 17, 2013 Share Posted November 17, 2013 only handle local ip? Link to comment
TrapLord Studios™ Posted November 28, 2013 Share Posted November 28, 2013 Only works local good work - But its not helpful Link to comment
Woovie Posted November 29, 2013 Share Posted November 29, 2013 Only works local good work - But its not helpful How is it not very helpful? It prevents people from having massive file downloads. Link to comment
TrapLord Studios™ Posted November 29, 2013 Share Posted November 29, 2013 It only works for the local mta server Link to comment
Woovie Posted November 29, 2013 Share Posted November 29, 2013 It only works for the local mta server So the hell what? It still prevents massive downloads. If I join a server, I don't want to be forced to download 900mb of shitty car mods. I'd much rather choose what I want. It's local only for security. Link to comment
Narbnator Posted December 17, 2013 Share Posted December 17, 2013 Any chance i could get working DL to this script? Link to comment
xXMADEXx Posted December 17, 2013 Author Share Posted December 17, 2013 Any chance i could get working DL to this script? http://revolution-scripts.com/?page=scr ... n=download Link to comment
Fantanic Posted December 18, 2013 Share Posted December 18, 2013 So how to get it working for everyone? or is it imposible Link to comment
Stanley Sathler Posted December 24, 2013 Share Posted December 24, 2013 Account suspended, revolution-scripts.com isn't working anymore. Well, it's really sad it work only on local servers, but the idea is great and very, very useful. Link to comment
xXMADEXx Posted January 2, 2014 Author Share Posted January 2, 2014 RoS Scripts: https://www.mediafire.com/folder/h4kcbey50ld5z/scripts Link to comment
xXMADEXx Posted March 13, 2014 Author Share Posted March 13, 2014 Resource has been updated, make sure to port forward port 80. Link to comment
3B00DG4MER Posted March 14, 2014 Share Posted March 14, 2014 What mean the Error 403 ? Link to comment
Et-win Posted March 14, 2014 Share Posted March 14, 2014 What mean the Error 403 ? http://en.wikipedia.org/wiki/HTTP_403 Next time use Google. Link to comment
Spajk Posted March 14, 2014 Share Posted March 14, 2014 What do you mean it works only on local server? it works on every server which has a HTTP server running on the same machine. I am quite sure it would even work with MTA's inbuit HTTP server. Link to comment
Wisam Posted June 4, 2014 Share Posted June 4, 2014 so i cant get it to work on my hosted server? myabe you can make the download destination at a certain file like server\mods\deathmatch\resources\mods ? Link to comment
xXMADEXx Posted June 4, 2014 Author Share Posted June 4, 2014 so i cant get it to work on my hosted server? myabe you can make the download destination at a certain file like server\mods\deathmatch\resources\mods ? You need to have a VPS for this resource to work on a hosted server. 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