Jump to content

HTTP Mod Loader


xXMADEXx

Recommended Posts

Posted (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 by Guest
Posted
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.

Posted

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

Posted
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.

Posted
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

  • 2 weeks later...
Posted
Only works local good work - But its not helpful

How is it not very helpful? It prevents people from having massive file downloads.

Posted
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.

  • 3 weeks later...
  • 2 weeks later...
  • 2 months later...
Posted

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.

  • 2 months later...
Posted

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 ?

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...