Closed Zekirax closed 2 years ago
my premake code
local gmcommon local path
(define path here with condition if I'm in windows or in my wsl)
include(gmcommon)
CreateWorkspace({name = "microphone", path = path, abi_compatible = true}) CreateProject({serverside = true, manual_files = false}) IncludeLuaShared() IncludeHelpersExtended() IncludeSDKCommon() IncludeSDKTier0() IncludeSDKTier1() IncludeSteamAPI() IncludeDetouring() IncludeScanning()
files({
path.."*.cpp",
path.."*.hpp"
})
What operating system are you using? What beta of Garry's Mod (none or x86-64) and what architecture (32 bits or 64 bits) are you playing on?
Beta x86-64 chromium and play in x86. I'll test without chromium beta
Yeah, these builds aren't for the x86-64 beta, they're for the main branch.
It was the problem thanks.
When i require the module require("serversecure.core") my gmod shutdown. I was in a private game in multiplayer. Before that is was trying to create a gmod module. And I took as an example this project. I noticed my game crashed when I called a function from IServer* even if IServer isn't a nullptr and in a try catch.