GithubHelp home page GithubHelp logo

danielga / gmod_luasocket Goto Github PK

View Code? Open in Web Editor NEW
28.0 4.0 3.0 71 KB

Modules for Garry's Mod that add bindings for OS sockets through luasocket.

Home Page: https://github.com/danielga/gmod_luasocket

License: Other

Lua 98.10% C++ 1.87% C 0.04%
garrysmod garrysmod-module gmod gmod-module garrys-mod

gmod_luasocket's Introduction

gmod_luasocket

Build Status

Modules for Garry's Mod that add bindings for OS sockets through luasocket.

General information

This project is composed by the Lua modules (in includes/modules) and the internal binary modules (socket.core, mime.core, unix and serial, where the last two are Unix only).

You can also refer to this project as gm_luasocket or Luasocket for Garry's Mod.

The Lua files go into lua/includes/modules (just copy the includes directory from this repository onto lua) and the binary modules go into lua/bin.

An optional security wrapper luasocket_wrapper.lua is provided, which must be placed in the same place as the binary modules to work.

Compiling

The only supported compilation platform for this project on Windows is Visual Studio 2017. However, it's possible it'll work with Visual Studio 2015 and Visual Studio 2019 because of the unified runtime.

On Linux, everything should work fine as is.

For macOS, any Xcode (using the GCC compiler) version MIGHT work as long as the Mac OSX 10.7 SDK is used.

If stuff starts erroring or fails to work, be sure to check the correct line endings (\n and such) are present in the files for each OS.

Requirements

This project requires garrysmod_common, a framework to facilitate the creation of compilations files (Visual Studio, make, XCode, etc). Simply set the environment variable 'GARRYSMOD_COMMON' or the premake option 'gmcommon' to the path of your local copy of garrysmod_common.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.