Coder Social home page Coder Social logo

rautyrauty / multithreaded-anti-family-sharing Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 174 KB

A binary module for the Garry's mod (gmod) server that provides protection against family sharing

License: MIT License

CMake 0.17% C++ 99.83%
garrysmod gmod gmod-lua gmod-module garrys-mod garrysmod-module gmsv

multithreaded-anti-family-sharing's Introduction

Multithreaded Anti Family Sharing

A cross-platform dynamic library or a binary module for Garry's Mod game servers that provides protection from family sharing.

Family Sharing is a steam feature that allows you to distribute your game to other accounts. The person was denied access to the server, he creates a new account, distributes the game and logs on to the server. To find out whether the player is the true owner of the game is possible only with the help of the web steam api. There were already Lua solutions, but they all had one problem - single-threaded processing.

Installation

  1. Install gmod_require (to save your nerves): Download https://github.com/danielga/gmod_require/releases/tag/v1 and move it to /garrysmod/lua/bin/ Download https://github.com/danielga/gmod_require/tree/master/includes/modules (both) and move them to /garrysmod/lua/includes/modules
  2. Install OpenSSL For Windows: Download https://slproweb.com/products/Win32OpenSSL.html and move libcrypto.dll to ./bin (or in another way garrysmod/../bin, not garrysmod/lua/bin) For Linux (perhaps it is possible without -dev, but I have not checked):
sudo apt-get install libssl-dev
  1. Move gmsv_AntiFamilySharing_platform.dll to /garrysmod/lua/bin
  2. Create .lua file in garrysmod/lua/autorun/server with this code:
require("require")
require("AntiFamilySharing")

Credits

I am grateful to the creators of the following open source libraries:

multithreaded-anti-family-sharing's People

Contributors

rautyrauty avatar

Watchers

 avatar

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.