Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
Prints the version of the mod when loaded succesfully
|
|
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.
|
|
File was moved with https://github.com/R2Northstar/VerifiedMods/pull/8
|
|
- 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
|
|
The related line expected 3 args but only 2 args are passed.
Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
|
|
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.
|
|
Exposes the version number in the form of individual digits to script.
|
|
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.
|
|
Refactors `debugoverlay.cpp` based on primedev and fixes smart pistol lines in the process.
Co-authored-by: F1F7Y <64418963+F1F7Y@users.noreply.github.com>
|
|
Fix the add to project workflow so that it works on PRs from forks, securely
|
|
This behavior is a lot simpler and less dependent on how constants are represented during the preprocessing step.
|
|
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.
|
|
Fixes Proton detection logic printing incorrect basename
|
|
Adds a fix to check if `r2/maps` folder exists before trying to iterate through it.
|
|
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
|
|
Newer releases of libcurl break the docker container
This reverts commit 99c5c86e188e090c93a9778da3402d62409ece8b.
|
|
Only run on issues
PRs from forks are triggered from that fork which means that they don't have access to the necessary token
|
|
Automatically adds all opened issues and pull requests to the project board.
|
|
Addresses:
- https://curl.se/docs/CVE-2023-38545.html
- https://curl.se/docs/CVE-2023-38546.html
|
|
The contents of the submodules were incorrectly counted resulting in a git submodule update on every cmake invocation
|
|
Make link to BUILD.md relative to README.md instead of a hardcoded link to relevant GitHub page
|
|
|
|
The file had mixed indentation (spaces and tabs) when really it
should've been spaces only from the beginning
|
|
Help strings for `ns_server_name` and `ns_server_desc` were swapped.
Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
|
|
Adds a convar to toggle whether we should log from the miles log func
Most of these warnings are warnings about events being starved, in some cases slowing down the game due to the number of log calls.
|
|
Currently, when you add a new mod to your `mods/` directory, when there's no associated entry in the `enabledmods.json` file, it is considered enabled by default; mod entries are only written in `enabledmods.json` when toggling them via the mods interface.
In this pull request, I propose to create mod entries in `enabledmods.json` on startup when detecting they don't exist.
|
|
The goal of this commit is to make the crash handler code more readable and fix some issues.
- Format registers
- Format Modules
- Format stacktrace
- Format mods
- Create minidump
|
|
Fix instances of "anachronism used: modifiers on data are ignored"
|
|
Also moves `NSIsMasterServerAuthenticated` out of `scriptserverbrowser.cpp` because it didn't really fit there
This will be used for showing failed origin auth errors in the game's UI
|
|
Next to time also write date to log files.
|
|
Setting indent size in `.editorconfig` means that things like GitHub web
preview will default to showing tab indent size as 4 spaces.
|
|
Give default value as standard does not define value if uninitialised.
|
|
Adds a check to always allow local player through banlist to aid with players accidentally banning themselves.
|
|
Revert "Add a safeguard to map command (#529)"
This reverts commit cde626b041e72d749c54d0be8119fe3604bbf4f0.
|
|
Co-authored-by: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com>
|
|
Adds safeguard to the `map` command that prevents it from executing if the requested map is invalid or no map argument is given.
|
|
|
|
Export version number in `Northstar.dll`
|
|
Fix typo in offset
|
|
* feat: enforce Thunderstore format for remote mods
* refactor: remove remote mods directory from "classic" mod loading
---------
Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
|
|
Adds Linux build instructions and corresponding Docker file.
|
|
* Copy LoadNorthstar from NorthstarLauncher to wsock proxy
* add missing bits
|
|
|
|
Adds missing validation check to ensure that the package folder the plugin is included in matches the `AUTHOR-MOD-VERSION` pattern.
|
|
|
|
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
|
|
Create packages directory in `PluginManager::LoadPlugins()` to avoid crashing when trying to read non-existent directory
|
|
Fixes a regression introduced in #513
|