Age | Commit message (Collapse) | Author |
|
|
|
|
|
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.
|
|
`set-output` is being deprecated as per https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
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
|
|
v2 is deprecated
|
|
bring sq funcs back
|
|
* CI create release and upload files on tag
On tag creation, this creates a new release and uploads the corresponding compiled launcher and debug files.
* Remove leftover `ls`
* Remove condition to not build RCs
Release candidates should also be built and uploaded. The condition for not building them was a leftover from copy-pasting code.
* Move condition to parent
* Make sure files are in root of zip
Previously they were in a subfolder inside the zip
* Remove leftover content from copy/paste
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* Add Destroy callback for squirrel scripts.
* Switch _call() to Call()
|
|
dont load streaming files on dedicated server
|
|
flush loggers properly on dedicated server shutdown
|
|
allow launchplaylist to be used to start dedicated servers
|
|
* feat: create remote mod directory
* feat: look for mods in remote mods directory
|
|
Format enabledmods.json
|
|
|
|
|
|
* add NSGetCursorPosition
* fix vs filters
* fix clang formatting
* Create wininfo.h
* Create wininfo.cpp
* add wininfo to compiler options
* add wininfo to filters
* move wininfo
* clamp position to screen size
|
|
Pedantic fix for previous commit (3cfd6f9) (use if-else instead of if)
|
|
* 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
|
|
push to stack correctly
Co-authored-by: Maya <RoyalBlue1@users.noreply.github.com>
Co-authored-by: Maya <RoyalBlue1@users.noreply.github.com>
|
|
* change how we load localisation to fix overriding individual
localisation strings
* fix formatting
* fix formatting again
|
|
|