saul / cvar-unhide Goto Github PK
View Code? Open in Web Editor NEWPlugin to reveal all console variables/commands that are marked as hidden/development-only.
License: MIT License
Plugin to reveal all console variables/commands that are marked as hidden/development-only.
License: MIT License
Using command cvarlist_all
results in a crash.
Known working game version (as reference):
Protocol version 13844 [1519/1519]
Exe version 1.38.4.4 (csgo)
Exe build: 10:44:18 Sep 30 2022 (8598) (730)
I put it into csgo folder and the commands does not show up in the console.
My OS is ubuntu 18.04
Hello is possible somehow get this running on linux CSGO server ?
Thank you
Hey there, some days ago Valve's Counter-Strike 2 was launched for most players in an open beta. Is there a compatibility for this game or so, any plan to create it?
Current path: \steamapps\common\Counter-Strike Global Offensive\game\csgo
Currently the dependencies on the dll are linked dinamically l which means the computer loading the plugin must have the c/cpp core libraries available on windows.
If we change the build settings to generrate a static dll them all the dependencies will be bundled with it making it easier to install on new systems.
Currently I am trying to run the game on a lightweight windows installation without c/cpp core libraries and would be nice go not need then
More information:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/ab187afb-3af0-44ba-a03c-dde9e5208a1a/static-link-to-vc-runtime?forum=vclanguage
https://docs.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library
Would it be possible to regenerate this list towards the current client?
I am trying to use this addon on linux/osx csgo installation and in order to do that I need to compile the library targeting those devices instead of using the DLL files (usable only for Windows installation)
I've tried following the Valve Server Plugins tutorial but got few compilation errors (see below):
Steps to reproduce
#
# Sample server plugin for SRC engine
#
# October 2004, [email protected]
#
override NAME = serverplugin
PLUGIN_SRC_DIR = $(SRC_DIR)/..
PUBLIC_SRC_DIR = $(SRC_DIR)/public
TIER0_PUBLIC_SRC_DIR = $(SRC_DIR)/public/tier0
TIER1_PUBLIC_SRC_DIR = $(SRC_DIR)/public/tier1
PLUGIN_OBJ_DIR = $(BUILD_OBJ_DIR)/serverplugin_$(ARCH)
TIER0_OBJ_DIR = $(PLUGIN_OBJ_DIR)/tier0
INCLUDEDIRS = -I$(PUBLIC_SRC_DIR) -I$(TIER0_PUBLIC_SRC_DIR) -I$(TIER1_PUBLIC_SRC_DIR)
LDFLAGS_PLG = -lm -ldl tier0_i486.so vstdlib_i486.so $(LIB_DIR)/mathlib_i486.a $(LIB_DIR)/tier1_i486.a $(LIB_DIR)/tier2_i486.a
DO_CC = $(CPLUS) $(INCLUDEDIRS) -DARCH=$(ARCH)
ifeq "$(DEBUG)" "true"
DO_CC += $(DBG_DEFINES) $(DBG_CFLAGS)
else
DO_CC += -DNDEBUG $(CFLAGS)
endif
DO_CC += -o $@ -c $<
#####################################################################
PLUGIN_OBJS = \
$(PLUGIN_OBJ_DIR)/serverplugin.o
TIER0_OBJS = \
$(TIER0_OBJ_DIR)/memoverride.o \
all: dirs $(NAME)_$(ARCH).$(SHLIBEXT)
dirs:
-mkdir -p $(BUILD_OBJ_DIR)
-mkdir -p $(PLUGIN_OBJ_DIR)
-mkdir -p $(TIER0_OBJ_DIR)
$(NAME)_$(ARCH).$(SHLIBEXT): $(PLUGIN_OBJS) $(TIER0_OBJS)
$(CLINK) -o $(BUILD_DIR)/$@ -m32 $(SHLIBLDFLAGS) $(PLUGIN_OBJS) $(TIER0_OBJS) $(PUBLIC_OBJS) $(CPP_LIB) $(LDFLAGS_PLG) $(CPP_LIB)
$(PLUGIN_OBJ_DIR)/%.o: $(PLUGIN_SRC_DIR)/%.cpp
$(DO_CC)
$(TIER0_OBJ_DIR)/%.o: $(TIER0_PUBLIC_SRC_DIR)/%.cpp
$(DO_CC)
clean:
-rm -rf $(PLUGIN_OBJ_DIR)
-rm -f $(NAME)_$(ARCH).$(SHLIBEXT)
make plugin
In file included from ../../serverplugin.cpp:20:
../public/tier1/fmtstr.h:53:3: error: second argument to 'va_start' is not the last named parameter [-Werror,-Wvarargs]
FmtStrVSNPrintf(m_szBuf, SIZE_BUF, &pszFormat);
^
../public/tier1/fmtstr.h:30:21: note: expanded from macro 'FmtStrVSNPrintf'
va_start(arg_ptr, (*(ppszFormat))); \
^
../public/tier1/fmtstr.h:59:3: error: second argument to 'va_start' is not the last named parameter [-Werror,-Wvarargs]
FmtStrVSNPrintf(m_szBuf, SIZE_BUF, ppszFormat);
^
../public/tier1/fmtstr.h:30:21: note: expanded from macro 'FmtStrVSNPrintf'
va_start(arg_ptr, (*(ppszFormat))); \
^
../public/tier1/fmtstr.h:65:3: error: second argument to 'va_start' is not the last named parameter [-Werror,-Wvarargs]
FmtStrVSNPrintf(m_szBuf, SIZE_BUF, &pszFormat);
^
../public/tier1/fmtstr.h:30:21: note: expanded from macro 'FmtStrVSNPrintf'
va_start(arg_ptr, (*(ppszFormat))); \
^
../public/tier1/fmtstr.h:72:3: error: second argument to 'va_start' is not the last named parameter [-Werror,-Wvarargs]
FmtStrVSNPrintf(m_szBuf, SIZE_BUF, ppszFormat);
^
../public/tier1/fmtstr.h:30:21: note: expanded from macro 'FmtStrVSNPrintf'
va_start(arg_ptr, (*(ppszFormat))); \
^
../public/tier1/fmtstr.h:84:110: error: second argument to 'va_start' is not the last named parameter [-Werror,-Wvarargs]
void AppendFormat( const char *pchFormat, ... ) { int nLength = Length(); char *pchEnd = m_szBuf + nLength; FmtStrVSNPrintf( pchEnd, SI...
^
../public/tier1/fmtstr.h:30:21: note: expanded from macro 'FmtStrVSNPrintf'
va_start(arg_ptr, (*(ppszFormat))); \
^
../../serverplugin.cpp:135:15: error: variable type 'CServerPlugin' is an abstract class
CServerPlugin g_Plugin;
^
../public/engine/iserverplugin.h:137:17: note: unimplemented pure virtual method 'BNetworkCryptKeyCheckRequired' in 'CServerPlugin'
virtual bool BNetworkCryptKeyCheckRequired( uint32 unFromIP, uint16 usFromPort, uint32 unAccountIdProvidedByClient,
^
../public/engine/iserverplugin.h:151:17: note: unimplemented pure virtual method 'BNetworkCryptKeyValidate' in 'CServerPlugin'
virtual bool BNetworkCryptKeyValidate( uint32 unFromIP, uint16 usFromPort, uint32 unAccountIdProvidedByClient,
^
../../serverplugin.cpp:281:20: error: implicit instantiation of undefined template 'std::basic_string<char, std::char_traits<char>,
std::allocator<char> >'
static std::string ConvarFlagsString(const ConCommandBase *cmd)
^
/usr/include/c++/4.2.1/bits/stringfwd.h:56:11: note: template is declared here
class basic_string;
^
../../serverplugin.cpp:286:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [8]'
flags.push_back("devonly");
^~~~~~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:288:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [3]'
flags.push_back("sv");
^~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:290:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [3]'
flags.push_back("cl");
^~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:292:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [7]'
flags.push_back("hidden");
^~~~~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:294:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [5]'
flags.push_back("prot");
^~~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:296:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [3]'
flags.push_back("sp");
^~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:298:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [2]'
flags.push_back("a");
^~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:300:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [3]'
flags.push_back("nf");
^~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:302:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [5]'
flags.push_back("user");
^~~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:304:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [6]'
flags.push_back("print");
^~~~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:306:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [8]'
flags.push_back("numeric");
^~~~~~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:308:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [4]'
flags.push_back("rep");
^~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [obj/serverplugin_i486/serverplugin.o] Error 1
make: *** [plugin] Error 2
Placed the file in addons and launched the game with -insecure. Also tried to load the plugin manually:
] plugin_load cvar-unhide
Unable to load plugin "cvar-unhide"
Unable to load plugin "cvar-unhide"
] plugin_load cvar-unhide.dll
Unable to load plugin "cvar-unhide.dll"
Unable to load plugin "cvar-unhide.dll"
] plugin_load addons/cvar-unhide
Unable to load plugin "addons/cvar-unhide"
Unable to load plugin "addons/cvar-unhide"
] plugin_load addons/cvar-unhide.dll
Unable to load plugin "addons/cvar-unhide.dll"
Unable to load plugin "addons/cvar-unhide.dll"
Since the latest Portal 2 update, running cvar_unhide_all
, cvarlist_all
, or find_all
now instantly crash. cvar_set
and force_dispatch
still work fine, including on hidden/devonly cvars.
Hey, I never had issues because my localhost testing server runs in insecure but now that I wanted to use this on a secure server I am running into the insecure-safeguard. I understand having this for clients but servers are allowed to use addons, so I am requesting either the addon to automatically detect if it is running as a client/server or maybe have an additional command line option to bypass the insecure check.
There is an XML error about signatures being mismatched if you attempt to download any binaries from the Releases section
The plugin causes the game client to crash after the 8/29/2019 update (https://blog.counter-strike.net/index.php/2019/08/25353/) during startup.
Hello I only recently discovered this and was wondering if there could be a version made that works for Portal 2?
EDIT: I read a reddit post that this did work for Portal 2 but the game has since been updated recently.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.