Giter VIP home page Giter VIP logo

gmsv_luapack_internal's Introduction

gmsv_luapack_internal

A Garry's Mod module that complements the LuaPack project.

Compiling

The only supported compilation platform for this project on Windows is Visual Studio 2017 on release mode.

On Linux, everything should work fine as is, on release mode.

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

These restrictions are not random; they exist because of ABI compatibility reasons.

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.

We also use SourceSDK2013. The links to SourceSDK2013 point to my own fork of VALVe's repo and for good reason: Garry's Mod has lots of backwards incompatible changes to interfaces and it's much smaller, being perfect for automated build systems like Azure Pipelines (which is used for this project).

gmsv_luapack_internal's People

Contributors

danielga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gmsv_luapack_internal's Issues

Hook not working

After compiling the source with vs2017 the hook does not run but it does on the release

whitelist bsp extension

add bsp to the extension whitelist for luapack.Rename
(then subsequently in the luapack addon change "luapack/" .. luapack.CurrentHash .. ".dat" to "luapack/" .. luapack.CurrentHash .. ".bsp")
this lets people with cl_downloadfilter mapsonly to actually download the content instead of crashing

Can't use the module

I've compiled it by myself for Linux and can't get it to work.

I tried to compile it for 32-bit target with master branch garrysmod_common and on startup server throw an error failed to hook GModDataPack::AddOrUpdateFile (on stable gmod branch of course)

Then i tried to compile it for 64-bit target with x86-64-support-sourcesdk branch on garrysmod_common and it fails on compilation:
putty_kscsV7ePSW

Removing last true argument from call make it compile, but on server startup when it need to load the module it instantly segaults.

x64 Bit

I beg you compile x64 bit versions of you're DLL's

Hook not working

Hook doesn't working after last gmod update, error stack below
image

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.