xXMADEXx Posted November 16, 2013 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 The Ultimate Lua Tutorial! | MTA PHP SDK
Desaster Posted November 16, 2013 Posted November 16, 2013 how I can make it work on a hosted server?
Spajk Posted November 16, 2013 Posted November 16, 2013 Its a bit harder, Desaster, but you should be able to use MTA's inbuild http server.
xXMADEXx Posted November 16, 2013 Author 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. The Ultimate Lua Tutorial! | MTA PHP SDK
Fantanic Posted November 17, 2013 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
xXMADEXx Posted November 17, 2013 Author 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. The Ultimate Lua Tutorial! | MTA PHP SDK
Fantanic Posted November 17, 2013 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
Estevam2d Posted November 17, 2013 Posted November 17, 2013 In my this same problem, and already went to the firewall and no fix.
zero Posted November 17, 2013 Posted November 17, 2013 Great job. (Y) # Sorry my English is bad • Your Community MTA unofficial in Spanish: ---- • En desarrollo: Saints Boulevard RP 'MTA' 25% versión: 1.0.2 • [Proyecto] Saints Boulevard RP 'MTA' ____
TrapLord Studios™ Posted November 28, 2013 Posted November 28, 2013 Only works local good work - But its not helpful Visit TrapLord Studios™
Woovie Posted November 29, 2013 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. "The humble beet is the answer to all riddles." - Rolf
TrapLord Studios™ Posted November 29, 2013 Posted November 29, 2013 It only works for the local mta server Visit TrapLord Studios™
Woovie Posted November 29, 2013 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. "The humble beet is the answer to all riddles." - Rolf
Narbnator Posted December 17, 2013 Posted December 17, 2013 Any chance i could get working DL to this script?
xXMADEXx Posted December 17, 2013 Author Posted December 17, 2013 Any chance i could get working DL to this script? http://revolution-scripts.com/?page=scr ... n=download The Ultimate Lua Tutorial! | MTA PHP SDK
Fantanic Posted December 18, 2013 Posted December 18, 2013 So how to get it working for everyone? or is it imposible
Stanley Sathler Posted December 24, 2013 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. Software Engineer & Entrepreneur • Running Lustrel and VilarikA • Highly engaged on open source community
xXMADEXx Posted January 2, 2014 Author Posted January 2, 2014 RoS Scripts: https://www.mediafire.com/folder/h4kcbey50ld5z/scripts The Ultimate Lua Tutorial! | MTA PHP SDK
xXMADEXx Posted March 13, 2014 Author Posted March 13, 2014 Resource has been updated, make sure to port forward port 80. The Ultimate Lua Tutorial! | MTA PHP SDK
3B00DG4MER Posted March 14, 2014 Posted March 14, 2014 What mean the Error 403 ? SAF/SAO - 30% Skype: Themerzoug2020 in-game name:3B00DG4MER
Et-win Posted March 14, 2014 Posted March 14, 2014 What mean the Error 403 ? http://en.wikipedia.org/wiki/HTTP_403 Next time use Google. ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
Spajk Posted March 14, 2014 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.
Wisam Posted June 4, 2014 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 ? ☣ Plauge Arma II DayZ Mod Server ☣ Here's the link to stay tuned with the server progress and features: https://forum.mtasa.com/viewtopic.php?f=114&t=96675 Get Ready to play DayZ like you never did before
xXMADEXx Posted June 4, 2014 Author 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. The Ultimate Lua Tutorial! | MTA PHP SDK
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