Age | Commit message (Collapse) | Author |
|
|
|
Fix parsing string ConVar/ConCommand.Flags from mod.json
The ParseConVarFlagsString function introduced in 64100065b55f79e76542ba689545c60e6fb0dcef (#373)
is utterly broken. It only parses the first flag, logs misleading
warnings, has an undefined return value in some codepaths, and is
somewhat convoluted.
Luckily, this doesn't appear to affect most (if not all) existing mods,
as they all seem to be using integer values for Flags, which is
taken as-is.
https://github.com/search?q=path%3A**%2Fmod.json+ConVars+Flags&type=code
|
|
* Some work
* Rewrite gamestate presence
* Add plugin system logger
* Format changes
* Format chjange
* Fix gamestate stuff
* some callback stuff
* move around invite stuff
* move invite to funcs
* fix presence server data
* Actually call InformSQVMCreated
* bruh
* Fix TODO's
* Formatting
* Fix filters
* Add InformDLLLoads
* Fix plugin handle always being 0
* Formatting
* Fix merge issues
* Formatting
* Mods can add files compiled at SQVM init
* Some Small Fixes
* Add changes from review
* Fix load failure
* Add new squirrel functions
* actually call InformSQVMDestroyed
* add CreateObject function
* answers to complaints
* remove snake cases from GameStatePresence
---------
Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
|
|
* add FUNCTION_AT and VAR_AT macros
* fix build issues oops
* fix formatting
* add PREDEFINED_VAR_AT
* change func name
* fixup formatting
* update to use DEFINED_VAR_AT
|
|
* force-include "pch.h" in all units, as it will error if it's not included anyways
* remove #include "pch.h" from all files as it's not needed anymore now
* fix size of NSUserAgent to be consistent (it's 256 in version.cpp, caused compile error)
* Re-add explicit pch.h include to pch.cpp (and ran clang-format)
* drop pch.h inclusion from new files
|
|
dont load streaming files on dedicated server
|
|
* run cfg to initialise gamemode on startup
* remove ; characters from mp_gamemode
* exec using _Cmd_Exec_f to avoid issues with semicolons in gamemode names
allowing additional commands to be run
* run from cfg/server/ rather than cfg/
* fixup formatting
|
|
* Stackinfos
* Formatting
* Add option for depth
* Revert "Merge branch 'main' into stackinfos"
This reverts commit e9e8948d2ae9ab72095eb2162de40383b7211276, reversing
changes made to d1cf18f7165a9d4fbe7f8ae2f1dfacbba36e4852.
* Move macros header
* Add macro header to filters
* Fix merge conflict mistake
* Fix stuff
* I hate git
* create `NSGetCurrentModName`
* Fix merge issues
|
|
* Add script concommands
* Fix indent
* Formatting
* Formatting stuff
* Changes for review
* Fix typo
* Forgot to remove the return statement
* Formatting
|
|
|
|
* Remove launcher proxy
* Restructuring
* More restructuring
* Fix include dirs
* Fix merge
* Remove clang thing
* Filters
* Oops
|