User:Necktrox: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Refer to the Sockets page)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 31: Line 31:
$ ./build-64.sh
$ ./build-64.sh
</syntaxhighlight>
</syntaxhighlight>
== Contact ==
*[https://github.com/Necktrox GitHub Profile]
*[https://forum.mtasa.com/memberlist.php?mode=viewprofile&u=74045 Forum Profile]
== Code Snippets ==
See [https://github.com/Necktrox/mta-resources mta-resources] on GitHub for function snippets.

Latest revision as of 23:32, 25 April 2018

Download and install socket module

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

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