aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-04 Add ban/kick concommand completion (#604)v1.22.0-rc1v1.22.0cat_or_not
Adds completion to ban and kick commands when typing them in in-game console.
2024-01-04Use .def for function exports (#625)v1.21.4-rc1v1.21.4Jack
Cherry-picked from primedev Co-authored-by: F1F7Y <filip.bartos07@proton.me>
2024-01-04Add cmake format check to CI (#630)Jack
2024-01-04Format cmake filesNorthstar
2024-01-03Format cmake filesNorthstar
2024-01-03Format cmake filesNorthstar
2024-01-03Run auto-label action at a later timeGeckoEidechse
for testing
2024-01-03Schedule the merge conflict labelling to run daily (#631)Jack
2023-12-30Simplify vscript stub function (#627)v1.21.3-rc1v1.21.3Jack
Since we can get stack info from the sqvm, we don't need to give the function name in the template and stuff. Cherry picked from primedev
2023-12-27Folder restructuring from primedev (#624)v1.21.2-rc3v1.21.2Jack
Copies of over the primedev folder structure for easier cherry-picking of further changes Co-authored-by: F1F7Y <filip.bartos07@proton.me>
2023-12-20Add Action to add label to PR on merge conflict (#621)GeckoEidechse
Adds a GitHub Action that auto-adds a label to a PR in case there are merge conflicts.
2023-12-20Format projectNorthstar
2023-12-20Set a better `AccessModifierOffset` in `clang-format` (#619)Jack
Default appears to be -2, which causes clang-format to mix tabs and spaces
2023-12-20Cherry pick "remove unnecessary namespaces" from primedev (#618)v1.21.2-rc2Jack
Cherry-picks the removal of unnecessary namespaces from `primedev` https://github.com/F1F7Y/NorthstarPrime/ Co-authored-by: F1F7Y <filip.bartos07@proton.me>
2023-12-14Fix SERVER | CLIENT context specifier error (#566)v1.21.2-rc1v1.21.1-rc1v1.21.1EladNLG
2023-12-14Mod download UI integration (#595)v1.21.0-rc2v1.21.0Rémy Raes
UI integration for the mod downloading feature. Feature activation locked behind a convar.
2023-12-14Add plugin dependency constants (#458)v1.21.0-rc1cat_or_not
Adds dependency constants for plugins so mods can rely on plugins without always producing script errors when the plugin is missing
2023-12-14Rework `-vanilla` to be a vanilla compatibility mode (#601)Jack
Old `-vanilla` behaviour is now handled by `-nonorthstardll`. New squirrel constant called `VANILLA`. Set to true when in vanilla compatibility mode. Differences when in vanilla compatibility mode: - Doesn't restrict server commands (same as `-norestrictservercommands`) - Doesn't block FairFight screenshot functions - Doesn't do Atlas-related stuff (except for mainmenupromos)
2023-12-13Disable more compression methods for minizip (#602)Jan
Only use the absolute necessary compression methods in order to still allow compilation under Wine.
2023-12-07Format projectNorthstar
2023-12-07Add clang-format config to pack constructor initializers (#608)uniboi
The setting will set each initializer in a new line if all of them don't fit in one line
2023-12-04Bump clang format action to 0.16.2 (#609)GeckoEidechse
Current is 0.13 which was released October 2021. This bumps it latest at the time of writing, i.e. 0.16.2
2023-12-01Revert "Move player auth to `CServer::ConnectClient` (#548)" (#610)GeckoEidechse
This reverts commit 17217a39681c7fed35bee95195bdba7eaf508911 (PR #548) which introduced a regression allowing auth to progress further than intended.
2023-11-28Add a safeguard to map command (#564)GeckoEidechse
Adds safeguard to the `map` command that prevents it from executing if the requested map is invalid or no map argument is given. Retry of #529 Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
2023-11-27Load plugin dependencies from lib folder (#590)Maya
Disables recursive search for plugins in plugin folders and if it exists adds lib folder within plugin folder to DLL load dirs
2023-11-23Replace audio event fetching with hook (#603)Jan
Takes the previous audio event code, which relied on reading out a register using masm, and replaces it with a new hook. Adapted from NorthstarPrime https://github.com/F1F7Y/NorthstarPrime Co-authored-by: F1F7Y <filip.bartos07@proton.me>
2023-11-22Move player auth to `CServer::ConnectClient` (#548)cat_or_not
Fixes bots crashing servers when they are the first to connect to it. Also moves player auth to `CServer::ConnectClient`. This allows the removal of `iNextPlayerUid` and `pNextPlayerToken` which were the cause of issues previously since they were not initialized by bots.
2023-11-22Improve replacing `xinput1_3` with `xinput9_1` (#583)Jan
The previous logic incorrectly loaded compared the whole argument, which may be a path, to the string literal. This fix checks if the argument ends with the string literal instead.
2023-11-21Add mod versions when logging that a mod has loaded (#596)v1.20.1-rc5v1.20.1Cyn
Prints the version of the mod when loaded succesfully
2023-11-21Don't log masterserver registration errors in the lobby (#543)Jack
The main purpose of this PR is to not flood the console with errors that aren't really errors, thus preventing various tickets or misleading users.
2023-11-17Update link for verified mods JSON file (#600)v1.20.1-rc4GeckoEidechse
File was moved with https://github.com/R2Northstar/VerifiedMods/pull/8
2023-11-06Plugins v3 (#472)v1.20.1-rc2v1.20.1-rc1v1.20.0-rc3v1.20.0cat_or_not
- nuked presence logic ( moved to the discord rpc plugin ) - more exposed sq functions - exposed dll addresses - `g_pCVar` is exposed - added "userdata" to plugin's async call - added runframe to plugins
2023-11-05Plugin related log error expecting more args (#591)v1.20.0-rc2GeckoEidechse
The related line expected 3 args but only 2 args are passed. Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
2023-11-05Convar print commands (#539)v1.20.0-rc1H0L0
Adds various concommands such as - `convar_findByFlags` - `convar_list` - `convar_differences` - `convar_find` The first 3 listed above are already registered as concommands natively but didn't seem to do anything when tested. `convar_findByFlags` and `convar_find` were already implemented by Bob under the names `findflags` and `find` respectively but the names have been changed to reflect already existing convars.
2023-11-05Expose `Northstar.dll` version to squirrel (#558)Jack
Exposes the version number in the form of individual digits to script.
2023-11-03Inital native code for verified mod auto-downloading (#545)Rémy Raes
Allows client to download a mod archive from the Thunderstore API, and extract included mods in the remote mods folder of the current game profile. Not all mods can be automatically downloaded, as it would cause some security issues, and Thunderstore mod name cannot be deduced from actual mod name: to be eligible to auto-downloading, a mod must appear in the list of verified mods. Said list and complete mod verification procedure are described here: https://github.com/R2Northstar/VerifiedMods Exposes two commands to test the feature: - `fetch_verified_mods` retrieves verified mods list from the GitHub organization, and stores it locally; - `download_mod` does the actual mod downloading/extraction job.
2023-10-30Refactor `debugoverlay.cpp` (fix smart pistol lines) (#538)v1.19.11-rc7v1.19.111.19.XJack
Refactors `debugoverlay.cpp` based on primedev and fixes smart pistol lines in the process. Co-authored-by: F1F7Y <64418963+F1F7Y@users.noreply.github.com>
2023-10-23Run add-to-project on new PRs (#584)v1.19.11-rc6v1.19.11-rc5v1.19.11-rc4v1.19.11-rc3v1.19.11-rc2v1.19.11-rc1v1.19.10-rc1v1.19.10Jack
Fix the add to project workflow so that it works on PRs from forks, securely
2023-10-23Replace field preprocessors with less hacky solutions (#492)Jan
This behavior is a lot simpler and less dependent on how constants are represented during the preprocessing step.
2023-10-16Use 4th digit in version number for CI build number (#541)v1.19.9-rc3v1.19.9-rc2v1.19.9-rc1v1.19.9Jack
Sets the 4th digit of the version number to the current CI run number. This is done to more easily link a binary back to the PR or commit it came from.
2023-10-15Fix proton detection output (#534)Jan
Fixes Proton detection logic printing incorrect basename
2023-10-15Add check for r2/maps folder (#575)H0L0
Adds a fix to check if `r2/maps` folder exists before trying to iterate through it.
2023-10-15Move plugin communication handler init out of plugin manager init (#581)Jack
Plugin state requires this to be initialised even if `-noplugins` is passed, but if `-noplugins` is passed, it doesn't get initialised. Moving this to `dllmain` guarantees that it is initialised properly and prevents #580
2023-10-15Revert "Update libcurl to 8.4.0" (#574)v1.19.8-rc1v1.19.8Jan
Newer releases of libcurl break the docker container This reverts commit 99c5c86e188e090c93a9778da3402d62409ece8b.
2023-10-15Only run `add-to-project` action on issues (#577)GeckoEidechse
Only run on issues PRs from forks are triggered from that fork which means that they don't have access to the necessary token
2023-10-14Add workflow for adding PRs and Issues to the project board (#572)Jack
Automatically adds all opened issues and pull requests to the project board.
2023-10-12Update libcurl to 8.4.0 (#568)v1.19.7-rc1v1.19.7Jan
Addresses: - https://curl.se/docs/CVE-2023-38545.html - https://curl.se/docs/CVE-2023-38546.html
2023-10-11Correct submodule detection (#569)Jan
The contents of the submodules were incorrectly counted resulting in a git submodule update on every cmake invocation
2023-10-11Make link to BUILD.md relative to README.md (#571)GeckoEidechse
Make link to BUILD.md relative to README.md instead of a hardcoded link to relevant GitHub page
2023-10-11Trim trailing whitespaceGeckoEidechse