Comments (4)
This repo still uses the old project generator, but it should work fine since I made it backwards compatible this time. Have you tried opening a command line in that folder and running premake5 vsXXXX
to get more output? That way, it should keep it open.
from gmsv_serversecure.
well I managed to get the error this time but it doesn't really make much sense to me.
C:\Users\cewei\Downloads\gmsv_serversecure-master (1)\gmsv_serversecure-master\projects>premake5 vs2019
Error: ...aster (1)/gmsv_serversecure-master/projects/premake5.lua:4: invalid escape sequence near '"C:\U'
and below is the lua code for the premake5.lua(I double checked the folderpath for garrysmod_common and it should be exactly as file explorer shows it)
I also tried with the file path for garrysmod_common set to "../dependancies/garrysmod_common" aswell just to see if it worked. but that one simply errors out on line 8 saying I didn't provide a path to garrysmod_common
newoption({
trigger = "gmcommon",
description = "Sets the path to the garrysmod_common (https://github.com/danielga/garrysmod_common) directory",
value = "C:\Users\cewei\Downloads\rn_modules\garrysmod_common\garrysmod_common"
})
local gmcommon = _OPTIONS.gmcommon or os.getenv("GARRYSMOD_COMMON")
assert(gmcommon ~= nil, "you didn't provide a path to your garrysmod_common (https://github.com/danielga/garrysmod_common) directory")
include(gmcommon)
CreateWorkspace({name = "serversecure.core", abi_compatible = true})
CreateProject({serverside = true})
IncludeSDKCommon()
IncludeSDKTier0()
IncludeSDKTier1()
IncludeSteamAPI()
IncludeDetouring()
IncludeScanning()
files({
"../source/netfilter/*.cpp",
"../source/netfilter/*.hpp"
})
from gmsv_serversecure.
well I managed to get past the issue with premake5 by manually editing the lua files for it to automatically point to the path.
tho now I'm unsure what to do with the new issue I have. I tried building it on release win32 with no edits made but I get this in my error console for vs https://pastebin.com/s6eV1K13
from gmsv_serversecure.
The path error is related to you editing the file directly and improperly. You're supposed to edit environment variables of your terminal/command line. GARRYSMOD_COMMON
contains the path to your local copy of the garrysmod_common
repository and SOURCE_SDK
the path to your local copy of my sourcesdk-minimal
repository.
Regarding that error, I've made a fix on garrysmod_common
so make sure to pull the latest changes.
from gmsv_serversecure.
Related Issues (20)
- [Enhancement] Name thread in top/htop
- Base Gamemode HOT 4
- SetThreadDescription could not be located in the DLL HOT 9
- Responds with invalid a2s_info response thus making battle metrics show invalid.( The game displays it though ) HOT 7
- x64 bit Support? HOT 1
- Does this require gmod_common HOT 1
- Example on how to use serversecure.AddBlacklistIP? HOT 2
- Cannot Build HOT 4
- How can i compile it for Linux?
- Server crash on shutdown HOT 4
- steam auth packet (k) abused for ddos attack HOT 1
- Problems with premake5 HOT 1
- premake5 problem (again, sorry) HOT 2
- Crash when require module HOT 5
- deleted please stupid question
- premake5 problem HOT 1
- Crash when trying to load a personally assembled module on a Win64 dedicated server. HOT 1
- _modded Gamemodes Not Being Listed Correctly in In-Game Server Browser HOT 5
- Serversecure doesn't load after a changelevel HOT 1
- Warning Connection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmsv_serversecure.