User:Necktrox

From Multi Theft Auto: Wiki
Revision as of 02:03, 2 September 2016 by Necktrox (talk | contribs)
Jump to navigation Jump to search

Download and install socket module

Download

These binaries are freshly baked for the commit a23bf532477f03f70be6432b3b4b4d51f2949a11.

Installation

You can read more about the sockets module here: Modules/Sockets

Windows

x32: server/mods/deathmatch/modules/ml_sockets.dll
x64: server/x64/modules/ml_sockets.dll

Linux

x32: server/mods/deathmatch/modules/ml_sockets.so
x64: server/x64/modules/ml_sockets.so

Compile socket module on Ubuntu 15.10 (or on any Debian distro?)

Install the necessary build tools, headers and libraries

$ sudo apt-get install git build-essential automake libtool lib32z1-dev g++-multilib

Clone the multitheftauto/multitheftauto-modules repository to your disk

$ git clone https://github.com/multitheftauto/multitheftauto-modules.git mta-modules

Change your directory to mta-modules/sockets

$ cd mta-modules/sockets

Make the shell scripts executable, so they can be ran from terminal

$ chmod a+x build-32.sh
$ chmod a+x build-64.sh

Build the x32/x64 libraries

$ ./build-32.sh
$ ./build-64.sh

Contact

Code Snippets

See mta-resources on GitHub for function snippets.