Age | Commit message (Collapse) | Author |
|
Adds missing validation check to ensure that the package folder the plugin is included in matches the `AUTHOR-MOD-VERSION` pattern.
(cherry picked from commit 0af8c500aecb2eca77996e9ef750589fceb7245b)
|
|
(cherry picked from commit e3f2c4c6622c83ac561f7e4cbf8601c50469d291)
|
|
With the move to cmake there is no need for the `pch.cpp` files as it generates them automatically.
Also removes leftover `#include "pch.h"` occurrences
(cherry picked from commit 82bff57d166ece1173ca7df33940171548015a71)
|
|
Create packages directory in `PluginManager::LoadPlugins()` to avoid crashing when trying to read non-existent directory
(cherry picked from commit 24400184f35e64957f2c7544122557077b257886)
|
|
Fixes a regression introduced in #513
(cherry picked from commit e742eb35ccc4dab4c0b4cff65b5e72a62346aa74)
|
|
Adds support for loading plugins from `packages` directory which was missing from the original PR that introduced the `packages` directory.
(cherry picked from commit a65cbeacfbaed17f0526fb513f49338f1151d247)
|
|
Replace forward slashes with backward slashes in some string constants to make things more consistent.
(cherry picked from commit 2e6c1cffabd7528ba1e6ddd2663f1ad34a475df5)
|
|
- Packing was enabled because the compiler may add padding which we don't want.
- Constructors were removed because they were either rather primitive or broken (the `pRawFloats` one).
- Use of constructor was replaced with a simple cast, which works just as well.
(cherry picked from commit ddb4670354a5f29e6ebd08f625edb2576de700e6)
|
|
* Replace vendored libcurl and minhook with submodules
* Add cmake utility for checking submodules and initializing them
* Update build instructions to use Git
|
|
Adds logging for OS, Wine, and Proton versions.
|
|
Allows for loading Thunderstore mods directly from a separate directory called `packages`.
|
|
- Removes the log spam of "changing mod search path"
- Logs mods as they are loaded, alongside their ConVars, Scripts, ConCommands, etc.
- Warns in the console about errors in the mod.json instead of silently skipping things
|
|
- Renames `MemoryAddress` to `CMemoryAddress`
- Renames `CMemoryAddress::As` to `CMemoryAddress::RCast`
|
|
|
|
* rename `include` to `thirdparty`
* remove duplicate minhook in wsock32
* move minhook into its own directory
* move openssl lib into separate directories
|
|
* turn implicit type casts into standard compliant explicit type casts
* correct includes and library names
* correct implicit use of std-namespaced functions
* turn incomplete virtual implementations into pure virtuals (this also follows what the Source SDK tier0 header does)
* define SqRecurseArgs ahead of implementation to fix templating problems
* switch out removed getentity with getthisentity
* fix calls to curl_easy_escape with wrong types
* replace winapi-specific function with std starts_with function
* format squirrel header
|
|
|
|
|
|
|
|
|
|
|
|
Moves the entire project to cmake as the build system
|
|
|
|
|
|
Support loading plugins from subdirs to allow for better organising plugins and easier mod-manager installation
|
|
* fix vector garbage data
* use structs for script server browser
* use sq struct api wrappers
* use sqfloat return type for getvector
* use const references for access
* move fn to make the diff more readable (hopefully)
|
|
Fix initscript issue that prevented Northstar from being run without any mods enabled/installed.
|
|
Doesn't exist since 450d0b1ed437cf37b4309af952af8904f3f07768 (#343).
|
|
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
|
|
|
|
Previously, DecodeJSON would log a warning and swallow the error silently, even if the second argument (fatalParseErrors) was true (default is false).
|
|
* fix vector garbage data
* change typedef to use IDA's types
|
|
Not all error paths set it.
|
|
The error.msg field has always been around, but we never used it.
|
|
|
|
|
|
|
|
Consists of a JSON object including a type key and a HMAC-SHA256
signature using the gameserver-specific token from the masterserver
as the key.
|
|
|
|
|
|
* 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>
|
|
revert some changes made by #411
|
|
bring sq funcs back
|
|
* fix sv_alltalk 1 (broken originally by respawn changes)
* nvm i forgor to commit literally the main file
* fix formatting
* unsure why this was buidling but it shouldn't've been? fix build errors
regardless
* remove duplicate alltalk.cpp
* add (experimental) potentially less jank patch
* (now working) better patch for checking if alltalk is enabled
* oops put a z in it boo womp
* fixup formatting
|
|
* Reject banned players during masterserver auth
This is backwards-compatible with old masterserver versions (it will
be treated as a general authentication failure).
* Reword server ban message
|
|
one line fix baby!
|
|
|
|
* 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
|
|
* add CGlobals class and g_pGlobals, and update scripts to support
* don't automatically enable antispeedhack (oops)
* add dedicated.cpp
* format
* bad push oops
* reformat again
* implement dedi_sendPrintsToClient
* update formatting
|
|
* add additional properties to CBasePlayer
* fixup names
* use hex offsets
|