/gmc_scanning_advanced

My own collection of random symbols for sigscan with garrysmod_common

Primary LanguageC++MIT LicenseMIT

What is this?

My own collection of random symbols for sigscan with gmod_common that I use for my modules.

Using

Include this folder in your premake5 script.
After this, include this like you include other submodules from gmod_common using IncludeScanningAdvanced function.

Premake Example

PROJECT_GENERATOR_VERSION = 3

newoption {
    trigger = "gmcommon",
    description = "Sets the path to the garrysmod_common (https://github.com/danielga/garrysmod_common) directory",
    value = "path to garrysmod_common directory"
}

local gmcommon = _OPTIONS.gmcommon or os.getenv "GARRYSMOD_COMMON"

if not gmcommon then
	print "You didn't provide a path to your garrysmod_common (https://github.com/danielga/garrysmod_common) directory, using submodule directory instead."
end

include(gmcommon or "third-party/garrysmod_common")
include "third-party/scanning-advanced"

CreateWorkspace { name = "mymodule" }
	CreateProject { serverside = true }
		IncludeHelpersExtended()
		IncludeSDKCommon()
		IncludeSDKTier0()
		IncludeSDKTier1()
		IncludeDetouring()
		IncludeScanning()
		IncludeScanningAdvanced()