User:Necktrox: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Refer to the Sockets page)
mNo edit summary
Line 34: Line 34:
== Contact ==
== Contact ==
*[https://github.com/Necktrox GitHub Profile]
*[https://github.com/Necktrox GitHub Profile]
*[https://forum.mtasa.com/memberlist.php?mode=viewprofile&u=74045 Forum Profile]
*[https://forum.mtasa.com/profile/40389-necktrox/ Forum Profile]


== Code Snippets ==
== Code Snippets ==
See [https://github.com/Necktrox/mta-resources mta-resources] on GitHub for function snippets.
See [https://github.com/Necktrox/mta-resources mta-resources] on GitHub for function snippets.

Revision as of 01:21, 12 January 2017

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

Contact

Code Snippets

See mta-resources on GitHub for function snippets.